The requested URL /index.php/dashboard/ was not found on this server.

Permalink
Hi -- great looking CMS. Everything works great for me except the dashboard. When I click the dashboard link, I'm getting the following error: The requested URL /index.php/dashboard/ was not found on this server.

My installation uses a separate MySQL server (served through TCP socket). I can connect to the MySQL server with no issue using mysql client and the concrete5 user and password, and the installation goes smoothly.

The Apache logs report the following error: [client 192.168.1.128] script '/usr/local/www/data/index.php' not found or unable to stat, referer:http://domainname.com/concrete/...

It's so frustrating because everything else works perfectly. Any suggestions?

Scott

View Replies:
scuppers replied on at Permalink Reply
Also, I wanted to note that 192.168.1.128 is the IP of the MySQL server...
vercasson replied on at Permalink Reply
vercasson
See that does it, many other posts reference this?
scuppers replied on at Permalink Reply 1 Attachment
All,
I removed the last slash from the URL, but I still get that same message "The requested URL /index.php/dashboard was not found on this server."

Here's what the config file looks like:
<?php
define('DB_SERVER', '192.168.1.106');
define('DB_USERNAME', 'concrete5');
define('DB_PASSWORD', 'XXXXXXX');
define('DB_DATABASE', 'concrete5');
define('BASE_URL', 'http://domainname.com');
define('DIR_REL', '/concrete');
define('PASSWORD_SALT', 'xxxxxxxxxxxx');
?>

I've also attached phpinfo output. This is an html file.

Take care,
Scott
zit replied on at Permalink Reply
Suggestion: look at any htaccess files on the server. Is there any redirects going on via an htaccess command
?

Is there htaccess file in the concrete5 folder?
scuppers replied on at Permalink Reply
I checked around on the server - no htaccess on the server except in a separate directory (in the joomla directory).

Here are permissions on files in the directory:
# ls -l concrete
total 72
-rw-r--r-- 1 root wheel 1085 Nov 14 04:13 LICENSE.TXT
-rw-r--r-- 1 root wheel 1508 Nov 14 04:13 README
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 blocks
drwxr-xr-x 20 root wheel 512 Nov 14 04:13 concrete
drwxr-xr-x 2 www www 512 Nov 14 04:16 config
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 controllers
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 elements
drwxr-xr-x 7 www www 512 Nov 14 04:16 files
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 helpers
-rw-r--r-- 1 root wheel 43 Nov 14 04:13 index.php
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 jobs
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 libraries
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 mail
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 models
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 packages
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 single_pages
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 themes
drwxr-xr-x 2 root wheel 512 Nov 14 04:13 tools

Scott
andrew replied on at Permalink Reply
andrew
As in, is joomla installed at

public_html/

and c5 installed at

public_html/concrete/

? If that's the case you may need to create an .htaccess in /concrete/ and put

RewriteEngine off


inside it.
scuppers replied on at Permalink Reply
The joomla directory is on the same level as the c5 directory:

concrete/
index.html
joomla/
list.txt
phpinfo.php

Scott
scuppers replied on at Permalink Reply
I did go ahead and make an .htaccess with the ReWriteEngine off directive (and enabled .htaccess) in httpd.conf. No dice.

I did learn though -- it's that dashboard link itself that's building wrong for some reason. Doing properties on that link says:http://domainname.com/index.php/dashboard.... (for this install should behttp://domainname.com/concrete5/index.php/dashboard)...

So if I manually navigate to the dashboard athttp://domainname.com/concrete/dashboard... then the login screen for the dashboard loads,and I can log on as admin, no problem.

I also installed c5 on a different web server (same db server) and am having the same problem with that dashboard link. So I guess it's just the one link that's building bad? weird.
andrew replied on at Permalink Reply
andrew
So, the URL in the header bar is wrong? Yet you're still able to login and everything to the site?

Strange...

Could you do a couple of things? Could you cut/paste

1. The URL of your site exactly as it is on the home page.
2. The URL of the dashboard as linked to in the header (exactly)
3. The URL of the dashboard that actually works.

And you're saying once you're in the dashboard you can navigate around, activate themes, etc..?
scuppers replied on at Permalink Reply
Hi,
Just to clarify -- only the dashboard link that appears in the middle or so of the top block in the default home page was building the incorrect URL. Once I realized there were other ways to get to the dashboard, I just went in and fixed this one link. All other links, buttons, etc appeared to be fine. Not sure if this is a major issue if nobody else is having trouble with that link. I did notice it was building the link this way (incorrectly built main block dashboard link) on two different servers here, both running the same OS and version of MySQL and PHP, and both set up with base URLs as the same as the apache document root, and both with /concrete as the DIR_REL.

The site is athttp://www.scottspare.com/concrete... in case you want to have a look; as far as I can tell, after fixing that one URL, it's working great.

Scott
andrew replied on at Permalink Reply
andrew