Bharat's old block-random not working in standalone 1.4.3

jdphilli

Joined: 2002-08-30
Posts: 9
Posted: Sat, 2004-05-01 00:06

I'm having trouble since I upgraded from 1.4.2 to 1.4.3. getting the block-random picture to work. It worked fine until I upgraded the gallery then the albums. Has something changed that I need to make it work? Please let me know. I see all the PN entries, but I need a simple standalone version. Help! My site is not working correctly! The link which shows the bad code is http://www.jeffphillips.org/bad.php

Let me know if anyone has any ideas.

 
jeffbh

Joined: 2002-12-26
Posts: 38
Posted: Mon, 2004-05-03 04:51

I've updated my standalone block-random version to work with 1.4.3. Instructions and examples at: http://www.barcahall.com/gallery-block-random.html .

-Jeff

 
jdphilli

Joined: 2002-08-30
Posts: 9
Posted: Mon, 2004-05-03 15:40

I used your block-random.php wholesale and pasted it to my site. The link http://www.jeffphillips.org/bad.php still shows problems. I'm not, nor have ever been using IFRAME but am still wondering if this will ever work. Thanks for the help, but is there any thin else that it could be?

 
grnjelloman

Joined: 2003-01-06
Posts: 44
Posted: Tue, 2004-05-04 02:17

Just for yucks.. try and change in your gallery-block-random.php file the line:

require($GALLERY_BASEDIR . "init.php");

to:

require_once($GALLERY_BASEDIR . "init.php");

I just know that in the random gallery block that I use that it has it as require_once instead of just require...

 
alans

Joined: 2004-05-04
Posts: 1
Posted: Tue, 2004-05-04 13:40

Did this solve it?

love to hear

alans

 
jdphilli

Joined: 2002-08-30
Posts: 9
Posted: Tue, 2004-05-04 21:09

No, it did not. Still broken. Any other ideas?

 
jdphilli

Joined: 2002-08-30
Posts: 9
Posted: Thu, 2004-05-06 18:09

Okay - I've even put the new patch on so now I'm at 1.4.3-pl1. It still won't work. Check the link above to view the error message. Can anyone help?

Any help would be greatly appreciated.

 
grnjelloman

Joined: 2003-01-06
Posts: 44
Posted: Thu, 2004-05-06 20:04

Sorry.. I've been out of town the last few days.. I will try and take a look at this when I get home from work. I've seen an error like this before but for the life of me can not remember what I did to fix it... Will try and get this resolved for you asap