I cannot get the website to work, see error log

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
talentip
New Member
New Member
Posts: 2
Joined: Tue Nov 25, 2014 11:59 am

I cannot get the website to work, see error log

Post 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..
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

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

Post by psy »

If httpdocs is your web host root, remove it from .htaccess, ie

Code: Select all

RewriteBase /
talentip
New Member
New Member
Posts: 2
Joined: Tue Nov 25, 2014 11:59 am

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

Post 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
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

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

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

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

Post 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.
Post Reply

Return to “The Lounge”