Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Big Problem migrating OSC to a new Host!!! HELP!!


ipodskins

Recommended Posts

basically i moved servers but i have run into a problem!! the admin folder is still linking back to my old server!! i ran install then went to admin to restore a backup and noticed that all the links linked back to admin pages in my old host please chaeck it out:

 

www.ipodskins.co.uk/admin/

 

i thought i had to edit the admin/configure.php file but ive looked at it and there is no reference to my old host (freepgs.com/ipodskins/

 

any help would be appreciated

Link to comment
Share on other sites

you have an error in your paths in your configure.php as I got this

http://ipodskins.co.uk/usr/local/psa/home/vhosts/ipodskins.co.uk//admin/file_manager.php?goto=/usr/local/psa/home/vhosts/ipodskins.co.uk//httpdocs&osCAdminID=566ad79d551369cd3adb59ba73a63f41

as you can see there is an addition of /usr/local/psa/home/vhosts

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

thanks !! i sorted that but now i got a new problem!!

the index.php page does no t show up, it just takes ages to load and then nothing happens however the admn folder is still working!!!

 

i had everything working but no modules were showing up so i ran install again to ort out the config now the catalog does not work please help!!! here are the urls of the significant folders

 

www.ipodskins.co.uk/admin/

www.ipodskins.co.uk/index.php

 

thanks guys!!!

 

kashif

Link to comment
Share on other sites

lets start by checking that your configure.php files are correct post them with the database info xxx out on the password

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://www.ipodskins.co.uk'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'www.ipodskins.co.uk');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/usr/local/psa/home/vhosts/ipodskins.co.uk/httpdocs/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'xxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxxx');

define('DB_DATABASE', 'xxxxx');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

-----------------------------------------------------------------------------------------------

 

i hopew thois is the right configure file!! ive looked through it but don really understand it

Link to comment
Share on other sites

That is the catalog/includes/configure.php it looks ok though you may want to change this

define('HTTP_COOKIE_DOMAIN', 'www.ipodskins.co.uk');

to this

define('HTTP_COOKIE_DOMAIN', 'ipodskins.co.uk');

 

can you post the admin/includes/configure.php as it is this file that deals with the modules in the admin when they dont show it is due to a path that refers to the catalog

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

the modules show up ok but none of the pages of my store come up!! all the admin area is ok!! do you still want the congig file

 

check out www.ipodskins.co.uk/index.htm and you will see what io mean. just a blank page shows up!!

 

kashif

Link to comment
Share on other sites

Warning: main(STS_START_CAPTURE): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/ipodskins.co.uk/httpdocs/includes/application_top.php on line 511

 

Fatal error: main(): Failed opening required 'STS_START_CAPTURE' (include_path='.:/usr/local/lib/php') in /usr/local/psa/home/vhosts/ipodskins.co.uk/httpdocs/includes/application_top.php on line 511

 

this is the error that is displayed

Link to comment
Share on other sites

You did not state that you were using STS

 

When you re ran the install it took out your STS defines in the configure.php

 

look back at the configure.php file that you posted you will see no reference to STS

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...