Post by TheICF » Sat Jul 12, 2014 7:10 pm

Hi

I have changed my server and wanted to move over store ( same domain).

I installed on new server Opencart , then moved over all folders under html_public from old server.

i then modified config.php and admin/config.php with correct folder and modified the DB names below.

i can get it to work ,

when i access the site now i get this message :


Warning: require_once(/home/seanjsc/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/seanjsc/public_html/index.php on line 19

Fatal error: require_once() [function.require]: Failed opening required '/home/seanjsc/public_html/system/startup.php' (include_path='.:/usr/local/lib/php') in /home/seanjsc/public_html/index.php on line 19

i quite sure all files are in that exact folder :

server name is seanjsc and public_html is under with all folders , i guess "home" should be there by default.

can get the ADMIN panel to work either :

Warning: require_once(/home/seanjsc/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/seanjsc/public_html/admin/index.php on line 17

Fatal error: require_once() [function.require]: Failed opening required '/home/seanjsc/public_html/system/startup.php' (include_path='.:/usr/local/lib/php') in /home/seanjsc/public_html/admin/index.php on line 17


i have got all backup of old site plus i have run a backup of DB from old store.

I have not access to old server anymore.

Will be happy if someone can help me :)

Thanks in advance

Sean

Newbie

Posts

Joined
Sat Jul 12, 2014 7:01 pm

Post by melbagnato » Mon Jul 14, 2014 2:38 pm

Hi sean,

I'd be happy to help. If your settings are correct, and the files are there, it sounds like it might be permissions related.

PM me some details and I'll get it working for you.

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by cwswebdesign » Mon Jul 14, 2014 10:02 pm

Double check both config files in the DIR section very close. You're probably missing a ' or / somewhere.

DL

This account is inactive. Look for us under the name 'EvolveWebHosting' and contact us under that username.

Thanks!


User avatar
Active Member

Posts

Joined
Sun Dec 11, 2011 12:26 am
Location - USA

Post by TheICF » Thu Jul 17, 2014 3:50 am

got throught that , seemed the "SYSTEM" folder was copied under a different name.

now i have 2 other issues :

1. when trying to enter ADMIN console i get a :

ERROR 404 - PAGE NOT FOUND
Why am I seeing this page?
How to find the correct spelling and folder
404 Errors After Clicking WordPress Links
How to modify your .htaccess file

2. the store does come up , but only default store , nothing from old store.

Thanks alot
Sean

Newbie

Posts

Joined
Sat Jul 12, 2014 7:01 pm

Post by melbagnato » Mon Jul 21, 2014 7:58 pm

Hi Sean,

it's all fixed. Can you test it out and let me know how it goes.

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by leonardbd » Fri Oct 17, 2014 5:24 pm

Hi,

I'm having almost the same issue while I'm moving my local opencart (hosted on a PC with xampp) to the public web space.

I have changed all necessary parameters in /public_html/config.php and /public_html/admin/config.php after hosting it in real domain.

But when I load the site http://rccraze.site11.com I'm getting the following errors..

===============Error=============

PHP Error Message

Warning: require_once(/public_html/system/startup.php) [function.require-once]: failed to open stream: No such file or directory in /home/a8105941/public_html/index.php on line 17

Free Web Hosting

PHP Error Message

Fatal error: require_once() [function.require]: Failed opening required '/public_html/system/startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a8105941/public_html/index.php on line 17

Free Web Hosting


Here is the content of /public_html/config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://rccraze.site11.com/');

// HTTPS
define('HTTPS_SERVER', 'http://rccraze.site11.com/');

// DIR
define('DIR_APPLICATION', '/public_html/catalog/');
define('DIR_SYSTEM', '/public_html/system/');
define('DIR_DATABASE', '/public_html/system/database/');
define('DIR_LANGUAGE', '/public_html/catalog/language/');
define('DIR_TEMPLATE', '/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/public_html/system/config/');
define('DIR_IMAGE', '/public_html/image/');
define('DIR_CACHE', '/public_html/system/cache/');
define('DIR_DOWNLOAD', '/public_html/download/');
define('DIR_LOGS', '/public_html/system/logs/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'mysql13.000webhost.com');
define('DB_USERNAME', 'a8105941_rccraze');
define('DB_PASSWORD', 'mypassword');
define('DB_DATABASE', 'a8105941_rccraze');
define('DB_PREFIX', 'oc_');
?>


/public_html/admin/config.php

<?php
// HTTP
define('HTTP_SERVER', 'http://rccraze.site11.com/admin/');
define('HTTP_CATALOG', 'http://rccraze.site11.com/');

// HTTPS
define('HTTPS_SERVER', 'http://rccraze.site11.com/admin/');
define('HTTPS_CATALOG', 'http://rccraze.site11.com/');

// DIR
define('DIR_APPLICATION', '/public_html/admin/');
define('DIR_SYSTEM', '/public_html/system/');
define('DIR_DATABASE', '/public_html/system/database/');
define('DIR_LANGUAGE', '/public_html/admin/language/');
define('DIR_TEMPLATE', '/public_html/admin/view/template/');
define('DIR_CONFIG', '/public_html/system/config/');
define('DIR_IMAGE', '/public_html/image/');
define('DIR_CACHE', '/public_html/system/cache/');
define('DIR_DOWNLOAD', '/public_html/download/');
define('DIR_LOGS', '/public_html/system/logs/');
define('DIR_CATALOG', '/public_html/catalog/');

// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'mysql13.000webhost.com');
define('DB_USERNAME', 'a8105941_rccraze');
define('DB_PASSWORD', 'mypassword');
define('DB_DATABASE', 'a8105941_rccraze');
define('DB_PREFIX', 'oc_');
?>


Please let me know if u need more info to resolve this issue. Having hard time to publish the site.

Thanks
Regads
Leo

Newbie

Posts

Joined
Fri Oct 17, 2014 4:41 pm

Post by swiftws » Thu Dec 18, 2014 6:42 am

exactly the same issue as above . Could you please share how to solve as we are moving about 7 open carts to new hosting provider.

Warning: require_once(.vqmod/vqmod.php): failed to open stream: No such file or directory in /home/*****/public_html/index.php on line 19

Fatal error: require_once(): Failed opening required '.vqmod/vqmod.php' (include_path='.:/usr/local/lib/php') in /home/****/public_html/index.php on line 19

DOES ANY ONE ON THIS OFFICIAL FORUM CAN HELP PLEASEEEEEEEE?

New member

Posts

Joined
Mon Dec 23, 2013 11:00 pm

Post by melbagnato » Sat Jan 10, 2015 5:34 pm

Hi, I am back onliine for 2015. If you need any help with this, send me a PM.

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne

Post by victorj » Sat Jan 10, 2015 6:37 pm

Proper path should look like this:
/home/a8105941/public_html/catalog

Change all absolute path entrys and just put /home/a8105941 in front of them.

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by r2red » Wed Apr 01, 2015 8:22 pm

Head scratching with the same sort of problem.
I had to move to a new host. I have used exactly the same database name, username and passwords so that I could keep problems to a minimum. I cannot log into the admin system, I have errors on thetop of the page. The errors seem to be to do with the caches, but I dont know how to fix the errors. I cannot log into the admin system either.

Here are the errors once I add something to the shopping basket
Warning: unlink(/var/www/vhosts/selectuniform.co.uk/httpdocs/system/cache/cache.country.status.1427717681): Permission denied in /var/www/vhosts/selectuniform.co.uk/httpdocs/system/library/cache.php on line 18Warning: unlink(/var/www/vhosts/selectuniform.co.uk/httpdocs/system/cache/cache.language.1427838838): Permission denied in /var/www/vhosts/selectuniform.co.uk/httpdocs/system/library/cache.php on line 18Warning: unlink(/var/www/vhosts/selectuniform.co.uk/httpdocs/system/cache/cache.currency.1427838838): Permission denied in /var/www/vhosts/selectuniform.co.uk/httpdocs/system/library/cache.php on line 18

Newbie

Posts

Joined
Mon Jun 03, 2013 9:33 pm

Post by Khal » Mon Mar 07, 2016 5:16 pm

Hi r2red

Did you manage to solve the cache errors you were getting? I have just changed server and I am getting similar errors, although I can log into my admin.

I would appreciate any help you can offer. Thanks!

OC 2.0.1.1


Active Member

Posts

Joined
Thu May 24, 2012 9:24 pm
Location - Teesside, UK

Post by jesicanol » Sun Mar 20, 2016 9:53 pm

I entered the forum to ask for help with a problem I can not solve alone. I have a website of friv games that I would like to transfer from name.com to godaddy. You can tell someone all steps to follow? Thanks! My page is friv

Forum.Opencart


Newbie

Posts

Joined
Sun Mar 20, 2016 9:39 pm
Location - Madrid

Post by yowchuan » Tue Jul 25, 2017 6:36 pm

Please double-check your .htaccess file. It's likely your .htaccess file was overwritten or not replaced when you migrated from your previous hosting environment.

New member

Posts

Joined
Wed Feb 06, 2013 2:39 am
Who is online

Users browsing this forum: Google [Bot] and 32 guests