Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Newbie needs help.


Guest

Recommended Posts

Posted

I'm so newbie here at os commerce... and would appreciate some help

 

I'm trying to trace a misplaced "//"

 

I've been editing some php files since yesterday... and when i was almost finished... I saw this 2 slashes "//"

 

I'm trying to trace it.. but no success...

 

maybe the gurus here can help me out...

 

a screenshot is taken. It is the one surrounded by the green circles.

 

thanks

 

error.jpg

Posted

Hi,

 

The two slashes are coming from this code:

 

<!-- body //-->
<table border="0" cellpadding="3" cellspacing="3" width="100%">
<tr>
<td valign="top" width="125">//<a target="_blank"
href="http://www.pinoycarcare.com/forum"><!-- left_navigation_eof //-->
</a>

 

Nice to see a Filipino website. :)

 

Peter

Posted

Pardon my ignorance sir, although I cannot seem to find the exact file to remove the double slashes from...

 

OT: Thanks sir, yes indeed its a Filipino site.. Although I would admit that I'm not experienced in PHP, but trying to catch up with what I read... However, debugging seems to be a problem with me.

 

One more problem, and would appreciate your assistance.. I'm missing an image once i click my product category. (see pic below)

 

I'm not sure for what was the error and surely I don't know either how to correct it. Can I just delete that image?

 

Thanks and so sorry for my ignorance.

 

error2.jpg

Posted

Hi Robert,

 

Pardon my ignorance sir, although I cannot seem to find the exact file to remove the double slashes from...

 

 

Lines 48 to 52 of /catlog/index.php are:

 

<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
 <tr>
   <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->

 

so, it is line 51, where the double slashes will be. It appears the complete "<table>" spec has been removed, and replaced with a link. Anyway, post the lines you have please, from 48 to 52.

 

OT: Thanks sir, yes indeed its a Filipino site..

 

We were living there for 4 years as missionaries, went to language school, didn't seem to learn much, but there was one phrase that would always result in a smile.

 

Anon sinabi mo ?

 

One more problem, and would appreciate your assistance.. I'm missing an image  once i click my product category. (see pic below)

error2.jpg

 

The website has been down for about 10 mins now, so I'll try and remember to have a look when it is up again.

 

Peter

Archived

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

×
×
  • Create New...