Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!! Modules dont work after changing hosting server


danish8388

Recommended Posts

Posted

Can someone please shed the light for me..... please!

My website was working fine until I changed hosting company and moved the entire file structure over to the new server. All the modules (payment, shipping, order total) seemed not installed now. Did I lose all of my settings?

Also, when editing catalog admin, got a warning message on the top that says..... admin image directory does not exist. These all happened after changing to new server. Please, someone, please help me. Thank you.

Posted
Can someone please shed the light for me..... please!

My website was working fine until I changed hosting company and moved the entire file structure over to the new server. All the modules (payment, shipping, order total) seemed not installed now. Did I lose all of my settings?

Also, when editing catalog admin, got a warning message on the top that says..... admin image directory does not exist. These all happened after changing to new server. Please, someone, please help me. Thank you.

 

 

Did you check to see if the file paths are correct in your configure.php files or are they still pointing to the old address on the old server? With your FTP program can you visualise your image folder and are the permissions reset correctly (the permissions do not transfer automatically as they were before)?

Posted
Did you check to see if the file paths are correct in your configure.php files or are they still pointing to the old address on the old server? With your FTP program can you visualise your image folder and are the permissions reset correctly (the permissions do not transfer automatically as they were before)?

 

Yes I checked all those. Both confirgure.php were set up correctly, I think; since other things like the product listing and SSL all work. Just the images folder and modules do not seem to work. I checked the physical folder locations and everything is there. The permissions were set to 755 originally and I asked my hosting company to change them to 777. Still dont work.

 

Any other ideas? Please!!!

Thank you in advance!

Posted
Yes I checked all those. Both confirgure.php were set up correctly, I think; since other things like the product listing and SSL all work. Just the images folder and modules do not seem to work. I checked the physical folder locations and everything is there. The permissions were set to 755 originally and I asked my hosting company to change them to 777. Still dont work.

 

Any other ideas? Please!!!

Thank you in advance!

 

 

For your modules I found that when I just moved from a subdirectory to my root directory that reinstalling them made all work fine. As for the images try uploading them again.

Posted
For your modules I found that when I just moved from a subdirectory to my root directory that reinstalling them made all work fine. As for the images try uploading them again.

 

But I can't even reinstall the modules. I click on the Install button and it wont do anything!! This is just weird. All modules were working fine at the old hosting server. Now, all it shows is the directory path, e.g. Module Directory: E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/includes/modules/payment/.

 

As for the images folder, tried that already. All jpg's are there in the physical folder. But that warning message still shows up: Error: Catalog images directory does not exist: E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/

Posted
But I can't even reinstall the modules. I click on the Install button and it wont do anything!! This is just weird. All modules were working fine at the old hosting server. Now, all it shows is the directory path, e.g. Module Directory: E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/includes/modules/payment/.

 

As for the images folder, tried that already. All jpg's are there in the physical folder. But that warning message still shows up: Error: Catalog images directory does not exist: E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/

 

 

There must be a minor problem in the configure.php files whereby the images are not declared with the right path or maybe the database is not in the realpath. Look closely at how you set those two paths in the catalog/includes/configure.php and admin/includes/ configure.php

Posted
There must be a minor problem in the configure.php files whereby the images are not declared with the right path or maybe the database is not in the realpath. Look closely at how you set those two paths in the catalog/includes/configure.php and admin/includes/ configure.php

 

 

To compare, are your configs properly done with the realpaths :

Step 1.

Open /catalog/includes/configure.php

 

