I'm having a small prob and can't seem to find a way to fix it myself.
I've just clean installed SMF Gallery Pro 1.3.15 on the same forum that only yesterday had a clean install of SMF Store 1.2
Finished importing pics to the gallery sucessfully, then returned to the store to be met by this message on a blank page:
Fatal error: Cannot redeclare viewrating() (previously declared in /home/inanet/public_html/detcomau/Sources/Gallery.php:3586) in /home/inanet/public_html/detcomau/Sources/Store.php on line 1267
so I rem out the function ViewRating() in the Store.php
and it moves onto the next error:
Fatal error: Cannot redeclare deleterating() (previously declared in /home/inanet/public_html/detcomau/Sources/Gallery.php:3597) in /home/inanet/public_html/detcomau/Sources/Store.php on line 1278
so I rem out the function DeleteRating() in the Store.php
and then at least I can return to a nicely formatted and informative error message within the forum:
An Error Has Occurred!
I've also installed the 2 SSI packages:
SMF Store SSI 1.1
SMF Gallery Pro SSI 1.1
The 2 php boxes that I use to call ssi_storerandom() & ssi_galleryrandom() still work fine as does the recent blocks in the forum index & info center.
The only thought I have towards a fix is to use a conditional when declaring those functions...
something like...
global $boarddir;
if(!function_exists("name of function"))
require($boarddir . '/name_of_file.php');
but I might be completely on the wrong track? please help!