Let me start by saying how awesome zenphoto is. I've been hunting around for a simple gallery engine for quite awhile and this one really hits the spot.
I've configured rakaz' XP Publishing tool and it works great - once. The first time I publish everything works as expected. But the next time I publish, after entering the username and password, I get the following:
Web Service Error
"The wizard could not connect to the Internet, or the Web service returned a wizard page that is not valid."
When I look at the logs, I find this:
Error from error log:
[Sun Feb 11 13:05:29 2007] [error] PHP Fatal error: Call to a member function on a non-object in /{snip}/zenphoto/xp_publish.php on line 177
From web log:
{snip} - - [11/Feb/2007:13:05:29 -0500] "POST /zenphoto/xp_publish.php?cmd=album HTTP/1.1" 200 740 "{snip}/zenphoto/xp_publish.php?cmd=publish&lcid=1033&langid=1033" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
I took a look at the code in xp_publish.php, but it's over my head...
I'm running zenphoto on a standard hosted LAMP config:
Apache 1.3.37
MySQL 4.1.21-standard
PHP 4.4.4
One guess - though it's possibly a red herring - I wonder if there's a problem when retrieving the existing album name?
Thanks!
Comments
I've fixed the bugs in the original and it should work now, you can find it on the ZenphotoPlugins wiki page.