Member
Member
crankygeek   2007-02-11, 19:34
#1

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!

Developer
Developer
trisweb   2007-02-11, 19:58
#2

Looks like this is written for pre-1.0.3 zenphoto, when the internal representation of Albums were still objects (it's much faster to leave making the objects for later).

I've fixed the bugs in the original and it should work now, you can find it on the ZenphotoPlugins wiki page.

Member
Member
crankygeek   2007-02-11, 22:29
#3

Worked a treat. Many thanks!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.