ZenphotoCMS Forum
Error after upload - 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 after upload (/thread-1172.html)



Error after upload - edusilva - 2007-02-16

I've made a clean install, on localhost(using easyPHP) and re-installed once now. But I keep getting the same error after uploading a photo:

Notice: Undefined index: sort_type in c:\easyphp1-8\www\zenphoto\zen\classes.php on line 448

Notice: Undefined index: sort_type in c:\easyphp1-8\www\zenphoto\zen\classes.php on line 448

Warning: Cannot modify header information - headers already sent by (output started at c:\easyphp1-8\www\zenphoto\zen\classes.php:448) in c:\easyphp1-8\www\zenphoto\zen\admin.php on line 132

Anybody got an idea? (besides this really liking zenphoto!)




Error after upload - edusilva - 2007-02-16

An addition:

  • This problem only occurs when creating a 'new album'.
  • The album 'is' actually created, but the error-message seems obsolete then?



Error after upload - trisweb - 2007-02-16

Run zen/upgrade.php, looks like you missed a field in an upgrade.




Error after upload - edusilva - 2007-02-26

Hi trisweb, I ran upgrade.php, restarted easyphp but the message stays. Tried to run it a second time (upgrade.php) but then got:

Warning: Invalid argument supplied for foreach() in c:\easyphp1-8\www\zenphoto\zen\classes.php on line 1141

But that's probably because i did that twice? (can it have something to do with the local install and easyphp on my laptop? Cos I can't change the CMMOD thing (because I don't understand it I guess...)