Guest Posted January 11, 2007 Share Posted January 11, 2007 Hi, I run a site called www.xsrcomputers.co.uk/catalog/ where you can buy PC parts etc. Its all been going swimmingly until today, I started up the site and went here: http://www.xsrcomputers.co.uk/catalog/index.php?cPath=2 As you can see the page messes up, but more importantly the links in the sidebar go to: http://www.magikboutik.eu/catalog/index.php?cPath=23 This only seems to happen when: a) I have OSC installed on my webserver in a folder called 'catalog'. If I change that to another name it works fine. B) If you have a osCsid then it doesn't happen c) It seems to losely occur with cpath's of 2 and 1; sometimes combined I have no idea what the problem could be. I've changed quite a lot of the code on the site, and this is the first time something like this has happened. To my knowledge nothing was changed that caused this problem. I could just change the directory that the site is in, but then it doesn't stop me worrying as to why this happened in the first place :S Any ideas how to stop this from happening? Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2007 Share Posted January 11, 2007 After a little bit of tinkering I found that OSC isn't calling my /includes/boxes/categories.php categories box which is the problem, its calling another one, which I think is from that other site ( http://www.magikboutik.eu ) and as its layout is different it adds extra <td> and <tr>'s to the layout messing it up. Anyone know where OSC gets the link to /includes/boxes/categories.php as I'm guessing thats where my problem lies? Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2007 Share Posted January 11, 2007 I looking at column_left.php which says that if you have cache and a SSID then it will call the categories box from another function. I refreshed my cache, which did nothing. Then I removed the tmp directory to make sure that that had nothing to do with it. Then I disabled caching completely. Still no change. Then I went back into the column_left.php file and completely removed the reference to anything cache related. The problem is fixed, but I would really like to know how cache has managed to essentially disable my site (you would be able to run anything if you wanted to). It seemed that the other sites categories file was being used, but I can't find any reference to it in the file, although I haven't had an exhustive look. Link to comment Share on other sites More sharing options...
abra123cadabra Posted January 13, 2007 Share Posted January 13, 2007 Just a vague guess but you could ask your hosting provider if the other site is on the same server. Then it might be a problem with the server setup. abra The First Law of E-Commerce: If the user can't find the product, the user can't buy the product. Feedback and suggestions on my shop welcome. Note: My advice is based on my own experience or on something I read in these forums. No guarantee it'll work for you! Make sure that you always BACKUP the database and the files you are going to change so that you can rollback to a working version if things go wrong. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.