Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Previous - Next Problem.


yahalimu

Recommended Posts

Hi, I'm using vanilla 2.3 and get this error whenever I click on a product image on the front page..

 

 

 

 

 

Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/vhosts/mysite.co.uk/httpdocs/includes/products_next_previous.php on line 46

 

Warning: Variable passed to each() is not an array or object in /var/www/vhosts/mysiten.co.uk/httpdocs/includes/products_next_previous.php on line 48

 

 

 

There is nothing I can do to stop this, can anyone point me in the right direction?

 

I've searched the forums but no luck.

 

I HAVE added the definitions in english.php and product-info.php

 

Iain

Link to comment
Share on other sites

don't think is is a vanilla 2.3, there is no file catalog/includes/products_next_previous.php by default

 

Do you try to install an addon, or is this maybe a template?

 

However, first thing to do is, to check what kind of data lines 46 and 48 of the file are expecting and what they receive

Link to comment
Share on other sites

Hello, yes it is a template, it seemed to work before the worldpay module was activated but that may be nothing to do with it.

 

I am used to 2.2, this is very different.

 

Also between the now and next buttons it says 'product 1 of 0' which is obviously something to do with it methinks.

 

Thanks for the info.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...