Page 1 of 1

I cannot get the website to work, see error log

Posted: Tue Nov 25, 2014 12:08 pm
by talentip
I hope somebody can help me with this, there was a change to the htaccess file and now I get the following error:

[Tue Nov 25 12:35:12 2014] [error] [client XX] PHP Warning: include_once() [<a href='function.include-once'>function.include-once</a>]: Unable to access /var/www/vhosts/xx.nl/httpdocs/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_pear_module.inc in /var/www/vhosts/xx.nl/httpdocs/lib/adodb_lite/adodb.inc.php on line 68

[Tue Nov 25 12:35:12 2014] [error] [client xx] PHP Warning: include_once(/var/www/vhosts/xx.nl/httpdocs/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_pear_module.inc) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/xx.nl/httpdocs/lib/adodb_lite/adodb.inc.php on line 68

[Tue Nov 25 12:35:12 2014] [error] [client xx] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/var/www/vhosts/xx.nl/httpdocs/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_pear_module.inc' for inclusion (include_path='.:') in /var/www/vhosts/xx.nl/httpdocs/lib/adodb_lite/adodb.inc.php on line 68
[Tue Nov 25 12:35:12 2014] [error] [client xx] PHP Fatal error: Class 'mysql_pear_ADOConnection' not found in /var/www/vhosts/xx/httpdocs/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_date_module.inc(11) : eval()'d code on line 1

Extra info:
1. I don't see mysql_pear_module.inc in my ftp
2. the .htaccess is taken from doc, with only this change:
RewriteBase /httpdocs

You probably need more info, but I hope it's a start..

Re: I cannot get the website to work, see error log

Posted: Wed Nov 26, 2014 8:48 am
by psy
If httpdocs is your web host root, remove it from .htaccess, ie

Code: Select all

RewriteBase /

Re: I cannot get the website to work, see error log

Posted: Wed Nov 26, 2014 9:16 am
by talentip
hi psy, thank you for your answer.

I did try that as well as:

/var/www/vhosts/xx.nl/httpdocs

But that doesn't do the trick. All the folders/files of cmsms are in the httpdocs, so I think it should be /httpdocs

Re: I cannot get the website to work, see error log

Posted: Wed Nov 26, 2014 9:38 am
by psy
No, it should not be RewriteBase /httpdocs
It should be RewriteBase /
where / assumes the path FROM the root path assigned by the web host and configured in your config.php file.

Check the root path in your config.php file is correct.

Did you install CMSMS as a new version in this directory?

More info needed.

Re: I cannot get the website to work, see error log

Posted: Wed Nov 26, 2014 9:38 am
by velden
First of all; I don't think .htaccess is to blame here. If you doubt about that: rename it and see if you can make it to your homepage and admin.

Then RewriteBase /httpdocs doesn't seem right to me. I go with psy and would suggest RewriteBase /

What version of cmsms are we talking about?
What version of php
Could you post the contents of your config.php. Of course after changing the sensitive information.