ZenphotoCMS Forum
Version 1.2.2. New printalbummenu() file gives error - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Version 1.2.2. New printalbummenu() file gives error (/thread-4176.html)



Version 1.2.2. New printalbummenu() file gives error - jackdaw - 02-12-2008

I'm using the 'old' print_album_menu.php file now from 1.2.1, because the new one gives me this error and then the page stops loading:

`

Fatal error: Call to undefined function: parthurlencode() in /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/plugins/print_album_menu.php on line 418

`




Version 1.2.2. New printalbummenu() file gives error - sbillard - 03-12-2008

If you are getting this error there is something serious wrong with your installation. This function is defined in functions-basic.php which is loaded always.




Version 1.2.2. New printalbummenu() file gives error - jackdaw - 03-12-2008

Just to be sure I did a complete new install: downloaded the 1.2.2. files again, deleted ALL the files from my server except the zp-config.php file and the album and cache folders, but still I get this error message.
And ofcourse I ran setup.php again with no error messages...




Version 1.2.2. New printalbummenu() file gives error - acrylian - 03-12-2008

If that really reads parthurlencode() there is probably indeed a typo. There should be a function named pathurlencode()be used. I will check that.




Version 1.2.2. New printalbummenu() file gives error - acrylian - 03-12-2008

Yep, a typo. Corrected in the svn.




Version 1.2.2. New printalbummenu() file gives error - jackdaw - 03-12-2008

You have a sharp eye for typo's . I'm glad there was nothing else wrong.




Version 1.2.2. New printalbummenu() file gives error - acrylian - 03-12-2008

Probably not that sharp because then it did not have been there in the first place...:-)