Find this code near the top of the page (line 14).

 

  define('HTTP_SERVER', 'http://yourdomain.com'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, [url=https://localhost]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'yourdomain.com');
 define('HTTPS_COOKIE_DOMAIN', 'yourdomain.com');
 define('HTTP_COOKIE_PATH', '/catalog/');
 define('HTTPS_COOKIE_PATH', '/catalog/');
 define('DIR_WS_HTTP_CATALOG', '/catalog/');
 define('DIR_WS_HTTPS_CATALOG', '/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/');


Step 2.
Open /catalog/admin/includes/configure.php

Find this code near the top of the page (line 14).

 define('HTTP_SERVER', 'http://yourdomain.com'); // eg, [url=http://localhost]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://yourdomain.com');
 define('HTTPS_CATALOG_SERVER', 'https://yourdomain.com');
 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/yourname/public_html/store/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/yourname/public_html/catalog/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/yourname/public_html/catalog/'); // 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/');

 

Compare with what worked on your old server and be sure the "new" address is in each line as required.

Posted

Here's my admin configure file. Can you tell me if anything is wrong?

 

************************************************************************

define('HTTP_SERVER', 'https://secure.netsolhost.com/xxx.com'); 
define('HTTP_CATALOG_SERVER', 'http://xxx.com');
define('HTTPS_CATALOG_SERVER', 'https://scure.netsolhost.com/xxx.com/catalog/');
define('ENABLE_SSL_CATALOG', 'true'); 
define('DIR_FS_DOCUMENT_ROOT', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/'); 
define('DIR_WS_ADMIN', '/catalog/admin/'); 
define('DIR_FS_ADMIN', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/admin/');
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/');
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/');
// define our database connection
define('DB_SERVER', '205.178.146.22');
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');

Posted

Here's the includes/configure.php. This one should be correct, since my page seems to be working properly.

 

********************************************************************************

****

define('HTTP_SERVER', 'http://xxx.com');
define('HTTPS_SERVER', 'https://secure.netsolhost.com/xxx.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'xxx.com');
define('HTTPS_COOKIE_DOMAIN', 'https://secure.netsolhost.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/xxx.com/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/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', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', '205.178.146.22');
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');

Posted
Here's the includes/configure.php. This one should be correct, since my page seems to be working properly.

 

********************************************************************************

****

define('HTTP_SERVER', 'http://xxx.com');
define('HTTPS_SERVER', 'https://secure.netsolhost.com/xxx.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'xxx.com');
define('HTTPS_COOKIE_DOMAIN', 'https://secure.netsolhost.com');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/xxx.com/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/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', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', '205.178.146.22');
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');

 

 

Sorry to take so long,

 

Why in admin/includes/config are these different ? And on the first you have 'https...' whereas it is the http server asked for.

 

****define('HTTP_SERVER', 'https://secure.netsolhost.com/xxx.com'); 
****define('HTTP_CATALOG_SERVER', 'http://xxx.com');
****define('HTTPS_CATALOG_SERVER', 'https://scure.netsolhost.com/xxx.com/catalog/');

 

 

On my installation (recently moved also) the three are 'http or https:www.mydomaine.com'. You may want to do a realpath to verify the exact path. Here your HTTP_SERVER is different from the one declared in the other config file.

 

And for the database:

 

define('DB_SERVER', 'mysqlX.webhoster.com'); 
 define('DB_SERVER_USERNAME', 'myXXXXX'); // my mysql database begins with my+a series of numbers, does yours?
 define('DB_SERVER_PASSWORD', 'XXXXXX);
 define('DB_DATABASE', 'myXXXXX');
 define('USE_PCONNECT', 'false'); 
 define('STORE_SESSIONS', 'mysql');

Posted

ADMIN

define('HTTP_SERVER', 'http://xxx.com');
define('HTTP_CATALOG_SERVER', 'http://xxx.com');
define('HTTPS_CATALOG_SERVER', 'https://scure.netsolhost.com/xxx.com');
define('ENABLE_SSL_CATALOG', 'true');
define('DIR_FS_DOCUMENT_ROOT', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog');
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/admin/');
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/');
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/');
// define our database connection
define('DB_SERVER', '205.178.146.22');
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');

 

Catalog looks ok

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.

Posted
ADMIN

define('HTTP_SERVER', 'http://xxx.com');
define('HTTP_CATALOG_SERVER', 'http://xxx.com');
define('HTTPS_CATALOG_SERVER', 'https://scure.netsolhost.com/xxx.com');
define('ENABLE_SSL_CATALOG', 'true');
define('DIR_FS_DOCUMENT_ROOT', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog');
define('DIR_WS_ADMIN', '/catalog/admin/');
define('DIR_FS_ADMIN', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/admin/');
define('DIR_WS_CATALOG', '/catalog/'); // absolute path required
define('DIR_FS_CATALOG', 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/');
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/');
// define our database connection
define('DB_SERVER', '205.178.146.22');
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', 'xxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');

 

Catalog looks ok

 

 

Hello Steve!

 

His catalog does look OK but as I said what about his admin config?

Posted
Hello Steve!

 

His catalog does look OK but as I said what about his admin config?

 

posted above in my reply is what I think the ADMIN configure.php should be

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.

Posted
But I can't even reinstall the modules. I click on the Install button and it wont do anything!! This is just weird. All modules were working fine at the old hosting server. Now, all it shows is the directory path, e.g. Module Directory: E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/includes/modules/payment/.

 

As for the images folder, tried that already. All jpg's are there in the physical folder. But that warning message still shows up: Error: Catalog images directory does not exist: E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/

Where did you actually install your osc site, under the root directory or the subdirectory called catalog/? If the former, then 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/' should be:

E:/11/1/6/107/1006270/user/1036129/htdocs/images/

If under a sub catalog, then your http server should look like:

define('HTTP_SERVER', 'http://xxx.com/catalog');

define('HTTPS_SERVER', 'https://secure.netsolhost.com/xxx.com/catalog');

 

I can't see why your site needs to be installed in a subdirectory (catalog), and not directly under the root directory.

Was your site hosted on a windows server just like the one you've now moved to? How much your site are currently working OK (suppose an URL here so that we could have a look)? Where you got this path 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/' from, from your host? These details would help us to identify the problem.

 

Good Luck,

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted
Sorry to take so long,

 

Why in admin/includes/config are these different ? And on the first you have 'https...' whereas it is the http server asked for.

 

****define('HTTP_SERVER', 'https://secure.netsolhost.com/xxx.com'); 
****define('HTTP_CATALOG_SERVER', 'http://xxx.com');
****define('HTTPS_CATALOG_SERVER', 'https://scure.netsolhost.com/xxx.com/catalog/');

On my installation (recently moved also) the three are 'http or https:www.mydomaine.com'. You may want to do a realpath to verify the exact path. Here your HTTP_SERVER is different from the one declared in the other config file.

 

Sorry for missing 2 days..... went to an out of state event.

 

Good catch. I think it must have been a typo. However, I just changed to line 2 to "define('HTTP_SERVER', 'http://xxx.com')", it didnt make any difference. My 2 biggest problems (modules folders and images folder) still remain.

 

I guess my config looks different from yours because I'm using shared SSL and you have your own SSL. Right?

 

 

And for the database:

 

define('DB_SERVER', 'mysqlX.webhoster.com'); 
 define('DB_SERVER_USERNAME', 'myXXXXX'); // my mysql database begins with my+a series of numbers, does yours?
 define('DB_SERVER_PASSWORD', 'XXXXXX);
 define('DB_DATABASE', 'myXXXXX');
 define('USE_PCONNECT', 'false'); 
 define('STORE_SESSIONS', 'mysql');

 

No. My db name is just whatever the guy who did my old website set it to be. I just transferred everything over. It seems to be talking to the database fine.

Posted
Where did you actually install your osc site, under the root directory or the subdirectory called catalog/? If the former, then 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/' should be:

E:/11/1/6/107/1006270/user/1036129/htdocs/images/

If under a sub catalog, then your http server should look like:

define('HTTP_SERVER', 'http://xxx.com/catalog');

define('HTTPS_SERVER', 'https://secure.netsolhost.com/xxx.com/catalog');

I can't see why your site needs to be installed in a subdirectory (catalog), and not directly under the root directory. Was your site hosted on a windows server just like the one you've now moved to? How much your site are currently working OK (suppose an URL here so that we could have a look)? Where you got this path 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/' from, from your host? These details would help us to identify the problem.

Good Luck,

Ken

 

Hi Ken,

 

Thanks for helping. It's installed under catalog, not root. No particular reason. It was contracted out to someone, who made it this way, but it worked when hosted under the old server. The contractor is no where to be found now. When I transferred to new server, I searched for old server values and replaced with new server ones. Actually, the hosting servers (old and new) are both unix. I got the path like 'E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/images/" because the old setting was like this with the old server name.....

 

Like I replied to Barbie, I changed this line but it didn't make any difference .. define('HTTP_SERVER', 'http://xxx.com')

 

Then I changed to your suggestions in the admin config ............. worse. HTTP 404 - File not found

define('HTTP_SERVER', 'http://xxx.com/catalog');

define('HTTP_CATALOG_SERVER', 'http://xxx.com/catalog');

define('HTTPS_CATALOG_SERVER', 'https://secure.netsolhost.com/xxx.com/catalog');

 

So I changed them back.

Ken, do you have any other suggestions?

Posted
ADMIN
define('HTTP_SERVER', 'http://xxx.com');

Catalog looks ok

 

Hi Steve,

Thanks for helpling. The only line I see different is line 1, right? I changed according to suggestion, but it made no difference at all. (And yes, I did dump all the cache and refresh my browser.)

 

Ken mentioned it might be better that you all know my actual website in order to help? Here it is. The shopping site works fine I think. It's the admin site that's not working. http://www.filterdirect.com/catalog

Posted
ken, do you have any other suggestions?

Sorry, no more suggestions until we know a bit more about your server/site. To what extend your site is working? Probably a link to it so that someone here could have a look would be helpful.

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted
Sorry, no more suggestions until we know a bit more about your server/site. To what extend your site is working? Probably a link to it so that someone here could have a look would be helpful.

Ken

 

Here is my website www.filterdirect.com/catalog

Posted

Actually I saw your site absolute path is: /data/11/1/6/107/1006270/user/1036129/htdocs/catalog/

not E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/

Try to change it, perhaps without the '/' before 'data'.

I mean in the configure.php under admin/includes/, not the one under catalog/includes, as it works OK there (it was not used there anyway).

Ken

commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Posted
Actually I saw your site absolute path is: /data/11/1/6/107/1006270/user/1036129/htdocs/catalog/

not E:/11/1/6/107/1006270/user/1036129/htdocs/catalog/

Try to change it, perhaps without the '/' before 'data'.

I mean in the configure.php under admin/includes/, not the one under catalog/includes, as it works OK there (it was not used there anyway).

Ken

 

My god ~~~~~~~~~~ you are a genius!! That did it. I replaced E: with /data. And problems disappeared! Yeah!! Thank you Ken!

Posted

Ken,

 

Can I ask you to check something else. I seem to the same issue with most of other people that the padlock does not appear although the url is already pointing to https.....

I know it's because the site maybe containing non secure links. But I dont have any reference to external sites .... is there any quick fix to this problem?

 

Thanks in advance!

Posted

Just had a look at your site. I have the exact same problem. Any further progress on it. Also how did you password protect the admin section.

Thanks,

Posted

Still waiting for someone to help.... If you want, I will let you know when someone responds to me.

 

Admin folder password protection is easy.... just call your hosting company.

Archived

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

×
×
  • Create New...