When I try to rename the files in the admin and put in new Metadata after I upgraded to 1.4.6, I get:
Notice: Bad filename suffix in newImage() in /home/goodfree/public_html/zp-core/class-image.php on line 73
Notice: Bad filename suffix in newImage() in /home/goodfree/public_html/zp-core/class-image.php on line 73
Notice: Bad filename suffix in newImage() in /home/goodfree/public_html/zp-core/class-image.php on line 73
Warning: Cannot modify header information - headers already sent by (output started at /home/goodfree/public_html/zp-core/class-image.php:73) in /home/goodfree/public_html/zp-core/admin-edit.php on line 447
Didn't happen in 1.4.5.9
Has this happened to anyone and have you found a workaround?
Comments
The Admin Panel seems really really slow now(its been slow for a while to load). Seems like when I want to edit images, it takes years to load.
2. Regarding the slow backend: Have you rules out the things mentioned here? http://www.zenphoto.org/news/problems-with-albums-and-images
It is most likely too big images plus possibly random album thumbs.
Its kind of weird because the changes actually go through.
Also if a category has more than 10 images, clicking on the edit button just takes me to an album edit page and not an image edit page.
There seems to be a lot of things that basically don't really work in admin after the upgrade to 1.4.6. You guys seemed to have changed the way editing images within albums works.
It was slow but you could work with it in 1.4.5.9 but now it functions differently and doesn't really work.
I am not sure I understand. Which edit button you mean exactly? From the album list (http://www.zenphoto.org/screenshots/zenphoto-admin/gallery.jpg.html) you get first to the album edit page (http://www.zenphoto.org/screenshots/zenphoto-admin/album.jpg.html) and only if you click on the icon with the image number on the right you get to the images edit page (http://www.zenphoto.org/screenshots/zenphoto-admin/images-editing.jpg.html) directly. That actually has not changed.
Regarding the renaming you might need to rename the image first since that happens on the file system and then edit meta data. That might be a bug with renaming the file and editing the data together. I will try to reproduce that.
If I just try to rename the file without hitting "edit all image data", the changes don't go through.
Basically editing images does not work at all after the upgrade, it worked fine in 1.4.5.9.
What did you guys change? I looked through the changelog and couldn't find anything critical.
You can try to lower the number of images per page as that might be the old issue with too many form elements to post. But I would wonder about that since what you get via "Edit all image data" is now calling a new page instead being just hidden via JS as on 1.4.5.9 for exact this reason.
But I now understand what you mean with being slow. Strangely to me only the title field, the main content field is fast as ever for me. I can only assume that the script that checks for the form changes is causing that. That is the only thing new besides that. And that would be a case of too many form elements as well.
Update: Interestingly I cannt reproduce the slowliness on my local server. Probably the number of tags makes a difference as any entry is a form element, too.
Notice: Bad filename suffix in newImage() in /home/goodfree/public_html/zp-core/class-image.php on line 73
Notice: Bad filename suffix in newImage() in /home/goodfree/public_html/zp-core/class-image.php on line 73
Notice: Bad filename suffix in newImage() in /home/goodfree/public_html/zp-core/class-image.php on line 73
Warning: Cannot modify header information - headers already sent by (output started at /home/goodfree/public_html/zp-core/class-image.php:73) in /home/goodfree/public_html/zp-core/admin-edit.php on line 447
Come from when I try to edit via the "Edit all image fields"?
I have a feeling these are linked.
As for reproducing the error, if you have more images in an album that can fit on a page listing, go to page 2 and click on the "Edit all Image data". Page 1 works fine, but trying to edit the images on page 2 doesn't work for me.
Originally we wanted to place them on "Edit all image fields" but felt that they need quick access. However there is of course the bulk action for it, too. That can be changed.
I am not sure I understand the "Edit all images data" and the page 2 issue. If you click on that you get one page for the image you clicked on it. There are not supposed to be more pages to click through at all (regardless that there is a pagination at the bottom).
Be nice if tags only showed up on the "edit all image data" page.
The page 2 issue is each album lists 10 images per page then there's the pagination for page 2,3,4 etc. Click on page 2 of the images and try "edit all image data" link, it doesn't work.
Same as ever GD 2.x or Imagick 3.0.0+ and ImageMagick 6.3.8+
If there is over 100 tags on the list, it slows down?
Number is an example. The only difference to my local test site and zp.org is that zp.org has many more tags. If you have in total 50 tags (not important if assigned) you have 50 form elements per images and if you have 10 images per page you got 500. Posting them all can surely overload but is rarely the case. I can only assume the form check js that checks all form elements is involved. However removing the tags selection list did speed up things, not removing the script. So I will do that in the master soon and you can retry if that speeds things up again.
The page 2 issue is
Ah, now I finally got it and I can reproduce it, too. Good that already have a ticket.
To my best knowledge no requirement regarding the graphics libary requirement changed since 1.4.5. All working here as ever including standard shared hosting. Your error could be related to a failed image filename change, too.
I honestly preferred the dropdown on the meta fields to this editing in a new page. It was quicker and easier.
These are all things can be done differently with our planned changes and your feedback is very valuable and welcome. But as you can imagine since we want to do some general UI changes and those properly that might take quite a while. So for now we sadly have to live with some compromises.
I was just hoping for a bug fix on the line 73 error and also being able to edit all the photos on the separate page. Right now I am doing them manually(the metadata) in mysql.
If you have any plans for a paid product with more premium support at a subscription price(say $25 per month) that would be targetted towards larger sites like large galleries or repositories with more theme fitting for that kind of thing, let me know, I would be interested in subscribing
Also another error in 1.4.6 is that when you edit the several images(not in the separate page), like changing their filename, tags, at a time just from the editing images within the album, the changes don't go through. It only works if you edit them one at a time.
Zenphoto should of course work on all kind of sites. I will see to get the image edit page faster by moving the tags selector to the "all image data" extra page and try to fix that "all image data" link issue sometime the next days. More I cannot do at the moment.
I would refuse any significant backend changes before we are clear what we do how to avoid unnecessary double work. All in very early states and it must be doable without breaking everything. That's why feedback like yours is very welcome and helps us to collect what can be done better then.
There are no plans for any premium service (I personally certainly do paid support). That would be one step before the other anyway right now anyway. I think our support here is actually quite premium given our number and not doing this as a main job ;-)
My filesname I rename to are like "michigan-state-park-lake-and-clouds.jpg" . It works ok if I just edit the truncated edit from the albums(only if I do one image at once though) but does not work if I go to the "Edit all Metadata" page.
I finally could reproduce the bad image uffix error but I have no fix yet. That might take longer to fix.