Hello,
i have just installed Zenphoto gallery. while everything seemed to work just fine, i encountered a problem: i cannot create any album via admin page "album" tab.
if i hit new album, i get the pop-up for the naming, but when hitting OK, it takes me to a new blank page with a weird looking link and nothing else happens.
i have searched the forum, but could not find anything on this topic. has anyone else seen/fixed this?
here is part of the link for the new page: admin-edit.php?action=newalbum&album=&name=new%20album&albumtab=false&XSRFToken=86cb7be7201396bf2ab40e12b3a65f4b9f349d54
thanks for your replies.
Andrei
Comments
I have checked the error log, but there seems to be no error related to the creation of new album.
Do you have any other advise?
as a sidenote, i am able to create albums via uploading images menu, but that is not what i need.
thanks for your help
Sory, but you will have to find that error if there is any chance of helping you on this.
http://myurl/zen/zp-core/admin-edit.php?page=edit&subpage=1&tab=imageinfo&album=New-Album&uploaded=1&albumimagesort=id_desc
Please post some details about your server configuration. I just encounter similar upload issues on my own host if set to PHP 5.4. There is some conflict with server security going on there as it does work with 5.3 on the same server (And 5.4 on my local server).
In the log page it is written "Album access" is "Blocked" but the user is administrator (he has all the rigths).
PHP version is 5.3.16.
Thanks
Also check permissions.
Fact is that without any proper error message we cannot find out what it is...
I also need to contact my host to find out if they hopefully have an idea about all three not working in PHP 5.4 mode there.
We have an closed ticket on uploader issues which is closed because of lacking errors:
https://github.com/zenphoto/zenphoto/issues/177
Feel free to join there with new info and/or reopen it.
my site: jianphotos.com
php: 5.3
mysql: 5.5.??
hosting at: hostmonster
checked log file, no errors.
please help
but this is not a good solution.
No, if you have read this (probably you did not) you would realize that "his host" does not belong to him nor is physically located where he can access it. Rather it is a hosting service that hosts his public site.
But since you are having this issue, why don't you just debug it?
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
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
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.
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
Your link is a down-stream problem of a failure elsewhere.
uploadhandler flash
"upload" "images" select "create new album" and enter title
select a image to upload ...