ZenphotoCMS Forum
ALBUM_RIGHTS - 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: ALBUM_RIGHTS (/thread-5799.html)



ALBUM_RIGHTS - Ellaweb - 2009-09-04

When I click on the tab "Edit", in the admin toolbox, I get this errors:

Notice: Use of undefined constant ALBUM_RIGHTS - assumed 'ALBUM_RIGHTS' in /data/vhome/vhost0342/http/zenphoto/zp-core/admin-edit.php on line 16

Warning: Cannot modify header information - headers already sent by (output started at /data/vhome/vhost0342/http/zenphoto/zp-core/admin-edit.php:16) in /data/vhome/vhost0342/http/zenphoto/zp-core/admin-functions.php on line 256

Notice: Use of undefined constant ALBUM_RIGHTS - assumed 'ALBUM_RIGHTS' in /data/vhome/vhost0342/http/zenphoto/zp-core/admin-edit.php on line 1114.

Everything was working fine when I logged in the last time. Any ideas?




ALBUM_RIGHTS - Ellaweb - 2009-09-04

I solved the problem. The constant ALBUM_RIGHTS must be EDIT_RIGHTS. Now it works fine.




ALBUM_RIGHTS - acrylian - 2009-09-04

Well, ALBUM_RIGHTS and EDIT_RIGHTS are two separate things actually. I have not seen that. What zenphoto version was that?




ALBUM_RIGHTS - sbillard - 2009-09-04

There is no such define as EDIT_RIGHTS any more. Sounds like you have a mixed bag of zenphoto script files. You should be sure you upload the complete set of files. It almost always causes problems to mix files from different releases.