Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I have just installed the couchcms files as per the tutorial and all appears to be correct. I have logged in successfully and can view the admin section with the statement "No templates are being managed by the CMS "

I have then edited my index.html file and saved it as a php fiel and uploaded this to the server.

On going to that page i.e. http://www.mysite.co.uk/index.php I get the following error message...

=========================================

Warning: require_once(data/cms.php) [function.require-once]: failed to open stream: No such file or directory in /websites/mysite.co.uk/public_html/index.php on line 1

Fatal error: require_once() [function.require]: Failed opening required 'data/cms.php' (include_path='.:/usr/local/php52/share/pear:/usr/local/php52/share/php') in /websites/mysite.co.uk/public_html/index.php on line 1[/color]

=========================================

Any help would be much appreciated as my host support were unable to assist !

Cheers
Fozz52
Hi Fozz52,

From the error message being reported, it seems you are using the following as the first PHP statement in your template
Code: Select all
<?php require_once( 'data/cms.php' ); ?>

instead of the usual -
Code: Select all
<?php require_once( 'couch/cms.php' ); ?>

This change suggests that you have renamed your installation's 'couch' folder to 'data' folder.

Can you please check and confirm that you have indeed renamed the 'couch' folder to 'data'?
You admin-panel would be accessible as http://www.mysite.com/data/ id that is so.

If not, then please rename the folder and that should solve the problem.

Hope it helps.
Hey thanks that solved the problem. I'm not a programmer by any stretch of the imagination but I really should have spotted that but thanks a lot... I can now get on with finishing the site.

Cheers
Fozz 52
3 posts Page 1 of 1