SyraxSinister Posted July 15, 2004 Posted July 15, 2004 Need help. On my site when I change the image in footer.php it started showing up on the right side of the page instead of the bottom were it is suppose to be. Use to it only did it when just using http now it does it both with http and https. Anyone have a clue about how to fix this?
noob Posted July 15, 2004 Posted July 15, 2004 give a link because i dont understand wut ur talking bout Checkout my osc contrib here! You can also checkout the site im working on by clicking the card button!
Guest Posted July 15, 2004 Posted July 15, 2004 It is a known php bug Ask your hosting provider to upgrade PHP version The_Bear
SyraxSinister Posted July 15, 2004 Author Posted July 15, 2004 My server is using php 4.2.2. What would the best version to upgrade to.
poolroom Posted July 15, 2004 Posted July 15, 2004 This could be the same issue I have had since the day I first started working on my cart! Once I get to the cart page I can refresh the browser and it is okay. Does this sound like the same problem? I have been working on this thing for weeks!!!
Acheron Posted July 15, 2004 Posted July 15, 2004 My server is using php 4.2.2. What would the best version to upgrade to. Forget about that. :) You need to remove that extra table you inserted in the footer along with the banner. Instead of adding the table you should either: (a) Add a new row <tr><td>image here</td></tr> -or- (B) Add a new row to the footer with a table inside the row <tr><td><table><tr><td>image here</td></tr></table></td></tr> Do either of the above and it will solve your problem. :)
SyraxSinister Posted July 15, 2004 Author Posted July 15, 2004 I didn't add any tables. All I did was created the new logo and inserted it using the banners tool in the admin section. Also I tried using the original oscommerce banner and it did the same thing.
poolroom Posted July 15, 2004 Posted July 15, 2004 I guess I don't understand where you are talking about. I have not modified the footer include from the orginal code.
poolroom Posted July 15, 2004 Posted July 15, 2004 I have install 3 sites and they all have this problem. SyraxSinister does the refresh fix it for you?
Acheron Posted July 15, 2004 Posted July 15, 2004 I didn't add any tables. All I did was created the new logo and inserted it using the banners tool in the admin section. Also I tried using the original oscommerce banner and it did the same thing. Then you will need to modify the code for the placement of the banner b/c it is creating a new table. Copy the source of your index to your HTML editor and you'll see it. Whether this problem is caused by a PHP bug or not is irrelevant b/c your host isn't going to upgrade PHP simply b/c you ask them to. hehe
poolroom Posted July 15, 2004 Posted July 15, 2004 I found something interesting... When I get this problem, view source, I see and extra: </ Near the bottom of the right column?
poolroom Posted July 15, 2004 Posted July 15, 2004 Okay, this is weird. I again did a view source when the problem appears. Cut and Pasted that source into Dreamweaver. Dreamweaver believes I have orphaned: </ </td> </tr> I go back to the web page and do a refresh, the page looks fine, view source, paste into Dreamweaver and the orphans are gone!@?!@?!@!
Digitizer10 Posted July 15, 2004 Posted July 15, 2004 In Linux Mozilla 1.6 (Debian/1.6.x.1-10) your graphic appears at the bottom as you intended. However you do have a table in there: <tr> <td align="center"><a href="http://www.vsindustrial.com/catalog/redirect.php?action=banner&goto=2&osCsid=842e35b60b251153b2040d3cbfd20a17" target="_blank"><img src="images/ctlwebz.jpg" border="0" alt="CTL Webz" title=" CTL Webz " width="500" height="100"></a></td> </tr> This is the offending row as it appears in Mozilla. BTW, your graphics are large and slow to download. <- Just a friendly observation.
noob Posted July 15, 2004 Posted July 15, 2004 refresh fixed it for me (it was on the side at 1st) maybe wut u shuld do is get a javascript that refreshes the page wen its loaded or even before it loaded :D good idea huh? Checkout my osc contrib here! You can also checkout the site im working on by clicking the card button!
Guest Posted July 16, 2004 Posted July 16, 2004 Yeah this is happening to me also. I keep refreshing the page Most of the time, the footer squishes up against the right column. But once in a while it is normal. I looked at the source code for both. When it is broken, I get that weird broken tag: </ </td> </tr> <!-- whats_new_eof //--> <!-- right_navigation_eof //--> When it's normal, it disappears, but so does <!-- whats_new_eof //--> </td> </tr> <!<!-- right_navigation_eof //-->
Guest Posted July 16, 2004 Posted July 16, 2004 I wouldn't have believed it, but maybe it does have to do with php version... I have 2 identical versions of oscommerce. One on my live server running Apache 1.3.31 php4.3.3 -- which is normal And one on my localhost running Apache 1.3.27 php4.2.3 -- which is the problem Guess I'm gonna have to upgrade my localhost ugh!
Guest Posted July 16, 2004 Posted July 16, 2004 Well, just thought I would update everyone. I did upgrade my localhost to php4.3.6 and this problem has been resolved. Crazy! :P
Recommended Posts
Archived
This topic is now archived and is closed to further replies.