Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help! Menus trying to call files that don't exist.


insanerc

Recommended Posts

Hi all,

 

it seems I've ran into a bit of a problem. I've been using Oscommerce for over 3 years now, and have been very happy with it. I always try to work out my own problems, and install my own add-ons, but this time I'm in a pickle.

 

My store needed upgrading from MS2, and also a face lift. What I did was create a "store2" on my same server with the original site being "store". I also created a new database just for this "store2". So from here I installed RC2a, STS w/ a template, and a few other goodies. I updated all the database info from the original "store", to "store2". Finally I was done and "store2" looked they way I wanted, and worked great down to the smallest detail. I was then ready to remove the original "store" and replace it with "store2". Before doing so I searched the database, and all files making sure there were no more references to "store2". Everything was changed to "store"

 

Now the new site is up and running but I have a bug. I had to remove the category box menu because sometime it would try to link to a "store2" file which no longer existed. Sometimes it linked to the correct "store" file. I figured I would just keep the drop down $catmenu and all would be good. Now I've found that the manufacturer drop down is doing the same thing, trying to link to "store2" files that do not exist. I figured somewhere I miss a "store2" reference in my php file or database. I searched them all with a keyword search tool and did find a couple. I changed then to "store" but I'm still getting the "store2" references.

 

I already tried yelling at the pc but that didn't help. If anyone can help, that would be great. I've put the category box back up for today so you can see what it's doing. Usually the first time it works right going to a "store" file, then after that it tries to go to a non existent "store2" file. Here's the link: http://xtreme-rc-hobbies.net/store/ Note the url ends with "store", not "store2". It should stay that way for the menus but it doesn't.

Link to comment
Share on other sites

check configure files, also local folder & htaccess files

 

with default osc there is no link info within the dbase

 

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

check configure files, also local folder & htaccess files

 

with default osc there is no link info within the dbase

 

 

Hello Sam,

 

and thanks for the reply. I appreciate you ruling out the database, as that's less I have to deal with. I just went back over all config files, all

the htaccess files, and all local folders, but still find nothing. Any other thoughts? For the life of me I can't solve this one. Since the files where originally produced under "store2" is there some hidden link possibly? I even ran my file keyword search tool again on every file on the website and can't find a single mention of "store2", yet my cat links and manufacturer links still want to go to "store2"

Link to comment
Share on other sites

I think you have an STS template problem.

 

 

I just wanted to follow up on this in case anyone else runs into this problem. It turns out that it was an STS problem. I went to admin, shut off "use template for boxes", and it worked great. The only problem was that the boxes didn't look right naturally.

 

What I came up with was a work around of sorts, mixing template boxes, with normal boxes. The two boxes that were causing problems were the Category box, and the Manufacturer box. I took these two boxes and wrote them out in html on my index.php and left all the others in php. I them went and switched the template boxes back on and am glad to say that all is good now. I still wish that I could have found the problem but this work around seems to have done the trick. Thanks again to you guys for helping me out.

 

David

Link to comment
Share on other sites

I just wanted to follow up on this in case anyone else runs into this problem. It turns out that it was an STS problem. I went to admin, shut off "use template for boxes", and it worked great. The only problem was that the boxes didn't look right naturally.

 

What I came up with was a work around of sorts, mixing template boxes, with normal boxes. The two boxes that were causing problems were the Category box, and the Manufacturer box. I took these two boxes and wrote them out in html on my index.php and left all the others in php. I them went and switched the template boxes back on and am glad to say that all is good now. I still wish that I could have found the problem but this work around seems to have done the trick. Thanks again to you guys for helping me out.

 

David

What's going to happen when you add a manufacturer or category?

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...