Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

possesed website


eross1lf

Recommended Posts

Posted

Hello!!!

 

This is my first post, and feel stupid to ask such question, but I am out of ideeas. Maybe is an easy one...

 

I made a fresh install . The Default and only language it runs on is Hungarian. I load the Categories and Products via EasyUpdate (by the way, thanks for the contribution), everithing goes almost well.

 

I have all my categories in place, but if I try to select any information from the information box (lower Left box), the categories jump to another site's categories... wierd ha? :blink: ... A site that I never worked on nor seen before. The same thing happens if I try a menu button from the TOP. All the new categories are linked to the other site. The Products list though is showing the products or information from my web site (database).

 

I have not done any changes to the codes.

 

Please have a look: www.webker.smartel.hu

 

 

Appreciate any help

Thanks

Posted

On a shared server, you should save sessions to the database. At the bottom of includes/configure.php and admin/includes/configure.php define sessions like this:

 

  define('STORE_SESSIONS', 'mysql');

Posted
On a shared server, you should save sessions to the database. At the bottom of includes/configure.php and admin/includes/configure.php define sessions like this:

 

  define('STORE_SESSIONS', 'mysql');

Spax, can we now call you The Exorcist?

Posted

thank you for the quick response.

 

I had in both configuration file the STORE_SESSIONS set, still would not fix it.

After long and enoing look at all codes, I realise that the "Use Cache" in the Admin was set to true.

Not sure why, but I change it and... voila ... It fixed the problem.

 

I would appreciate if you could eplain why, so I would not look bad in front of my colegues :(

Thank you again

Posted

Yeah, I should have mentioned the cache control also. It is because any site on the same server that has sessions or cache saved to a tmp directory, is liable to get them mixed up with a relative path. The best way to use them is with a unique name for the directory and a full path pointing to them in the database.

 

Spax, can we now call you The Exorcist?

 

This place is clean - my work here is done. :lol:

Posted

Your configure.php file has wrong values for http_server.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted

the store runs on a subdomain: wwww.webker.smartel.hu

http_server is set to the main domain: 'http://smartel.hu'

 

Do you think here is the problem?

Posted

yes it should be www.webker.smartel.hu

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
yes it should be www.webker.smartel.hu

 

Tried, but the site doesn't work properly. Please have a look.

 

Now the setting in the configuration file are:

 

define('HTTP_SERVER', 'http://www.webker.smartel.hu');

define('HTTPS_SERVER', 'http://smartel.hu');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'smartel.hu');

define('HTTPS_COOKIE_DOMAIN', 'smartel.hu');

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

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

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

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

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/smartelh/public_html/webker');

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

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

Posted

define('HTTP_SERVER', 'http://www.webker.smartel.hu');

define('HTTPS_SERVER', 'http://smartel.hu');

 

From Your sit it appears You are not changing the proper configure file.

 

as the links are:

http://smartel.hu/webker/index.php?cPath=199

 

where as they should have been www.webker.smartel.hu/index.php?cPath=199

 

Satish

 

 

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Posted
define('HTTP_SERVER', 'http://www.webker.smartel.hu');

define('HTTPS_SERVER', 'http://smartel.hu');

 

From Your sit it appears You are not changing the proper configure file.

 

as the links are:

http://smartel.hu/webker/index.php?cPath=199

 

where as they should have been www.webker.smartel.hu/index.php?cPath=199

 

Satish

 

 

 

 

Satish

 

 

thanks for the help

I will try to fix this... although not sure how yet :(

Archived

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

×
×
  • Create New...