No input file specified5 users found helpful
This is my first and possibly my last post here.
Over the past few months I've been looking for a suitable CMS for my website and business needs and had chosen C5.
After starting to compile an index.php page as a starting point to rewriting my static website, and using the example data, replacing it as I went, once I'd set pretty URLs, I couldn't get the links to work. I've tried everything I've read here about putting the php.ini file in the root directory of my site, extra lines in the .HTACCESS file etc, but nothing has worked.
My hosting provider is Heart Internet and I've raised support tickets with them regarding the issue, but they've drawn a blank and referred my back to yourselves.
I've just renewed my annual fee with Heart too, so I'm not considering moving host just now.
Concrete5 looks to be a great CMS that I could have worked with and easily taught clients to use; it's a pity I it won't work with my UK hosting provider.
I wish all the C5 community well.
this is not an issue with Concrete5, more an issue with the way mod_rewrite works with a certain combination of Windows and apache in cgi mode (as I understand it). My first advice to everyone in this situation, is always to use Linux for hosting your websites, then you simply wont get the issue. However, I also understand that some people are reluctant to do this and for various reasons are either stuck with, or just simply prefer to host on Windows.
If you're willing to let me have a look at your setup, I should be able to get this working for you. Send me a private message if you would like me to have a look.
Thanks for such a prompt reply! Considering the time difference, I didn't expect a reply this early!
My hosting is a Linux one, and as far as I'm aware, has all the necessary requirements (checked OK with the installation). I'd deleted the C5 installation having had the problems but I can re-install it (aside my static site for the interim) if you're willing to take a look at the problem.
I'll send you my hosting and log-in details via a private message once I've reinstalled C5.
Thanks for your support!
Anyways, fixed the problem.
In your case it was fixed by the following 2 changes:
change: RewriteRule ^(.*)$ index.php/$1 [L]
to: RewriteRule .* index.php [L]
add: define('SERVER_PATH_VARIABLE', 'REQUEST_URI');
Hope you can get back to using C5 properly now :)
I just presumed you was in the US - before reading your profile :)
All the links now work fine - thanks! However, when I log-in, the toolbar is missing. I've logged out and back in again but it's still not showing.
Thanks again for your excellent and speedy support!
Anyways - the fix...
removed: define('SERVER_PATH_VARIABLE', 'REQUEST_URI');
changed: RewriteRule .* index.php [L}
to: RewriteRule ^(.*)$ index.php?pathinfo=$1 [L]
Not nice, but works!
I'm also going to refer this thread to another developer I know who works with Heart Internet and check he agrees with this fix. Do test and let me know if you get any other issues...
All seems to be working now - thanks!
I'll make a note of the file changes and download a copies for future installations.
Thanks again for all your support. I know nothing of PHP and server side stuff, so if it wasn't for your support, Concrete5 wouldn't have been an option for me - at least whilst I'm with Heart Internet.
But my fix for the public site was adding in site.php
Which wasn't there before.
But now the dashboard sitemap doesn't know where the contact page is??
I'll look at updating concrete next I Believe.
I had recently updated the other CMS and the new version created this conflict. aaaarg.
2nd: check this bug / bugfix:http://www.concrete5.org/developers/bugs/5-4-1-1/path_info-problem/...
solved our problems.
doc_root = /home/sites/example.com/public_html/
Note: I'm also currently with Heart Internet (pathinfo is set on by default)
Also tried adding your changes to request.php in that link. Unfortunately it doesn't seem to have had any effect when loading C5 in a subfolder. - I still have to delete the "SCRIPT_NAME" option to get a page to load that way.
Jon's solution is a hack but at least it parses the URL! It gets the dashboard mostly displaying but..
dashboard/sitemap/full/ seems to return a server error. Also passing variables a second time round (cID's etc) seems to not be parsed => 404.
Any ideas on how to fix request.php? - I've discussed the issue a more here:http://www.concrete5.org/community/forums/installation/heart-intern...
We worked with this hack less than a year.
No the bugfixed "request.php" does the job on all of our servers / webhosters we are working with.
can you send me an demo account / login on an "heartinternet" webspace account? then I would love to check what's going wrong.
If you still want a demo account at Heart Internet setting up I will do one for you.