You are here:  » Error Log

Active Forum Topics


Error Log

Submitted by Tobix on Wed, 2021-11-10 18:11 in

Hi, David.
I have errors in the log file which are really important.

Here it is:

{code saved}

How can we solve?

Submitted by support on Thu, 2021-11-11 08:13

Hi Tobix,

They appear to be related to the percentage / average discount mods but indicating that html/product.php is being included without any product results (e.g. and old product that has gone from the database) however that should be handled as it stands in the distribution. What I would suggest to cover any modifications, edit products.php and look for the following code towards the end of the script (beginning at line 160 in the distribution)

  if (isset($product)) require("html/product.php");
  if (isset($prices)) require("html/prices.php");

...and REPLACE with:

  if (isset($product["products"]) && count($product["products"]))
  {
    require("html/product.php");
    require("html/prices.php");
  }

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Thu, 2021-11-11 15:09

I have edited the products.php file but nothing to do.

I copied the tapestry.php file but nothing. The mistakes are always the same:

{code saved}

Submitted by support on Fri, 2021-11-12 08:05

Hi Tobix,

Please could you email me latest products.php, html/product.php and includes/tapestry.php and I'll check that out further for you...

Thanks,
David.
--
PriceTapestry.com