postnuke and random block w/ 1.3.4 vs. gallerySanityCheck

whodah
whodah's picture

Joined: 2003-05-17
Posts: 96
Posted: Wed, 2003-09-03 01:09

getting the known 'configuration wizard necessary' thingy when using gallery_random.php w/ postnuke.

ok, don't do this. u do this, u may break stuff, and it's not my fault.

don't even read this. don't do this. stop, don't.
:)

having said taht.. if in init.php i comment out line 142:
//gallerySanityCheck();

my random block works on postnuke. my question to some of the developers is how 'insane' am i to skip the sanity check?
:P :)

is there harm in this until a 'true' fix is made by a programmer? how about if i don't add any pictures but just browse through the site? i.e. uncomment it if i need to add pictures/captions/changes, then recomment it just for browsing purposes?

thx!
-who dah?
ps: DON'T DO THIS!!! I'M TELLIN YA!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Wed, 2003-09-03 15:47

Commenting out gallerySanityCheck() isn't really terrible... It just makes sure your configuration files are up to date. If they're *not*... then you might run into various problems.

I'd recommend you 1) make sure your Gallery is up to date (including the files in the setup directory) and then 2) re-run your Gallery configuration just to be sure. Then try uncommenting the function call and see if it works.

-Beckett (

)

 
whodah
whodah's picture

Joined: 2003-05-17
Posts: 96
Posted: Thu, 2003-09-04 15:40

cool, thx!

so far so good. backups made too. if i run into issues, i'll post!

but looks like this will be a descent workaround until a true fix is made.

thx!
-who dah?

 
LGK

Joined: 2003-08-31
Posts: 6
Posted: Fri, 2003-09-12 05:15

Works for me :)