Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Server Move problem


Guest

Recommended Posts

I have moved a site to a new server and am getting an error

 

Error!

 

Unable to determine the page link!

 

I have set the configure.php file according to the hosts filesystem directory but my cart now seems to not know how to display the layout and graphics. Please help.

 

the site is http://www.piecesofargentina.com/shopping/...php?language=en

any direction and help would be greatly appreciated.

 

I do have another site that I relocated to the same server that is functioning fine the only difference is that this site has the shopping cart inside a folder "shopping" where as the other is in the main directory.

 

Thanks. :angry:

Link to comment
Share on other sites

Set 'Use Search Engine Friendly URL's' to false.

 

Vger

 

I'll try that as soon as I get my admin panel working, Ugggh :angry:

Thanks

Link to comment
Share on other sites

You have your images linked to https not to http, and you don't have a full ssl cert.

 

In both of your configure.php files make sure that enable_ssl is set to false, and that you leave blank any entries for:

https_server

https_cookie_domain

https_catalog

 

Vger

Link to comment
Share on other sites

You have your images linked to https not to http, and you don't have a full ssl cert.

 

In both of your configure.php files make sure that enable_ssl is set to false, and that you leave blank any entries for:

https_server

https_cookie_domain

https_catalog

 

Vger

 

Of i'm not too bright, how do I change where my images are linked to. I am having a ssl installed by the host.

Thanks again :blush:

Link to comment
Share on other sites

There are two configure.php files. One is in includes/ and the other is in admin/includes/

 

But if your host is installing a full SSL certificate for you then it's probably best to wait until they've done that. There may not then be a need to edit the configure.php files.

 

Vger

Link to comment
Share on other sites

There are two configure.php files. One is in includes/ and the other is in admin/includes/

 

But if your host is installing a full SSL certificate for you then it's probably best to wait until they've done that. There may not then be a need to edit the configure.php files.

 

Vger

 

OK I finally got the SSL issue resolved and some of my images are showing up but not all and the right hand column is not appearing and I am still getting the error message. I have tried to log into the admin panel and it appears that the id and password don't work.

 

Could the file path be wrong? I am using the same path system that I used on my other cart hosted on the same server (of course modified for this particular case) the only difference is that this shopping cart is placed inside a "shopping folder" .

 

Any advice would be greatly appreciated. <_<

 

Thanks

Shelby

Link to comment
Share on other sites

you need to make sure the paths match what you now have, ie your 'shopping folder'

 

I am so frustrated! I have contacted the tech support with the server that I have moved to, to see if they could help me make sure I have the right File server path because the shopping car is inside a folder called "shopping" but I am not sure where in the path the shopping part shoud be. I tried putting it at the end and it doesn't seem to help.

 

I can't login to the admin panel to set 'Use Search Engine Friendly URL's' to false. and as I surf a few pages into the cart I get an ftp error.

 

 

Is it possible to pull the shopping cart out of the folder? or will that screw it up worse.

HELP!

:sweating:

Link to comment
Share on other sites

I can't login to the admin panel to set 'Use Search Engine Friendly URL's' to false. and as I surf a few pages into the cart I get an ftp error.

 

Is it possible to pull the shopping cart out of the folder? or will that screw it up worse.

HELP!

:sweating:

 

If you copied all the files from one server to another and you had .htaccess protection set for admin on the old server you'll need to go into admin with your ftp program and delete the .htaccess file.

 

Then reset protection via your new server's control panel.

 

Post the shopping/includes/configure.php file without the database user name and password. The mistakes are trivial.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

If you copied all the files from one server to another and you had .htaccess protection set for admin on the old server you'll need to go into admin with your ftp program and delete the .htaccess file.

 

Then reset protection via your new server's control panel.

 

Post the shopping/includes/configure.php file without the database user name and password. The mistakes are trivial.

 

Ok thanks so much! I deleted the htaccess file but when I go to the admin and try to configure I get page not found.

 

Here is the config file you asked about

 

define('HTTP_SERVER', 'https://www.piecesofargentina.com'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'www.piecesofargentina.com');

define('HTTPS_COOKIE_DOMAIN', 'www.piecesofargentina.com');

define('HTTP_COOKIE_PATH', '/shopping/');

define('HTTPS_COOKIE_PATH', '/shopping/');

define('DIR_WS_HTTP_CATALOG', '/shopping/');

define('DIR_WS_HTTPS_CATALOG', '/shopping/');

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', '/home/content/p/i/e/piecesof/html/');

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

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

Link to comment
Share on other sites

Change:

 

define('HTTP_SERVER', 'https://www.piecesofargentina.com');

 

to:

 

define('HTTP_SERVER', 'http://www.piecesofargentina.com');

 

Change:

 

define('DIR_FS_CATALOG', '/home/content/p/i/e/piecesof/html/');

 

to:

 

define('DIR_FS_CATALOG', '/home/content/p/i/e/piecesof/html/shopping/');

 

As to the admin? We'll need to see that configure.php file to figure out what's wrong unless you can figure it out from your errors in this one.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Ok here's the admin config

 

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

define('HTTP_CATALOG_SERVER', 'http://www.piecesofargentina.com');

define('HTTPS_CATALOG_SERVER', 'https://www.piecesofargentina.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/p/i/e/piecesof/html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/content/p/i/e/piecesof/html/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/shopping/'); // absolute path required

define('DIR_FS_CATALOG', '/home/content/p/i/e/piecesof/html/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

Same deal. You forgot to include your shopping directory.

 

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

define('HTTP_CATALOG_SERVER', 'http://www.piecesofargentina.com');

define('HTTPS_CATALOG_SERVER', 'https://www.piecesofargentina.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/p/i/e/piecesof/html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/shopping/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/home/content/p/i/e/piecesof/html/shopping/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/shopping/'); // absolute path required

define('DIR_FS_CATALOG', '/home/content/p/i/e/piecesof/html/shopping/'); // absolute path required

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

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

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

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_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

I can see the images but you still have this line wrong in the /shopping/includes/configure.php file

 

define('HTTP_SERVER', 'https://www.piecesofargentina.com')

 

that's got to be http: NOT https:

 

 

This image:

 

http://www.piecesofargentina.com/shopping/...021_Handbag.jpg

 

must be missing from the server

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

I can see the images but you still have this line wrong in the /shopping/includes/configure.php file

 

define('HTTP_SERVER', 'https://www.piecesofargentina.com')

 

that's got to be http: NOT https:

This image:

 

http://www.piecesofargentina.com/shopping/...021_Handbag.jpg

 

must be missing from the server

 

Thank you so much. I have made the change and some of the images are ahowing but not all I think I need to re-upload the images folder.

Thanks again!!! :blink:

Link to comment
Share on other sites

What are the permissions on the shopping/images folder?

 

Make them 777 for now and drop back to 755 later on if 755 works.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...