Gallery/Nuke/albumDB() problems

johnnyb

Joined: 2003-09-07
Posts: 7
Posted: Sun, 2003-09-07 03:38

I had a site crash a few weeks ago and I ended up reinstalling my machine with Mandrake 9.1. When I restored my Postnuke/Gallery site, the gallery_random and gallery_new blocks stopped working. As a matter of fact, if I added them as blocks, the whole site would stop outputting past the main menu. After doing some troubleshooting, I discovered that the site was having problem with the line:

Quote:
$var = new albumDB();

If I change it to:

Quote:
$var = new albumDB(FALSE);

it will come up, but the blocks still won't work because it is not loading the album lists. I'm unable to fix this myself. Does anyone have any suggestions?

Even if I inserted a standard PHP block with just that single line, it does the same thing. The search block has the same symptoms because it uses that class

P.S - I can't show a sample of the site because if I include the blocks, the site stops being functional.

 
Warren
Warren's picture

Joined: 2002-07-24
Posts: 794
Posted: Mon, 2003-09-08 19:44

I'd suggest using a Gallery version compatable with Random Block for now until someone figures this out.

 
johnnyb

Joined: 2003-09-07
Posts: 7
Posted: Tue, 2003-09-09 00:26

I'm using 1.3.4-pl1. It's supposed to be compatible. This error also occurs when I do a search from Gallery itself, which has nothing to do with the random block at all.