Mark the Harp Posted November 25, 2006 Posted November 25, 2006 I have successfully run an OSC store for several years with no problems. Today I was mailed by another store who were understandably annoyed that the categories box on their index.php page is from our store - and if you click any of them they take you to our product listing. However, and this is the really weird bit, this problem is only on their home page. I've asked them to check that our URL hasn't somehow become hard-coded into their page in some way, but beyond that this has got me stumped. This can't be a mySql error because I'm assuming it would happen to all pages and also, our databases are on different servers. Any ideas? Both stores using OSC ms 2.2
Mark the Harp Posted November 25, 2006 Author Posted November 25, 2006 There's one more clue: when you first visit the shop on opening the browser for the first time, you get the correct shop categories. When you click on anything in the shop, they then become "my" shop's categories. Also the URL behaviour changes. On first opening the browser and going to the shop in question, when you click eg on shipping, you get: SHOP URL/shipping.php?osCsid=b68e8331a71f97ef...... etc but on subsequent loading it just has the usual SHOP URL/shipping.php I vaguely remember this might be tied up with shop security somehow and I modified my installation so it didn't show these. Anyone enlighten us? For this reason, by the way, I'm not including the "real" shop URL. Mark
usernamenone Posted November 25, 2006 Posted November 25, 2006 The only way links on the other store got changed is on their end. Maybe a disgrunteled employee would be my guess. You do not have their user name or log on information so why would they be huffy. This is their issues that they need to address and not any fault of anyone but on their end. Someone with user names and passwords, and only then would someone be able to change the links. The database has nothing to do with it. I think they will be able to figure out who changed the links! :blink:
papercapers Posted November 25, 2006 Posted November 25, 2006 The only way links on the other store got changed is on their end. Maybe a disgrunteled employee would be my guess. You do not have their user name or log on information so why would they be huffy. This is their issues that they need to address and not any fault of anyone but on their end. Someone with user names and passwords, and only then would someone be able to change the links. The database has nothing to do with it. I think they will be able to figure out who changed the links! :blink: If a disgruntled employee were to do this, wouldn't the easiest way be to do mod_rewrites in the .htaccess file? That would (I think) require changes to just one file. Apart from disgruntled employee, the only other thought that crossed my mind is that you share the same web developer, who has created the other site simply by copying your entire site (to which he presumably had legitimate access) and has omitted to do the necessary changes to point everything to where it should be....
spax Posted November 25, 2006 Posted November 25, 2006 Your sessions are getting mixed up. Make sure you and ask the other store owner to, store sessions to mysql. In both configure.php files, at the bottom, you should have: define('STORE_SESSIONS', 'mysql'); You get this problem with shared servers.
Mark the Harp Posted November 26, 2006 Author Posted November 26, 2006 Your sessions are getting mixed up. Make sure you and ask the other store owner to, store sessions to mysql. In both configure.php files, at the bottom, you should have: define('STORE_SESSIONS', 'mysql'); You get this problem with shared servers. Thanks for this. I haven't had a problem with my site, and in both my configure.php files I have this code as above. I forwarded this to the other person and their shop seems to have been repaired a bit (it's still showing the long string of characters after each link). I don't know if they've done this or not. They're not being very communicative and, frankly, I think it's their problem now. Believe it or not, this person's site is being developed by a commercial web company. I'm staggered that they can't get this right, and that they're so amazingly rude as to not bother to collaborate with me after accusing me of it being my fault that part of my code appeared on their site. Thank you, Spax and other OSC people for this great forum. I value this community. I'm just a person who's taught themselves OScommerce. I can usually get it right, or come to others for help, and I've even contributed code back into this project. I'm staggered that a "professional" web developer is that ignorant and ill-mannered.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.