Pages (2):    1 2
Administrator
Administrator
acrylian   26-01-2013, 13:25
#21

@bpedman: It is not about the host not allowing to modify the files. All I get is a http error respectively a 500 internal error and that only under PHP 5.4. As noted above and in the ticket noted does all work for me under PHP 5.4 on my local server and under PHP 5.3 on the live server.

So we assume this is related to the server configuration. Especially since my live server has server security name Suoshin enabled that might not like PHP 5.4

It might be something else but we have no idea what so the help of the host is needed to solve this.

You issue might be the same or different. But we would appreciate if you find anything out

Member
Member
bpedman   26-01-2013, 16:35
#22

Quote: It is not about the host not allowing to modify the files. All I get is a http error respectively a 500 internal error and that only under PHP 5.4. As noted above and in the ticket noted does all work for me under PHP 5.4 on my local server and under PHP 5.3 on the live server.
Oh, I see. OK, I didn't go read the ticket. Yeah I think this might be a different issue. When I try to create an album I get a blank page but I do not get a server error. The server actually responds with an HTTP 200...and after reading the first post I don't get a "weird link" or anything, I just get a blank page but I do get the same message in the security log that I am blocked from accessing the album.

Also, for extra info I am running PHP 5.3, Ubuntu 12.04 x64, Nginx with pretty much the same config as listed here: http://wiki.nginx.org/ZenPhoto

Administrator
Administrator
acrylian   26-01-2013, 16:52
#23

Ok, blank page generally means a fatal php error that is tracked on the server normally (zenphoto's logs cannot since it is fatal).

I don't understand much of nginx so it might be that since we currently test only on Apache based servers. That will probably change soon as our coming new server will use nginx as well.

Member
Member
bpedman   26-01-2013, 17:13
#24

OK, I was able to setup xdebug (been a while since I played with PHP) and found the issue I believe.

This actually isn't a fatal PHP error. It is actually just forcefully exiting (calling exitZP()).

This is all happening in admin-edit.php. When I create a new album it sends a request to the server like this:

/zp-core/admin-edit.php?action=newalbum&album=&name=new%20album&albumtab=false

The problem here is the 'album' GET parameter. In admin-edit.php it checks if isset($_GET['album']. Technically the parameter is set but the value is empty. At this point it makes a call to instantiate a new Album object, but since the album parameter is empty it fails and then exits. For now I change the line to this: if (isset($_GET['album']) && !empty($_GET['album'])) and it works now

Administrator
Administrator
acrylian   26-01-2013, 17:50
#25

Could you maybe open a ticket with the exact line numbers?

Member
Member
sbillard   26-01-2013, 19:11
#26

Do not bother opening a ticket. First make sure you are running the current support release. Then again go back and check ALL your error logs if the problem persists.

Your link is a down-stream problem of a failure elsewhere.

Member
Member
rolandinchania   30-01-2013, 13:56
#27

I have the same problem with new albums, but was able to create one with:

uploadhandler flash

"upload" "images" select "create new album" and enter title
select a image to upload ...

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.