ZenphotoCMS Forum
Problems Uploading JSON + Fatal Error class-album.php - 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: Problems Uploading JSON + Fatal Error class-album.php (/thread-10932.html)



Problems Uploading JSON + Fatal Error class-album.php - kocho - 21-03-2013

I'm having a few problems uploading at the moment.

Albums I'm trying to upload to are dynamic, I'm using 1.4.4.3.

If I try and use the jQuery uploader, I get the error:
Error: SyntaxError: JSON.parse: unexpected character

And if I try to upload using flash, the progress bar completes and a new page pops up (when they're all "uploaded") saying:

Fatal error: Invalid album instantiation: Ba.alb/test does not exist. in /home/mydir/public_html/dir/gallery/zp-core/class-album.php on line 653

Any ideas as to what the problem could be and/or how to fix them?

Thanks




Problems Uploading JSON + Fatal Error class-album.php - sbillard - 21-03-2013

Perhaps you tried to upload to a dynamic album? That should not have been allowed, but certainly would not work.




Problems Uploading JSON + Fatal Error class-album.php - kocho - 21-03-2013

<--- such an idiot.

This is something I use basically everyday and didn't work that out on this occasion.

Thanks sbillard!


Problems Uploading JSON + Fatal Error class-album.php - sbillard - 21-03-2013

Well, that and the album should not have been offered as a destination--that is a bug that will get fixed.