Forums / General Questions / HTML messed up in Categories & EZpages

HTML messed up in Categories & EZpages

Locked

Views: 967

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
2 Sep 2008, 10:17 AM
#1
brightgreen avatar

brightgreen

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

HTML messed up in Categories & EZpages

Hi

My site's been up for about a year without problem (vsn 1.3.7), but I went away recently and left a colleague in charge and "it broke" in that neither Admin nor Customers could access the site.

The site is now back up and running after reistalling from backup but the HTML on the EZPages now seems to be being overriden by something (I've tried rewriting them but it hasn't helped). I've even gone into the database and copied and pasted the data from the EZPages into a blank Dreamweaver page and the HTML looks fine. This Page for instance should all be in <font face="verdana,arial,helvetica,sans-serif" size="2"> with all headers strong><font color="#009933"> and a load of \ have appeared on the page in front of '.

Similar seems to have happened to the Categories section. Again, I've tried clearing them and rewriting and everything looks fine when I close the HTML Editor, but the page does not display as expected and when I re-open the HTML Editor the formatting has changed!

Also, some, of the images on these pages have disappeared. A peek at the server error log shows for example:
[Mon Sep 1 21:00:04 2008] [error] [client 79.65.146.163] File does not exist: /domains/g/r/greenlamps.co.uk/public_html/"http://www.greenlamps.co.uk/images/wheeliebinsmall.jpg/"
and I've tried deleting and re-adding the image as /image/wheeliebinsmall.jpg but when I go back into the text editor the properties have become "http://www.greenlamps.co.uk/%22http://www.greenlamps.co.uk/images/wheeliebinsmall.jpg/%22".

I don't think any of the products have been affected.

Edited to add, and pages are displaying differently in IE (larger front) vs Firefox (medium) and Safari (small).

I am completely baffled by this and would be grateful for any advice.

2 Sep 2008, 11:02 AM
#2
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: HTML messed up in Categories & EZpages

Guess there is only one way to overcome this:

delete the EZ page(s) affected and repost them with clean text.

Obviously your database was messed up somewhere along the lines. :oops:

As for missing images I would simply upload them again and insert where necessary / appropriate.

One rule with Zencart: ALWAYS backup your database before you do something like this. Even better to create a backup on a daily basis - you never know what happens "behind the scenes" when you sleep...

Cheers / Frank

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

2 Sep 2008, 11:37 AM
#3
brightgreen avatar

brightgreen

New Zenner

Join Date:
Sep 2008
Posts:
10
Plugin Contributions:
0

Re: HTML messed up in Categories & EZpages

Hi Frank

Thanks for coming back so quick.

I've tried deleting both the content of the EZpages and the EZpages themselves and rewriting them with clean text, but the problems remains. It's like something is still overriding the HTML code itself.

Same with the images, I've tried deleting them, reuploading and then reinsterting the image "/image/wheeliebinsmall.jpg" and saving it. The when I test it, the image does not display and, weirdly, the image properties have changed somehow to "http://www.greenlamps.co.uk/%22http://www.greenlamps.co.uk/images/wheeliebinsmall.jpg/%22".

It's all really bizarre and I really can't figure out what's causing this and how to make it better :no: