mentor24 Posted January 30, 2004 Share Posted January 30, 2004 If anyone can explain what is happening here and what the solution is, I will gladly pay. This issue renders OSCommerce unusable for me. Athttp://www.siteclones.com/clients/webstore/catalog/ I have installed a completely fresh version of OSCommerce 2.2 milestone 2 with absolutely no modifications on my part. On most computers, when you go to this url you will get a completely empty file. Click refresh, and the site comes up. But open a new browser and enter the url again, and it will be empty. However, on some computers it will come up just fine the first time. I have spent many hours trying to understand why this happens. I know it isn't a problem with the server configuration--this only happens with OSCommerce. And as I said, I have made no modifications to this particular installation, so it isn't that. It isn't the browser itself, because I get different results on the same browser. I have a webstore with an older version of OSCommerce that works just fine. This only happens on the newer version. Link to comment Share on other sites More sharing options...
saje Posted January 30, 2004 Share Posted January 30, 2004 Possibly caching, either your own or somewhere along the chain. I have had a similar problem with a redirected index page that I changed when I moved my site to the main page. It ended up being an ISP thing as the next day it corrected itself? Cheers Steven Link to comment Share on other sites More sharing options...
mentor24 Posted January 30, 2004 Author Share Posted January 30, 2004 Thanks, Steve. But it isn't caching. I've definitely ruled that out. I and a few other people have all cleared our cache and immediately tried again, only to get the same results. And this has been going on for days, ever since I installed it. BTW, I assume that you experienced the same thing on this site, right? Anybody else? Is there a php.ini setting that I need to change? Again, this problem is unique to OSCommerce 2.2 milestone 2. I've never seen anything else like it. Link to comment Share on other sites More sharing options...
wvmlt Posted January 30, 2004 Share Posted January 30, 2004 It came up just fine for me Keith What the hell was I thinkin'? Link to comment Share on other sites More sharing options...
mentor24 Posted January 30, 2004 Author Share Posted January 30, 2004 Thanks Keith. I'd be interested to know what percentage of people do get it. I have two computers here, both running IE 6. One it comes up, the other gets a blank screen--every time. Could this be a setting in my php.ini? I'm looking at some commands like output_buffering = Off output_handler = implicit_flush = Off and wondering if any of these setting could affect the way the server sends the header or something like that. Link to comment Share on other sites More sharing options...
plumley1 Posted January 30, 2004 Share Posted January 30, 2004 One one of my machines it came up blank My notebook it came up fine Windows XP on both and my browser on both is Avant Link to comment Share on other sites More sharing options...
Guest Posted January 30, 2004 Share Posted January 30, 2004 Remove 'mysql' from the configure.php files . . . the thing i would check is the sql session log (have to set path and enable this) and also the server access logs and error logs. if this is happening at home, disable your firewall to see if that makes a difference. try from another system on a different carrier, ie if on verizon dsl try comcast cable, etc. does this happe on the admin side also? Link to comment Share on other sites More sharing options...
dreamscape Posted January 30, 2004 Share Posted January 30, 2004 Check your server or PHP settings. I get this error in OS X with Safari: Could not open the page ?http://www.siteclones.com/clients/webstore/catalog/?. The error was: ?bad server response? (NSURLErrorDomain:-1011) The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
dreamscape Posted January 30, 2004 Share Posted January 30, 2004 PS. that error in Safari is known to appear when a page is gzipped without a Content-Length header. Looking at this Gzip test your page is gzipped and is not sending a content-length header. A refresh in Safari and the page shows up, but you get the error at first. This might be the cause of the problems in other browsers as well. You could turn gzipping off and find out. The only thing necessary for evil to flourish is for good men to do nothing - Edmund Burke Link to comment Share on other sites More sharing options...
mentor24 Posted January 30, 2004 Author Share Posted January 30, 2004 Thanks to everyone who responded. I think I've found the solution--or at least a fix. I changed output_buffering in the php.ini from Off to On, and pages started coming up correctly. output_buffering allows header info to come after body info, among other things. I'm not sure why this was necessary with my installation, but it definitely fixed the problem. Link to comment Share on other sites More sharing options...
paulr Posted January 31, 2004 Share Posted January 31, 2004 Warning: I'm new to OSC, but this might help... I started making some small mods to the standard layout, and discovered that the first time my page was displayed, the footer would be inserted in the right column. Pressing reload would cause it to display correctly. This happens whether I use NS, Opera or IE. When I looked at the source, I discovered some extra </TD></TR>s and <TD><TR>s at the end of the categories code and at the start of the manufacturers code. These don't seem to be inside a table, so I figured they could cause problems. This is not something I had introduced. They are there in the out-of-the-box code too. So, I inserted a couple of </TABLE> commands at the start of footer.php and the problem went away. --paul Link to comment Share on other sites More sharing options...
Guest Posted February 13, 2004 Share Posted February 13, 2004 :blink: I have the same problem. In the right column something does not work... I've looked "inside" the code, boxes, classes ... nothing... there's something that generates things like this "</ </td>" . Cant understand why :( Thanks mentor, I followed your advice to put output_buffering on, It works. But i used this 2 functions : ob_start -- Turn on output buffering (in header.php) ob_end_flush ? Flush (send) the output buffer and turn off output buffering ( in footer.php) So buffering - manuals say it could make page loading a little bit slower - is on only for that website, and not for all my virtual domains ;) anyway .... very very strange thing .... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.