We have installed the latest version of ZENPHOTO and it does seem to be working OK except to 1 issue.
When we create a NEW Album it does not save the Album Title data. We can add the data when editing an album but it disappears when you click on APPLY
this also happens for any data in the Album Description field.
Comments
Error log without deprecated items (did not show anything after trying to update album name):
{4541:Thu, 18 Jul 2013 02:54:36 GMT} Zenphoto v1.4.4.3[3b80873e7088f8115211acd7901634eda308ca2d]
NOTICE: Undefined variable: page in /home1/mysitecr/public_html/Venezuela/themes/venezuela2/gallery.php on line 72
require called from include (index.php [13])
from index.php [108]
Versión de Zenphoto 1.4.4.3 [3b80873e70] (Official build)
Puesto actual de ubicación: es_ES.UTF8
WEB path: http://venezuela.mysitecreations.com
Current tema de galería: venezuela2
Versión PHP: 5.3.26:
Soporte grafico: PHP GD library bundled (2.1.0 compatible).
supporting: gif, jpg, jpeg, png, bmp
Límite de memoria de PHP: 128M (Nota: ¡Tu servidor puede estar dándole menos!)
Versión MySQLi: 5.5.32:
Nombre de base de datos: mysitecr_znp1
Prefijo de las tablas: zp_
Filtro de SPAM: simpleSpam
Errors:
{24473:Thu, 18 Jul 2013 14:27:11 GMT} Zenphoto v1.4.5[5cffbe455efd7b3c2579eaaaf8e6fac91dd878c7]
NOTICE: Undefined variable: page in /home1/mysitecr/public_html/Venezuela/themes/venezuela2/gallery.php on line 72
require called from include (index.php [13])
from include (index.php [112])
from index.php [15]
{24473:Thu, 18 Jul 2013 14:27:11 GMT}
USER WARNING: printAdminToolbox (called from functions.php line 242) is deprecated This feature is now done by a "theme_body_close" filter. You can remove the function call.You can disable this error message by going to the deprecated-functions plugin options and un-checking printAdminToolbox in the list of functions. in /home1/mysitecr/public_html/Venezuela/zp-core/zp-extensions/deprecated-functions.php on line 86
trigger_error called from deprecated_functions::notify (deprecated-functions.php [86])
from printAdminToolbox (deprecated-functions.php [1295])
from printFooter (functions.php [242])
from require (gallery.php [111])
from include (index.php [13])
from include (index.php [112])
from index.php [15]
{24718:Thu, 18 Jul 2013 14:27:13 GMT}
USER WARNING: printAdminToolbox (called from functions.php line 242) is deprecated This feature is now done by a "theme_body_close" filter. You can remove the function call.You can disable this error message by going to the deprecated-functions plugin options and un-checking printAdminToolbox in the list of functions. in /home1/mysitecr/public_html/Venezuela/zp-core/zp-extensions/deprecated-functions.php on line 86
trigger_error called from deprecated_functions::notify (deprecated-functions.php [86])
from printAdminToolbox (deprecated-functions.php [1295])
from printFooter (functions.php [242])
from include (album.php [445])
from include (index.php [112])
from index.php [15]
Feel free to use flowplayer3 still but it will not be maintained in the future.
Again, without more info about the album edit issue we can't help.
That just leaves the album naming issue. Album folder permissions are 0755. I have another similar install that works fine with 1.4.4.3. This one used to work until after the server migration/PHP version issues that I was having (got an error saying that PHP version had been changed and needed to rerun setup). I should have mentioned this but it all seemed to work well after that and forgot about it until the need to rename/add folders. There could be something funky messed up during the fix because as I recall I tried to upgrade instead of doing the fix first, which didn't work so I reverted to a backup and completed the fix, then upgraded. However, when I loaded the backup I didn't load the database backup also so not sure if that would have caused the issue or not... lots of variables here, sorry.
For us to be of any help solving this we will need to know the error itself. Depending on the error, it may show up in the Zenphoto debug log or only in your server's CGI error logs.
The recommended approach to this is to reset your error logs to empty and do the apply for your album changes (and nothing more than this.) That will give you logs with only pertinent information. Otherwise the extraneous entries can cause you to overlook the actual issue.
fecha solicitante IP typo usuario ID usuario nombre resultado autoridad informacion adicional
2013-07-18 13:54:34 75.129.57.249 Reinicializar registro admin Nathan Bruley Éxitoso zp_admin security.log
Establecer permisos de seguridad de registro Fallado Los permisos de archivos de registro de seguridad son 0640
2013-07-18 13:54:50 75.129.57.249 Album access admin Nathan Bruley Blocked /zp-core/admin-edit.php
2013-07-18 13:55:00 75.129.57.249 Album access admin Nathan Bruley Blocked /zp-core/admin-edit.php?action=newalbum&folder&name=nuevo álbum&albumtab=false&XSRFToken=56e053d8268997c2cda137b9650fa6c5c6b90aeb
2013-07-18 13:55:00 75.129.57.249 Album access admin Nathan Bruley Blocked /zp-core/admin-edit.php?page=edit&album=nuevo-album
2013-07-18 13:55:04 75.129.57.249 Album access admin Nathan Bruley Blocked /zp-core/admin-edit.php?page=edit&action=save&album=nuevo-album
2013-07-18 13:55:04 75.129.57.249 Album access admin Nathan Bruley Blocked /zp-core/admin-edit.php?page=edit&album=nuevo-album&saved&tagsort&tab=albuminfo
2013-07-18 13:55:40 75.129.57.249 Registro descargado admin Nathan Bruley Éxitoso zp_admin security.log
From your logs, Zenphoto is not being allowed to make permission changes by your site. This may well be related to not being able to rename album folders, but would not be involved in simply changing database items like descriptions.
The blocked access is another story. Check that your admin account does have all the proper rights set--for the site administrator all boxes should be checked.
Re blocked access, do you mean boxes checked in options - security? The only one unchecked is cookie security. If you mean something else, could you please give me a link to info on how to do that? Or actually you probably meant under users-- yes, all those boxes are checked.
chmod -R 755 /ZENPHOTOLOCATION/albums
Any directories you have to go through to get to your albums folder would be placed in the ZENPHOTOLOCATION bit...or just change to the zenphoto directory and:
chmod -R 755 albums
The syntax being:
chmod -R <permissionsettings> <dirname>
That will at least make sure everything permissions related is possible with regards to modifying those folders. Couldn't hurt and worth a try I'd say. I've seen this issue before, especially when the script owner and the FTP upload owner vary and default permissions kick in on certain folders and not others which is a common Linux configuration issue.
The advice given previously by another user to do chmod -R 0755 is wrong as that will set all files within the folder and sub folders to 0755 as well as the folders which is not what you want.
On my ISP the web server is a member of the group and so when permissions are set for a folder as 0755, that is
owner group other
rwx r-x r-x
the web server is unable to write to the directory and so image updates fail.
As far as I know the instructions in the docs at http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders are not correct, as they say " 0644 files/0755 directories ([rw-r--r--] files and [rwxr-xr-x] directories) permissions, with [youruser:webservergroup] ownership" on the one hand, but then follow that with "keep ownership of the files yourself, give group access to the web server, and shut everyone else out." Sadly the "0644 files/0755 directories" disallows by definition "group access to the web server" and so will not work except where the webserver is running as owner which would be very unusual. To do as is initially suggested will normally require 0664 files/0775 directories. I have just filed a bug about this doc issue.