WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Product titles and thumbs missing after server update
  • Print
Pages: [1]   Go Down

Author Topic: Product titles and thumbs missing after server update  (Read 8128 times)

Offline zirzy

  • Posts: 178
Product titles and thumbs missing after server update
« on: November 17, 2013, 03:01:49 PM »
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
Logged

Offline zirzy

  • Posts: 178
Re: Product titles and thumbs missing after server update
« Reply #1 on: November 17, 2013, 03:17:07 PM »
..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.

 :?
Logged

freeSbee

  • Guest
Re: Product titles and thumbs missing after server update
« Reply #2 on: November 17, 2013, 03:22:43 PM »
Hi zirzy

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

Regards Christoph
Logged

jacobi22

  • Guest
Re: Product titles and thumbs missing after server update
« Reply #3 on: November 17, 2013, 03:31:45 PM »
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) .................Se rver Owner told us to update our WB and Bakery and it should work, but it did Not.

and whats the actual version now?
Logged

Offline zirzy

  • Posts: 178
Re: Product titles and thumbs missing after server update
« Reply #4 on: November 17, 2013, 06:32:33 PM »
Thanks for fast reply!

freeSbee:
I will do that!

Jacobi22:
Latest version in both.
Logged

Offline arttut02

  • Posts: 3
Re: Product titles and thumbs missing after server update
« Reply #5 on: November 17, 2013, 10:18:40 PM »
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.
Logged

Offline zirzy

  • Posts: 178
Re: Product titles and thumbs missing after server update
« Reply #6 on: November 18, 2013, 09:28:42 AM »
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_ur l in /var/www/vhosts/spastore.fi/httpdocs/wb/modules/bakery/view_overview.php on line 119

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

Offline zirzy

  • Posts: 178
Re: Product titles and thumbs missing after server update
« Reply #7 on: November 18, 2013, 10:07:34 AM »
arttut02:

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

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Product titles and thumbs missing after server update
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2