Page 1 of 1

Error after moving from local to server

Posted: Mon Aug 04, 2014 1:55 pm
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

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 2:01 pm
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

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 2:03 pm
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!

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 2:14 pm
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.

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 2:18 pm
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.

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 2:25 pm
by Jo Morg
We need more info: (click the "Before Asking For Help!" on my sig...)

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 3:01 pm
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

Re: Error after moving from local to server

Posted: Mon Aug 04, 2014 6:36 pm
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...

Re: Error after moving from local to server

Posted: Tue Aug 05, 2014 6:00 am
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.

Re: Error after moving from local to server

Posted: Tue Aug 05, 2014 9:36 am
by Jos
Here's the Howto.. http://docs.cmsmadesimple.org/moving

and yes... step 1 is clear cache, which deletes files in tmp :-*

Re: Error after moving from local to server

Posted: Thu Aug 07, 2014 4:45 am
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.