Please help.
I am moving a open cart site from one host to another.
I have copied all files across and created then restored the database.
The website looks to be functioning:
http://binghisboutiquecom.ipage.com
But the admin section does not load correctly therefore I can't access it.
http://binghisboutiquecom.ipage.com/admin
Any suggestions?
Thanks
Jay
I am moving a open cart site from one host to another.
I have copied all files across and created then restored the database.
The website looks to be functioning:
http://binghisboutiquecom.ipage.com
But the admin section does not load correctly therefore I can't access it.
http://binghisboutiquecom.ipage.com/admin
Any suggestions?
Thanks
Jay
... binghisboutiquecom.ipage.com/adminindex.php?route= ...
should be:
... binghisboutiquecom.ipage.com/admin/index.php?route= ...
meaning, that you forgot to add a / (slash) at the end of a config.php path line, probably.
therefore, you have no active stylesheet either...
Ernie
instead of:
it should be:
should be:
... binghisboutiquecom.ipage.com/admin/index.php?route= ...
meaning, that you forgot to add a / (slash) at the end of a config.php path line, probably.
therefore, you have no active stylesheet either...
Ernie
instead of:
Code: Select all
<base href="http://binghisboutiquecom.ipage.com/admin" />
Code: Select all
<base href="http://binghisboutiquecom.ipage.com/admin/" />
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
To get anywhere, unveil your secrets and tell some FACTS,
like show your BOTH config.php's, or it's of little use...
(without MySQL Access info !!)
Ernie
like show your BOTH config.php's, or it's of little use...
(without MySQL Access info !!)
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Config.php
----------
<?php
// HTTP
define('HTTP_SERVER', 'http://binghisboutiquecom.ipage.com/');
define('HTTP_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
define('HTTP_ADMIN', 'http://binghisboutiquecom.ipage.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://binghisboutiquecom.ipage.com/');
define('HTTPS_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// DIR
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/');
define('DIR_SYSTEM', '/home/users/web/b1522/ipg.binghisboutiquecom/system/');
define('DIR_DATABASE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/database/');
define('DIR_LANGUAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/language/');
define('DIR_TEMPLATE', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/view/theme/');
define('DIR_CONFIG', '/home/users/web/b1522/ipg.binghisboutiquecom/system/config/');
define('DIR_IMAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/image/');
define('DIR_CACHE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/cache/');
define('DIR_DOWNLOAD', '/home/users/web/b1522/ipg.binghisboutiquecom/download/');
define('DIR_LOGS', '/home/users/web/b1522/ipg.binghisboutiquecom/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'binghisboutiquecom.ipagemysql.com');
define('DB_USERNAME', 'binghisb');
define('DB_PASSWORD', '********');
define('DB_DATABASE', 'binghisb_opencart');
define('DB_PREFIX', '');
?>
----------
<?php
// HTTP
define('HTTP_SERVER', 'http://binghisboutiquecom.ipage.com/');
define('HTTP_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
define('HTTP_ADMIN', 'http://binghisboutiquecom.ipage.com/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://binghisboutiquecom.ipage.com/');
define('HTTPS_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// DIR
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/');
define('DIR_SYSTEM', '/home/users/web/b1522/ipg.binghisboutiquecom/system/');
define('DIR_DATABASE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/database/');
define('DIR_LANGUAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/language/');
define('DIR_TEMPLATE', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/view/theme/');
define('DIR_CONFIG', '/home/users/web/b1522/ipg.binghisboutiquecom/system/config/');
define('DIR_IMAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/image/');
define('DIR_CACHE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/cache/');
define('DIR_DOWNLOAD', '/home/users/web/b1522/ipg.binghisboutiquecom/download/');
define('DIR_LOGS', '/home/users/web/b1522/ipg.binghisboutiquecom/system/logs/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'binghisboutiquecom.ipagemysql.com');
define('DB_USERNAME', 'binghisb');
define('DB_PASSWORD', '********');
define('DB_DATABASE', 'binghisb_opencart');
define('DB_PREFIX', '');
?>
Last edited by jay2kayuk on Fri Jul 10, 2015 3:48 pm, edited 1 time in total.
Admin/Config.php
-----------------------
<?php
// HTTP
define('HTTP_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTP_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTP_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// HTTPS
define('HTTPS_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTPS_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTPS_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// DIR
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/');
define('DIR_SYSTEM', '/home/users/web/b1522/ipg.binghisboutiquecom/system/');
define('DIR_DATABASE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/database/');
define('DIR_LANGUAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/language/');
define('DIR_TEMPLATE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/view/template/');
define('DIR_CONFIG', '/home/users/web/b1522/ipg.binghisboutiquecom/system/config/');
define('DIR_IMAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/image/');
define('DIR_CACHE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/cache/');
define('DIR_DOWNLOAD', '/home/users/web/b1522/ipg.binghisboutiquecom/download/');
define('DIR_LOGS', '/home/users/web/b1522/ipg.binghisboutiquecom/system/logs/');
define('DIR_CATALOG', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'binghisboutiquecom.ipagemysql.com');
define('DB_USERNAME', 'binghisb');
define('DB_PASSWORD', '********');
define('DB_DATABASE', 'binghisb_opencart');
define('DB_PREFIX', '');
?>
-----------------------
<?php
// HTTP
define('HTTP_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTP_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTP_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// HTTPS
define('HTTPS_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTPS_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTPS_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// DIR
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/');
define('DIR_SYSTEM', '/home/users/web/b1522/ipg.binghisboutiquecom/system/');
define('DIR_DATABASE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/database/');
define('DIR_LANGUAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/language/');
define('DIR_TEMPLATE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/view/template/');
define('DIR_CONFIG', '/home/users/web/b1522/ipg.binghisboutiquecom/system/config/');
define('DIR_IMAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/image/');
define('DIR_CACHE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/cache/');
define('DIR_DOWNLOAD', '/home/users/web/b1522/ipg.binghisboutiquecom/download/');
define('DIR_LOGS', '/home/users/web/b1522/ipg.binghisboutiquecom/system/logs/');
define('DIR_CATALOG', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'binghisboutiquecom.ipagemysql.com');
define('DB_USERNAME', 'binghisb');
define('DB_PASSWORD', '********');
define('DB_DATABASE', 'binghisb_opencart');
define('DB_PREFIX', '');
?>
In the config.php
should be changed to
Evil copy&paste? 
But this should not produce such an effect.
May I see how your .htaccess file looks like?
Code: Select all
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/');
Code: Select all
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');

But this should not produce such an effect.
May I see how your .htaccess file looks like?
Sorry wrong file...
# Begin default subdomain redirect #
RewriteEngine on
RewriteCond %{HTTP_HOST} ^binghisboutique.com
RewriteRule ^(.*)$ http://www.binghisboutique.com/$1 [R=permanent,L]
# End default subdomain redirect #
# Begin default subdomain redirect #
RewriteEngine on
RewriteCond %{HTTP_HOST} ^binghisboutique.com
RewriteRule ^(.*)$ http://www.binghisboutique.com/$1 [R=permanent,L]
# End default subdomain redirect #
you should comment out that code like this:
Because it is for your regular domain, not your test subdomain.
Code: Select all
# Begin default subdomain redirect #
#RewriteEngine on
#RewriteCond %{HTTP_HOST} ^binghisboutique.com
#RewriteRule ^(.*)$ http://www.binghisboutique.com/$1 [R=permanent,L]
When I try to open
http://binghisboutiquecom.ipage.com/
i get
http://binghisboutiquecom.ipage.com/
i get
Code: Select all
This webpage has a redirect loop
Now i'm back to square one...admin page is blank
admin/config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTP_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTP_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// HTTPS
define('HTTPS_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTPS_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTPS_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// DIR
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
define('DIR_SYSTEM', '/home/users/web/b1522/ipg.binghisboutiquecom/system/');
define('DIR_DATABASE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/database/');
define('DIR_LANGUAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/language/');
define('DIR_TEMPLATE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/view/template/');
define('DIR_CONFIG', '/home/users/web/b1522/ipg.binghisboutiquecom/system/config/');
define('DIR_IMAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/image/');
define('DIR_CACHE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/cache/');
define('DIR_DOWNLOAD', '/home/users/web/b1522/ipg.binghisboutiquecom/download/');
define('DIR_LOGS', '/home/users/web/b1522/ipg.binghisboutiquecom/system/logs/');
define('DIR_CATALOG', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'binghisboutiquecom.ipagemysql.com');
define('DB_USERNAME', '*******');
define('DB_PASSWORD', '*******');
define('DB_DATABASE', 'binghisb_opencart');
define('DB_PREFIX', '');
?>
admin/config.php
<?php
// HTTP
define('HTTP_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTP_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTP_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// HTTPS
define('HTTPS_SERVER', 'http://binghisboutiquecom.ipage.com/admin/');
define('HTTPS_CATALOG', 'http://binghisboutiquecom.ipage.com/');
define('HTTPS_IMAGE', 'http://binghisboutiquecom.ipage.com/image/');
// DIR
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
define('DIR_SYSTEM', '/home/users/web/b1522/ipg.binghisboutiquecom/system/');
define('DIR_DATABASE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/database/');
define('DIR_LANGUAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/language/');
define('DIR_TEMPLATE', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/view/template/');
define('DIR_CONFIG', '/home/users/web/b1522/ipg.binghisboutiquecom/system/config/');
define('DIR_IMAGE', '/home/users/web/b1522/ipg.binghisboutiquecom/image/');
define('DIR_CACHE', '/home/users/web/b1522/ipg.binghisboutiquecom/system/cache/');
define('DIR_DOWNLOAD', '/home/users/web/b1522/ipg.binghisboutiquecom/download/');
define('DIR_LOGS', '/home/users/web/b1522/ipg.binghisboutiquecom/system/logs/');
define('DIR_CATALOG', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'binghisboutiquecom.ipagemysql.com');
define('DB_USERNAME', '*******');
define('DB_PASSWORD', '*******');
define('DB_DATABASE', 'binghisb_opencart');
define('DB_PREFIX', '');
?>
Now there is the following wrong code in admin/config.php
although earlier there was the correct one.
It should be:
Code: Select all
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/catalog/');
It should be:
Code: Select all
define('DIR_APPLICATION', '/home/users/web/b1522/ipg.binghisboutiquecom/admin/');
Who is online
Users browsing this forum: No registered users and 9 guests