Member
Member
vincent3569   2013-01-02, 12:53
#1

hi,

I installed the zenphoto 1.4.4 release (as usual, thanks for the really great job).

In news and pages, images from my gallery are not displayed.
You can have a look here http://dev.vincentbourganel.fr/news/photo-du-mois-decembre-2012
and here http://dev.vincentbourganel.fr/pages/materiel

I tried to do some debug, that you can see here : http://dev.vincentbourganel.fr/zp-core/i.php?a=images/photos-du-mois&i=img_4545.jpg&s=500&wmk=!&debug
and here : http://dev.vincentbourganel.fr/zp-core/i.php?a=images/illustrations&i=canon-7d.jpg&s=350&wmk=!&debug

Both, I have this message :

Quote:Zenphoto Image Processing Error: Forbidden(2)
is there an issue ?

Administrator
Administrator
acrylian   2013-01-02, 13:05
#2

Permission errors in your server log maybe? Safari reports:
Failed to load resource: the server responded with a status of 403 (Forbidden)

Member
Member
vincent3569   2013-01-02, 14:24
#3

unfortunatly, I have no error anywhere.

Administrator
Administrator
acrylian   2013-01-02, 15:19
#4

I have no idea. It works fine on our server (And that is a bit difficult wiht permissions as well).

Member
Member
sbillard   2013-01-02, 18:54
#5

This is an error in calling the image processor. There is a security change in 1.4.4 to prevent a denial of service attack instituted by the atacker generating i.php url requests.

If you have "captured" an i.php url in your database you will have to re-edit that item to get a new url. (BTW, you really don't want to capture image URLs until they have been cached--otherwise the url will never change from the image processor.)

Member
Member
vincent3569   2013-01-02, 21:21
#6

hi
I don't have "captured" any i.php url. All url have been generated via the Zp icone of TinyMCE.

I tried to insert the image again, still with Zp icone of TinyMCE.
but the result is the same : I can't see any picture.
for example, the src of the picture change from "/zp-core/i.php?a=images/photos-du-mois&i=img_4545.jpg&s=500&wmk=%21" to "/zp-core/i.php?a=images/photos-du-mois&i=img_4545.jpg&check=9ce8aded1c74ed12c652610a831a39b72e6b0e51&s=400&wmk=!"

see the example here : http://dev.vincentbourganel.fr/index.php?p=news&title=photo-du-mois-decembre-2012 (the first link to the image).

Administrator
Administrator
acrylian   2013-01-02, 21:33
#7

All works for me: http://www.zenphoto.org/pages/testpage

Member
Member
vincent3569   2013-01-02, 21:55
#8

ok, but on my website, it doesn't work, and maybe, for many other users :-s
so, what we can do to solve this problem ?

Member
Member
sbillard   2013-01-02, 22:14
#9

How about the url:
[img]/zp-core/i.php?a=images/photos-du-mois&i=img_4545.jpg&s=500&wmk=%21[/img]????

that one is not security protected so it must be from before the 1.4.4 release. It will cause the forbidden error. There may be a different reason for the first image not rendering.

Member
Member
vincent3569   2013-01-03, 10:05
#10

hi sbillard.
as explain before, I gave you an example :

  • the second picture ([img]/zp-core/i.php?a=images/photos-du-mois&i=img_4545.jpg&s=500&wmk=%21[/img]) is the original code in my news, wich refers to image processor (I don't change anything after migration to 1.4.4).

  • However, the first picture ([img]/zp-core/i.php?a=images/photos-du-mois&i=img_4545.jpg&check=9ce8aded1c74ed12c652610a831a39b72e6b0e51&s=500&wmk=![/img]) is the new code generated by tinyMCE with zp 1.4.4, wich still refers to image processor, but with added code.

I have the issue with older link to the image, but I have the but issue too with the new code generated...

I have no problem of image in gallery part.
I have no problem on pages when there is some php code to generate picture in Codeblocks(this page for example : http://dev.vincentbourganel.fr/).

Maybe, there is a problem with ZP extention of TinyMCE ?
this extention should generate cache image and create a link like src="/cache/photos-du-mois/img_4545_500.jpg".

Administrator
Administrator
acrylian   2013-01-03, 11:56
#11

Indeed I can confirm the bug, it is only happening on the custom size option. All others seem to work fine:
http://www.zenphoto.org/pages/testpage

I have created a ticket.

Member
Member
vincent3569   2013-01-03, 13:12
#12

thanks acrylian

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.