Error after moving from local to server

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
singhabhishek251
Forum Members
Forum Members
Posts: 38
Joined: Wed May 22, 2013 8:11 am

Error after moving from local to server

Post by singhabhishek251 »

I am getting below error after moving the website from local to server, please check. I have never come across any error like this in past and upload to server was smooth, but this time I am stuck.

Code: Select all

Warning: include_once(/hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodbSQL_drivers/dbatech/dbatech_driver.inc) [function.include-once]: failed to open stream: No such file or directory in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodb.inc.php on line 53

Warning: include_once() [function.include]: Failed opening '/hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodbSQL_drivers/dbatech/dbatech_driver.inc' for inclusion (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodb.inc.php on line 53

Warning: include_once(/hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodbSQL_drivers/dbatech/dbatech_date_module.inc) [function.include-once]: failed to open stream: No such file or directory in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodb.inc.php on line 67

Warning: include_once() [function.include]: Failed opening '/hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodbSQL_drivers/dbatech/dbatech_date_module.inc' for inclusion (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodb.inc.php on line 67

Warning: include_once(/hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodbSQL_drivers/dbatech/dbatech_extend_module.inc) [function.include-once]: failed to open stream: No such file or directory in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodb.inc.php on line 67

Warning: include_once() [function.include]: Failed opening '/hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodbSQL_drivers/dbatech/dbatech_extend_module.inc' for inclusion (include_path='.:/usr/local/lib/php-5.2.17/lib/php') in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/adodb.inc.php on line 67

Fatal error: Class 'dbatech_extend_ADOConnection' not found in /hermes/bosoraweb110/b724/ipg.servername/dbatech/lib/adodb_lite/generic_modules/pear_module.inc(5) : eval()'d code on line 1
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Error after moving from local to server

Post by Jo Morg »

Two possibilities occur to me:
a) you uploaded via FTP and it didn't go well (try again in binary mode and do a checksum);
b) you have paths hard-coded on your config.php and you didn't edit them to reflect the new server configuration;

In any case: clear cache before and after moving a site...

HTH
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
pete290
Forum Members
Forum Members
Posts: 54
Joined: Sat Aug 22, 2009 5:55 pm

Re: Error after moving from local to server

Post by pete290 »

The include_once statement includes and evaluates the specified file during the execution of the script.With PHP 4, _once functionality differs with case-insensitive operating systems,This behaviour changed in PHP 5. So maybe check your PHP version!
singhabhishek251
Forum Members
Forum Members
Posts: 38
Joined: Wed May 22, 2013 8:11 am

Re: Error after moving from local to server

Post by singhabhishek251 »

pete290 wrote:The include_once statement includes and evaluates the specified file during the execution of the script.With PHP 4, _once functionality differs with case-insensitive operating systems,This behaviour changed in PHP 5. So maybe check your PHP version!
Both are PHP 5.
singhabhishek251
Forum Members
Forum Members
Posts: 38
Joined: Wed May 22, 2013 8:11 am

Re: Error after moving from local to server

Post by singhabhishek251 »

Jo Morg wrote:Two possibilities occur to me:
a) you uploaded via FTP and it didn't go well (try again in binary mode and do a checksum);
b) you have paths hard-coded on your config.php and you didn't edit them to reflect the new server configuration;

In any case: clear cache before and after moving a site...

HTH
I have cleared cache as well and updates the confiq file, but still unable to locate where I am missing.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1973
Joined: Mon Jan 29, 2007 4:47 pm

Re: Error after moving from local to server

Post by Jo Morg »

We need more info: (click the "Before Asking For Help!" on my sig...)
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
singhabhishek251
Forum Members
Forum Members
Posts: 38
Joined: Wed May 22, 2013 8:11 am

Re: Error after moving from local to server

Post by singhabhishek251 »

I think this is server problem because fresh install is also not working on the server. Still I am exploring and will come with detail if found exact reason.
These are my server detail, is it not compatible for latest 1.10.11 cmsms. What may be the issue?
MySQL version is 5.5.32
PHP version 5.3.13
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Error after moving from local to server

Post by velden »

dbatech driver?

Are you sure you didn't change the

Code: Select all

$config['dbms'] = 'mysqli';
line in config.php?

'dbatech' is not a valid dbms for CMS Made Simple. I would be supprised if it's the database (user)name you typed in the wrong place during install...
singhabhishek251
Forum Members
Forum Members
Posts: 38
Joined: Wed May 22, 2013 8:11 am

Re: Error after moving from local to server

Post by singhabhishek251 »

Yes, yesterday I changed it by mistake but again restored the correct one and still the errors where not going.

Today I made a fresh install in different server and exported everything there the error where still showing, but I think that was because of files in tmp folder that where calling still from local, once I deleted all files from tmp folder it started working fine.

Thanks for all your support. and for others I will like to tell that clear everything from tmp folder when you export from local to server to avoid such situation.

Thanks again.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm

Re: Error after moving from local to server

Post by Jos »

Here's the Howto.. http://docs.cmsmadesimple.org/moving

and yes... step 1 is clear cache, which deletes files in tmp :-*
singhabhishek251
Forum Members
Forum Members
Posts: 38
Joined: Wed May 22, 2013 8:11 am

Re: Error after moving from local to server

Post by singhabhishek251 »

Thanks for all your support, I think everything is clear now. I was concern mainly because earlier I have never faced issue while moving, so this time I was worried that what went wrong.
Locked

Return to “[locked] Installation, Setup and Upgrade”