Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Shared Server issue (I think)


Bernie199

Recommended Posts

I've just set up osc over the last 3 days and was real pleased when I got paypalipn to work on the first attempt.

So just as I was set to got to bed I had a look at the shop to see all was ok when I clicked on the only category that actually has any products in and hey presto I'm now selling Adult toys and not the printer ink that I first put in my shop, I thought one of the mods I've installed must have hijacked my site but looking closer at the other site I found him only 2 ips away from mine can anyone shed any light on this because I'm at a total loss, (I did see that persistent connections can cause problems on shared hosting which I didn't enable)

 

mediastore.ibiz.uk.com/catalog/ << if anyone wants to try it and see if it does the same for them (don't laugh it?s my first go but my friends are impressed)

:unsure: :blink:

I told my psychiatrist that everyone hates me. He said I was being ridiculous - everyone hasn't met me yet

Link to comment
Share on other sites

set sessions to mysql in the config files

 

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

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

This is actually the category cache is being saved in the same temp dir. You need to make a private temp dir instead of the server root

 

If you document root was

'home/virtual/mediastore/www/html/'

 

Then your temp dir should be.

'home/virtual/mediastore/www/tmp/'

 

instead of 'tmp/'

Change it for both cache and sessions.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...