Product titles and thumbs missing after server update

zirzy

arttut02:

Yes, only titles where is nordic letters (ä,ö,å) are missing. When I take letter ä away from tittle, title works fine.

zirzy

freeSbee

php error looks like this:

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in /var/www/vhosts/spastore.fi/httpdocs/wb/templates/Spastore_kauppasivut/index.php on line 43

Notice: Undefined variable: setting_continue_url in /var/www/vhosts/spastore.fi/httpdocs/wb/modules/bakery/view_overview.php on line 119

Notice: Undefined variable: setting_continue_url in /var/www/vhosts/spastore.fi/httpdocs/wb/modules/bakery/view_overview.php on line 273

arttut02

Hi guys!

I tracked down the problem to htmlspecialchars function in PHP.

$title     = htmlspecialchars(stripslashes($item['title']));  = Empty string.
$title     = htmlspecialchars(stripslashes($item['title']), ENT_COMPAT, DEFAULT_CHARSET); = Gives me the title.

I think this is related to default_charset changes in PHP (ISO-8859-1 -> UTF-8). Changing the default_charset value in PHP.INI didn't had any affect tho.

Also it seems that this is a problem only for data that comes from db because
echo htmlspecialchars(DEFAULT_CHARSET);
gives me an string of default_charset.

zirzy

Thanks for fast reply!

freeSbee:
I will do that!

Jacobi22:
Latest version in both.

jacobi22

Quote from: zirzy on November 17, 2013, 03:01:49 PM
We had 2.7 version WB and 1.6 version Bakery (if I remember right) .................Server Owner told us to update our WB and Bakery and it should work, but it did Not.

and whats the actual version now?

freeSbee

Hi zirzy

Please set WB "Settings" > "PHP Error Reporting Level" to E_ALL and post any php errors displayed by WB.

Regards Christoph

zirzy

..and in backend all products are listed but when i open product details some products are missing titles. If i write titles again and save, new title desapears.

:?

zirzy

Hi,
I'm wondering What happend during server update.. We had 2.7 version WB and 1.6 version Bakery (if I remember right) and after server php update (->5,4) almost all product thumbs and titles are missing.. Product info is still in database but Not showing in frontend. Does enyone know What is wrong? Server Owner told us to update our WB and Bakery and it should work, but it did Not.

There is other problems too but they are minor to this..

-Zirzy