![]() |
|
Unwanted Div - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Unwanted Div (/thread-9874.html) |
Unwanted Div - Laurent - 2012-04-19 Hi, The red square show the unwanted display. It's only appear on the first page. When i go in the full article the div disapear You can see it live here : I tested with ZP 1.4.2.2, 1.4.2.3 and the last trunk 2012-04-18. Regards, Unwanted Div - acrylian - 2012-04-20 Try the nightly build, that is an encoding issue that is fixed there. Unwanted Div - Laurent - 2012-04-20 Excellent, Thank you Laurent Unwanted Div - Laurent - 2012-04-22 Hi Cdlt Unwanted Div - acrylian - 2012-04-22 The div is automatically inserted if you use tinyZenpage to embed images (see the docs on it). The bug is fixed but the div is now encoded as text thus visible. I fear you will need to either manually delete it or re-embed the image to fix this as it is saved that way in the database. Unwanted Div - Laurent - 2012-04-22 Ok, i understand now. Thanks for the answer Laurent Unwanted Div - Laurent - 2012-04-24 Sorry to bother about that, but i have the same behaviour. Laurent Edit : I do some other test. If I insert only one picture, the Unwanted Div - sbillard - 2012-04-24 Please present us with the exact options you select when inserting the picture. We will then try to reproduce the issure. Unwanted Div - Laurent - 2012-04-25 Ok, thank for your investigation. Step 1 : I select New/Articles then i select : New article This work fine for the first image, but i select more than one picture, the Div code is printed. Hope this help. Unwanted Div - sbillard - 2012-04-25 I have tried to follow exactly your steps above using version 1.4.2.3 [9925] and the Zenpage theme. I even attempted to insert the second picture before the title of the first one. I do not get the DIV to show up. Unwanted Div - Laurent - 2012-04-27 I run the 1.4.2.3 [9900] I will upgrade to the last soon. Laurent Unwanted Div - sbillard - 2012-04-27 The data in the database almost certainly is already html encoded. That should not be the case. Of course, if the strings are already wrong in the database changing releases will make no difference. The correction must be to the data. Unwanted Div - Laurent - 2012-04-28 Ok, I update to the last build : version 1.4.2.3 [9960]. and my beta database here : http://dl.dropbox.com/u/33602932/Capture02.PNG Laurent PS : both database are in ut8_unicode_ci Unwanted Div - Laurent - 2012-04-28 I delete the backslash in the database it doesn't change anything. So i delete all the div tag with the html editor in tinymce. It's work. But when i create a new article, the div tag come back. So i have to delete them again in order to have a correct display ... I continue to search ... Laurent Unwanted Div - acrylian - 2012-04-28 Again the div itself is correct and should appear. It should however not appear in the text as such. If you get backslashes you probably have magic_quotes enabled on your server. You really should turn that of. Although Zenphoto should work with that we don't really test it as it is an deprecated php function and should really be off. Unwanted Div - Laurent - 2012-04-28 No, Laurent Unwanted Div - acrylian - 2012-04-28 Ok, this encoding stuff can be really bugging. |