Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Homepage Display Problem


ptrau

Recommended Posts

This is our fourth site using OSC and it works great. We have begun to experience a weird problem though. When our webpage is loaded in a newly opened browser like IE6, all the tables are broken and it looks like....well you know.

 

When the page is refreshed, everything is fine again. It presents a very bad impression to new customers.....and the boss. Has anyone else had this type of problem or have any tips?

 

See it at:

 

http://www.gogogrocery.com

 

We are running MS2.2 on PHP4/LINUX servers

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

tried it several times with refresh looks ok upto the point of the BANNER ( hint, HINT) loading which because of it's width is sqeezing the page resize the banner or move it to another part of the page and see if this cures the problem, or temp remove the banner and see if the site stays in shape.

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Banner is actually called from the footer.php file. It displays there normally. I will disable the banner call in the footer.php and see if that works.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

ok on further inspection digging down into your site is ok, but on the index page with view source I found this

 <tr>
? ?<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
?</tr>
</table>
</td>
?</tr>
</ ?? ? ? ? ?</td>
? ? ? ? ?</tr>
<!-- loginbox_eof //-->
<!-- right_navigation_eof //--

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I also found this

<!-- shopping_cart //-->
<script language="javascript"><!--
function couponpopupWindow(url) {
 window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re
sizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,l
eft=150')
}
//--></script>

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

<!-- shopping_cart //-->
<script language="javascript"><!--
function couponpopupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re
sizable=yes,copyhistory=no,width=450,height=280,screenX=150,screenY=150,top=150,l
eft=150')
}
//--></script>

 

This is the JS that drives the popup help for Gift Vouchers

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

I couldn't find the other code snippet that you found that looks as if a tag is not formed properly. This is what I found on the index.php page:

 

 <TR>
                               <TD class=main align=middle><INPUT 
                               title=" Login " type=image alt=Login 
                               src="gogoGrocery_com___online grocery shopping and delivery!2_files/button_login.gif" 
                               border=0 SSL> 
                               </TD></TR></FORM></TBODY></TABLE></TD></TR>
                               <TR>
                               <TD><IMG height=1 alt="" 
                               src="gogoGrocery_com___online grocery shopping and delivery!2_files/pixel_trans.gif" 
                               width="100%" 
                         border=0></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR><!-- loginbox_eof //--><!-- right_navigation_eof //--></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- body_eof //--><!-- footer //-->

 

It looks as if all of the tage are properly formed. I'll keep checking. Thanks for the feedback.

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

are you using SSL if so what paths have you for server, cookies, cookie domain

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

When editing your sites code, you have to be very careful when removing unwanted snippets that you do not take out too many </tr>, </td>, or </table> tags. This can really screw things up...as you are finding out.

 

Th needle-in-the-haystack errant tag, is the 39th line up from the bottom of the "view source" code. In your php pages, this would correlate to a change SOMEHWERE, approximately, around line 335 (depending on the degree of modding you have done) in the catalog/index.php, just before the

<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->

portion of the code. You might want to check here first for that errant tag. It also appears you have modded column_right.php with the login box mod...you might also want to check the column_right.php file for that errant tag.

 

Also, on a side note, it seems your businesses product delivery requirements would be similar to mine (retail products delivered to a limited local area), and I am not very happy with the limited shipping options OSC gives me. Can I ask how you are dealing with delivery charges for your customers?

Link to comment
Share on other sites

*edit* - fork

 

Because we physically deliver all of our orders, and do not work from one central location, we are able to use "flat rate" shipping with free shipping over $100.

 

BTW...you have a great looking site!

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

HA!!!! Brute Force Programming at it's finest. I figured out that the mainpage only broke when the new loginbox.php was displayed. I simply enclosed a large block of code that was not in a table and...viola. It worked. Thanks to all for the tips.

 

Now on to my next battle....adding an additional dropdown field in the new_account area. This should only take me a year or so (I have already hijacked the "Suburb" field for an alternative use). It would be so much easier if I knew what I was doing!

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...