我有一個php代碼,我使用sql連接並創建了一些結果。但我不使用任何與交響樂相關的代碼。我應該在哪裏部署這些孩子的數據。目前它給了我以下錯誤。但是,當我運行在我的本地WAMP服務器相同的代碼,它工作正常。如何在symfony中使用「正常PHP」
404 | Not Found | sfError404Exception
Empty module and/or action after parsing the URL "/race/getitemnames.php?eventid=1" (/).
stack trace
at()
in SF_ROOT_DIR/lib/vendor/symfony/lib/controller/sfFrontWebController.class.php line 44 ...
if (empty($moduleName) || empty($actionName))
{
throw new sfError404Exception(sprintf('Empty module and/or action after parsing the URL "%s" (%s/%s).', $request->getPathInfo(), $moduleName, $actionName));
}
// make the first request
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/lib/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/web/index.php line 7 ...
我在哪裏可以找到它?我對交響樂一無所知。我只需要將我的代碼添加到同一臺服務器。 – dinesh707
@dinesh嘗試在symfony web目錄中找到一個'.htaccess'文件。 – xdazz