Hi,
I use ZC version 1.5.
Today I experienced some problem with the Catalog>Specials. I select a product, enter a date and a 5% discount and insert. The item is now on specials but with a 20% discount. I tried again, but whatever % discount I enter, the item is displayed on specials with 20% discount.
I checked the cache/debug and found the following:
Code:
[17-Jul-2012 04:55:26] PHP Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: Invalid UTF-8 sequence in argument in / MYADMIN /includes/init_includes/init_admin_history.php on line 34
I checked with the hosting and they tell me that they did not made any changes to the server in the past weeks. They also mention the following:
When looking at /MYADMIN/includes/init_includes/init_admin_history.php I do not see a closing ?> tag anywhere and the script just abruptly ends (which would certainly cause issues). These are the last 5 lines of that file (notice no PHP closing tag):
root@gemini [~]# tail -n 5 /home/ezistock/public_html/A123soleil/includes/init_includes/init_admin_history.php
return htmlspecialchars(WARNING_REVIEW_ROGUE_ACTIVITY . "\n" . implode(' and ', $matches[1]));
} else {
return FALSE;
}
}
Meanwhile, I try again and now everything seems suddenly back to normal. Do you know what could have caused the issue, and if there's anything I can do to prevent it from happening again?
Bookmarks