Member
Member
climberusa   2006-06-01, 22:59
#1

Hi,
My first post so I must first thank you for such a cool gallery and it's open-sourcedness(is that a word?)!

I just upgraded to 1.0.3 and when I go to an album>image I get this error"
MySQL Query ( UPDATE zp_images SET width=2048, height=1536 WHERE id=13; ) Failed. Error: Unknown" and no image. However, it links to the full-size image as it should.

I'm using a modified theme but I also tried the default theme and it is the exact same result. Has anyone experienced this yet? Anybody know how I ca fix this? I'm assuming it has to do with the tables being modified?

Member
Member
DarrellD   2006-06-01, 23:32
#2

You got a link so we can check it out?

Member
Member
Chilifrei64   2006-06-02, 02:32
#3

just through fishin around with path names I found this
http://www.akclimber.com/gallery/anchorage-bouldering/8-20-03+030.jpg
which shows the error. Incase you are lookin GameDudeX.

Ill see what I can find too.

In the mean time.. 2 questions..
Did you run the upgrade.php and did you clear the cache?

Member
Member
climberusa   2006-06-02, 06:36
#4

Sorry, I always forget to post a link, but it looks liek you found it.

Yes I ran update.php and then cleared my cache.

Member
Member
DarrellD   2006-06-02, 06:43
#5

Was this an update or a new install?

If it was an update, make sure that your new config (zp-config.php) sets this line:
$conf['mysql_prefix'] = "zp_";
to be the same prefix as your old config (config.php).

If they were [b]not[/b] the same, correct it, then run update.php again.


Or you can just go into your mysql database and make sure that the line above matches the prefix of the current tables in your database.

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