Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product listings are...pyramids? Problem!


zephster

Recommended Posts

Hi.

Check out www.homegrownglass.com

Click on a category on the left, then a subcategory. Check the product listings.

 

They're all sideways triangles, and it's not good! Not to mention it lists the same product many, many times.

 

I have NO idea what caused this or how to fix it so I thought I should post here.

I replaced the product_listings_col.php file with one that I backed up back in '05 and it was the exact same result, minus the nice box border around them.

 

If anyone needs any more information or code from the file posted, please let me know. I need to get this resolved as soon as possible.

 

Thanks for your time.

Link to comment
Share on other sites

Hi.

Check out www.homegrownglass.com

Click on a category on the left, then a subcategory. Check the product listings.

 

They're all sideways triangles, and it's not good! Not to mention it lists the same product many, many times.

 

I have NO idea what caused this or how to fix it so I thought I should post here.

I replaced the product_listings_col.php file with one that I backed up back in '05 and it was the exact same result, minus the nice box border around them.

 

If anyone needs any more information or code from the file posted, please let me know. I need to get this resolved as soon as possible.

 

Thanks for your time.

Now *that* is one of the most interesting problems I've ever seen... I wouldn't have any clue as to why it's doing it though, without taking a look at the code...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

No, it's not a contrib, it's a PROBLEM.

They're not supposed to be like that, I want them side by side like they used to be. And to not show the same product 9 times.

My advice would be to replace the product_listing.php file with one from a default osc install if you want them like they used to be, that'd be the quickest/easiest way to get this knocked out...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

No, it's not a contrib, it's a PROBLEM.

They're not supposed to be like that, I want them side by side like they used to be. And to not show the same product 9 times.

The problem must be elsewhere as putting this 'problem product_listing.php' in a clean shop does show the products normally. You did a fair lot of adjustments to this file and, looking at your shop, other parts to so tracing this back won't be easy. As the products are queried within the index.php the, or one of the, problems lies there to start with.

Link to comment
Share on other sites

wheeloftime: you are correct.

I replaced index.php with an older one and the products look like they're supposed to.

Minus the strange 'colored background only on some of them'. Not a big deal, though.

I'm going to do a little investigative work, digging around in files I've modified recently. I'll let you know what the outcome is.

 

Velveeta: I already did that, I mentioned it in my first post :P . Not from a default osC, given, but from an old backup that's close to default.

Link to comment
Share on other sites

  • 2 weeks later...

I didn't want to make another topic about it, but now the whole store isn't loading.

I get an error:

 

Fatal error: Call to undefined function: error_reporting() in /var/www/vhosts/homegrownglass.com/httpdocs/store/includes/application_top.php on line 17

 

Randomly. It just started happening, I didn't change any files at all in the past few days and it just started doing this.

I tried commenting out the line but then I just got a blank page.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...