Closed joshmmo closed 11 years ago
Where did you install to? You may need to go to http://localhost/jslate/users/add
Brian
On Thu, Sep 19, 2013 at 5:40 PM, joshmmo notifications@github.com wrote:
I am getting a 404 on a fresh install of jslate: Not Found
The requested URL /users/add was not found on this server.
I made sure all my directories were writable by apache and yes I ran the app/Console/cake migrate with sudo. Mod_rewrite is enabled.
I am on ubuntu 12.04. Any help is appreciated.
— Reply to this email directly or view it on GitHubhttps://github.com/rasmusbergpalm/jslate/issues/45 .
I installed it there and moved it to my root. Both gave same error
Also if I go to my root url: http://stats.example.com/ I get redirected here: http://stats.example.com/pages/home
So I know something is working. But I get the 404 error.
Edit 2: If I go to /app/index.php
I get this error: Missing Method in AppController
Error: The action index.php is not defined in controller AppController
Error: Create AppController::index.php() in file: app/Controller/AppController.php.
<?php class AppController extends AppController {
public function index.php() {
}
}
Notice: If you want to customize this error message, create app/View/Errors/missing_action.ctp Stack Trace
CORE/Cake/Routing/Dispatcher.php line 187 → Controller->invokeAction(CakeRequest)
CORE/Cake/Routing/Dispatcher.php line 162 → Dispatcher->_invoke(AppController, CakeRequest, CakeResponse)
APP/webroot/index.php line 110 → Dispatcher->dispatch(CakeRequest, CakeResponse)
APP/index.php line 19 → require(string)
If I click sign in at the top I get the 404 error.
This is a mod_rewrite problem. First make sure the .htaccess file is located in the root of jslate.
Second make sure you have "AllowOverride all" in the <Directory /var/www/> section of /etc/apache2/sites-enabled/000-default
Glad it was a simple fix. AllowOverride all did it
Thanks!
I am getting a 404 on a fresh install of jslate: Not Found
The requested URL /users/add was not found on this server.
I made sure all my directories were writable by apache and yes I ran the app/Console/cake migrate with sudo. Mod_rewrite is enabled.
I am on ubuntu 12.04. Any help is appreciated.