![]() |
|
Error notices when saving an album images uploaded with ZenPhoto Publisher - 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: Error notices when saving an album images uploaded with ZenPhoto Publisher (/thread-7789.html) |
Error notices when saving an album images uploaded with ZenPhoto Publisher - kilroy - 31-10-2010 I get several error notices when saving album images (tab &tab=imageinfo). A series lines with: And a last line: My image file names are like: birthday-party-2009-17.jpg, so nothing fancy. Images are uploaded via the Lightroom 3 plugin: ZenPhoto Publisher. Error notices when saving an album images uploaded with ZenPhoto Publisher - sbillard - 01-11-2010 There will be entries in your debug log that may tell us what is happening. Please retrieve one such and post it here. Error notices when saving an album images uploaded with ZenPhoto Publisher - kilroy - 02-11-2010 Here are three occurrences of the error. Sorry, but the error message is in french (as my website) Backtrace: Mauvais suffixe de nom de fichier dans newImage() Error notices when saving an album images uploaded with ZenPhoto Publisher - acrylian - 02-11-2010 What Zenphoto release btw? Besides, I have no idea what this Lightroom Publishing service actually does. Error notices when saving an album images uploaded with ZenPhoto Publisher - sbillard - 02-11-2010 The save is of an image with no name--that is the name is blank. I do not know how that could happen unless you have some kind of character set compatibility issues on you installation and the file names have diacritical marks. Error notices when saving an album images uploaded with ZenPhoto Publisher - kilroy - 02-11-2010 The plugin enables loading photos and managing albums directly from Lightroom 3, a photo editing app. Error notices when saving an album images uploaded with ZenPhoto Publisher - sbillard - 02-11-2010 You might try a database refresh in case there are "bad" image records in it. Error notices when saving an album images uploaded with ZenPhoto Publisher - duddimai - 04-02-2011 I have the same problem. Just downloaded the version from nightly build, so should have the newest version. my logs says the same: Refreshing the database did not help. What ever changes i make, are saved so its not a critical problem, just not very user friendly and very very annoying. I hope there's a solution. Error notices when saving an album images uploaded with ZenPhoto Publisher - sbillard - 04-02-2011 Can you look at the HTML for your admin/edit page before saving. You will find there a line like: Error notices when saving an album images uploaded with ZenPhoto Publisher - Harmann - 13-03-2011 The problem seems to be in server settings not in zp-core. In my case only first 200 POST variables were passed to the admin-edit.php script, and amongst them image counter (e.g. 10) and only first four images' data. Adding following lines to .htaccess file overriden server settings and solved the problem (php_max_size is set to 64M):
Error notices when saving an album images uploaded with ZenPhoto Publisher - acrylian - 13-03-2011 @Harmann: the original topic was about a third party tool named ZenphotoPublisher. Is your issue related to that or what exactly? Please provide a little more info about what you did and what the exact issue was. I am not sure about what 200 post variables you are talking exactly. Error notices when saving an album images uploaded with ZenPhoto Publisher - Harmann - 13-03-2011 kilroy and others mentioned receiving ` ... Warning: Cannot modify header information - headers already sent by (output started at /home/imhotep/www/zp-core/class-image.php:47) in /home/imhotep/www/zp-core/admin-edit.php on line 362 It turned out, that the reason was the size of $_POST[] array passed to the admin-edit.php script. Default settings of my server limit it to 200 elements. However, submitted 'albumedit2' form sends much more data to the server. Script receives correct info about the number of images it should process, but only part of the image details (in my case, it was truncated somewhere in the middle of the 5th image data). In $_POST[] array there is no data for '5-filename', '6-filename', ..., 'n-filename' keys, and one gets 'Bad image name' error. Overriding server limits solves the problem. Error notices when saving an album images uploaded with ZenPhoto Publisher - acrylian - 13-03-2011 So your report is actually about image editing itself then? I can really assure that Zenphoto works fine on normal shared hosts without any of these changes (mine has suoshin installed as well). Of course server configurations can differ much and we can't cover all. Error notices when saving an album images uploaded with ZenPhoto Publisher - Harmann - 13-03-2011 The server uses PHP 5.2.14 and is protected with the Suhosin Extension 0.9.31. suhosin.post.max_vars variable is by default set to 200 and that caused the problem. Most probably without this restriction Zenphoto would work correctly. I am sure it does. I would suspect that in case of ZenPhoto Publisher problems, which are described above, the cause is the same. Error notices when saving an album images uploaded with ZenPhoto Publisher - acrylian - 13-03-2011 Sure, probably a valuable info for some. Just to mention I have PHP 5.2.14 and suoshin 0.9.32.1 on my server and I can't even find that post_max setting in phpinfo at all. So I assume it will probably be the default value. (I have no access to the php.ini as this is a shared host, changes can done via htaccess). Strange is I never encountered this issue with any version of Zenphoto on that or other shared hosts. So it might also be in combination with something else. Error notices when saving an album images uploaded with ZenPhoto Publisher - sbillard - 13-03-2011 You can change the number of images on an admin tab page. Currently the minimum is 10 images, but I suppose that could be made smaller. Anyway, you can do the math. If you have 10 images with 100 items you would 1000 elements to post on the save. |