PHP 4.x lacks mysql_set_charset() function; ZenphotoPress exits without output
-
My server is running PHP 4.8 which doesn’t support the
mysql_set_charset()
function. For ZenphotoPress to display images in the widget, and show albums in the box where I type in my posts, I had to comment line 436 inzenphoto_bridge.php
:
mysql_set_charset('utf8', $zp_db_link);
change it to:
// mysql_set_charset('utf8', $zp_db_link);
now ZenphotoPress works perfectly–although I’m not aware of the side-effects of the change; my database is in english. ZenphotoPress rocks! Thanks for the great work!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 4.x lacks mysql_set_charset() function; ZenphotoPress exits without output’ is closed to new replies.