Forums / Templates, Stylesheets, Page Layout / V 1.3.9g Problems Displaying the £ sign in the Product info Box.

V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Views: 1,506

Results 1 to 11 of 11
25 Feb 2014, 9:45 AM
#1
spectre avatar

spectre

New Zenner

Join Date:
Feb 2014
Posts:
6
Plugin Contributions:
0

V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Hi I am new to this forum so please excuse me if I am in the wrong one.

I have been using Zencart Version 1.3.9g for quite a number of years now. Up to now it has been very good and reliable.

I did not first install the software, it was a IT company that we used to use did.

My problem is this. When you fill in the product description box to advertise the product, if I put a £ sign in the text, ie to highlight a price, when I press the Update button all the text disappears, go back put the same text in without the £ sign again click update, the text will be there still as it should be and go live. This hasn't always been the case, it used to be fine. I can think of no reason why this problem has arisen.

I am the only one who uses this software so no one else has "messed" around with any settings. I haven't done any updates recently that could cause the problem.

Has anyone got any ideas please?

Andrew...

25 Feb 2014, 4:09 PM
#2
spectre avatar

spectre

New Zenner

Join Date:
Feb 2014
Posts:
6
Plugin Contributions:
0

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Hi I have just tried typing other symbols with in the text % etc and it allows me to upload the text without deleting it all after clicking the update button, as far as I can tell it is only the £ sign it doesn't like.

many Thanks Andrew...

25 Feb 2014, 4:32 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Out of curiosity ... what happens if you use:
£

What happens if you use the symbol:
€

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Feb 2014, 4:40 PM
#4
spectre avatar

spectre

New Zenner

Join Date:
Feb 2014
Posts:
6
Plugin Contributions:
0

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Hi Ajeh, thankyou very much for your reply. I have just tried £ and that was fine it uploaded no problem, But it would not allow the € sign, it just deleted all the text again.

Thanks Again, Andrew...

25 Feb 2014, 5:17 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

What version of php are you running?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Feb 2014, 5:19 PM
#6
spectre avatar

spectre

New Zenner

Join Date:
Feb 2014
Posts:
6
Plugin Contributions:
0

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Erm I am not sure. Can you point me in the right direction please to find out?

Thanks Andrew...

25 Feb 2014, 6:26 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Peek in the Admin Tools ... Server Info ...

You will see the top section with a lot of information and what would be helpful is from the Menu down to where it says the PHP version ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Feb 2014, 6:55 PM
#8
spectre avatar

spectre

New Zenner

Join Date:
Feb 2014
Posts:
6
Plugin Contributions:
0

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Hi,

This is the info you asked for.

Server Information

Server Host: hosting11.firenet.co.uk (83.136.124.11) Database Host: localhost (127.0.0.1)
Server OS: Linux 2.6.18-348.3.1.el5 Database: MySQL 5.5.35-cll
Server Date: 02/25/2014 18:54:00 Database Date: 02/25/2014 18:54:00
Server Up Time: 18:54:00 up 6 days, 4:18, 1 user, load average: 1.13, 0.89, 0.79 HTTP Server: Apache/2.2.25 (Unix) mod_ssl/2.2.25 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.4.21
PHP Version: 5.4.21 (Zend: 2.4.0) PHP Memory Limit: 96M PHP Safe Mode: Off

Andrew...

25 Feb 2014, 8:14 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

You might look at this post and see if it is related ...
http://www.zen-cart.com/showthread.php?209048-PHP-5-4-4-dropping-product-descriptions

You should also check what other errors you may come across with v1.3.9g/h with php v5.4 ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

26 Feb 2014, 9:24 AM
#10
spectre avatar

spectre

New Zenner

Join Date:
Feb 2014
Posts:
6
Plugin Contributions:
0

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

Hi thanks for the pointers, it is all a bit over my head if I am honest. Do you think I need to roll back my server to 5.3? I followed the link in the 3rd reply, it tells you to add text but it doesn't say where I need to go to edit it?

Thanks Andrew...

26 Feb 2014, 3:06 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: V 1.3.9g Problems Displaying the £ sign in the Product info Box.

I just changed the file:
/your_secret_admin/includes/modules/product/preview_info.php

      for ($i=0, $n=sizeof($languages); $i<$n; $i++) {
        echo zen_draw_hidden_field('products_name[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_name[$languages[$i]['id']])));
[B]        echo zen_draw_hidden_field('products_description[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_description[$languages[$i]['id']]), ENT_COMPAT,'ISO-8859-1', true));
[/B]        echo zen_draw_hidden_field('products_url[' . $languages[$i]['id'] . ']', htmlspecialchars(stripslashes($products_url[$languages[$i]['id']])));
      }

And now it lets me add in the description:

Test the euro for € and the symbol € to see if it works. Test the pound for &pounds; and the symbol £ to see if it works.

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!