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.
Posts: 794
I'd suggest using a Gallery version compatable with Random Block for now until someone figures this out.
Posts: 7
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.