Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Commenting out Manufacturer's Box


JamieA

Recommended Posts

I am trying to comment out the manufacturers box from the left column.

 

I thought I just had to do this (in includes/column_left.php)

 

// include(DIR_WS_BOXES . 'manufacturers.php');

 

But it doesn't work. Any thoughts?

 

Thanks,

Jamie

www.GuitarPrinciples.com

Link to comment
Share on other sites

Just after I posted that question, I looked, and the box was gone!

 

This is very weird, maybe someone can tell me why this happens: often I make a change in some file (as above), and it doesn't take effect for perhaps an hour or longer, as in this case.

 

Is this normal?

 

Thanks,

Jamie

www.GuitarPrinciples.com

Link to comment
Share on other sites

Sounds like it was in your cache ...

 

Best habit is hit F5 or Shift Refresh to see changes on the screen to avoid the cache issue.

 

If really moofy ... close all browser windows and open a new one.

Link to comment
Share on other sites

Thanks Linda, I will try that.

 

I think I have tried the shift refresh, but I have noticed having lots of browser windows open doesn't make things a little crazy.

 

Jamie

www.GuitarPrinciples.com

Link to comment
Share on other sites

For what it's worth, I still have the problem even after trying both solutions.

 

It is frustrating, because this is all new to me, and I can't tell if I have done something wrong or not each time I attempt to change something.

 

I have to wait for hours to see if the change will magically appear! It kind of makes me getting this shopping cart going on my site take a wee bit longer than it otherwise would!

 

If anyone has any idea why this may be happening, I'd love to hear it!

 

Jamie

www.GuitarPrinciples.com

Link to comment
Share on other sites

Turn off the cache if you are using it in the Admin

 

Try using define('STORE_SESSIONS', 'mysql'); in your configure.php files.

 

Sometimes these settings have caused me headaches in the past.

Link to comment
Share on other sites

Well, that's interesting, when I went to "cache control" in admin, I got this error message:

 

Warning: open_basedir restriction in effect. File is in wrong directory in /usr/www/amy321/web/store/admin/cache.php on line 82

 

Fatal error: Call to a member function on a non-object in /usr/www/amy321/web/store/admin/cache.php on line 83

 

I guess that means some file is not in the right place, but that is about as deep as my insight goes!

 

Jamie

www.GuitarPrinciples.com

Link to comment
Share on other sites

Jamie,

 

I think you misunderstood........I meant use the forum search function with *open_basedir* as the search term.......The error comes up occassionally and I figured you might be able to find a fix.....

Link to comment
Share on other sites

the server itself could also be caching files... I've ran into servers before that for one reason or another would cache files locally on the server and if you updated a file, it would not update on the server for some time.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

This is a common problem with many ISP's. Many ISP's is use a caching program like Squid Proxy Server that stores web pages on their local server. They do this to save bandwidth by sending cached pages back to the user so that the content does not have to be fetched from the internet on each request.

 

You can imagine how much bandwith could be saved by an ISP that has several hundred users and they are caching something like the home page of yahoo.com.

 

I am not sure how proxy programs handle dynamic pages, but I have seen many problems from a web developers standpoint when caching programs are used. I actually changed my ISP some time ago because of that issue. I't worth asking your ISP about - might save you a lot of grief.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...