| Author |
Message |
kswiz
Beginner


Joined: Jun 19, 2003 Posts: 3
|
Posted: Fri Jun 20, 2003 5:24 pm Post subject: Updated Albums for Gallery: resultset error |
|
|
I have installed the Updated Albums block for Gallery under phpNuke 6.7 (server is IIS). When I view the site, the block dies and the following error message displays:
Fatal error: Cannot redeclare class resultset in
e:\[PathToPhpnukeHome]\includes\sql_layer.php on line 37
Any suggestions for correcting this are appreciated. Thanks,
Martin |
|
| Back to top |
|
|
AdBot
|
| Post subject: Updated Albums for Gallery: resultset error |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
kswiz
Beginner


Joined: Jun 19, 2003 Posts: 3
|
Posted: Sat Jun 21, 2003 2:51 pm Post subject: |
|
|
>>what version of PHP are you using?
4.3.2
>>make sure that line 10 of your block-updatedGallery.php file reads exactly as >>follows: require_once($WEB_ROOT."includes/sql_layer.php");
It does.
>>some other block may have it included, but with different casing on the letters.
In my PhpNuke install only two files call sql_layer.php: block-updatedGallery.php AND Nuke's mainfile.php. I commented out the appropriate require_once line in updatedGallery and the block now executes without an error (though the block says 'Log in to see updated albums' even though the block is set so it is visible to All Users-- guess there is another problem I need to explore). Thanks for the help, and making this and the Random block available. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Sat Jun 21, 2003 3:51 pm Post subject: Re: Updated Albums for Gallery: resultset error |
|
|
it's supposed to say "log in.." when visible to all users (that's how i have it set up on this site). once the user logs in, they will see a list of the updated albums, based on their last login time. _________________
 |
|
| Back to top |
|
|
kswiz
Beginner


Joined: Jun 19, 2003 Posts: 3
|
Posted: Sun Jun 22, 2003 12:05 am Post subject: |
|
|
| It dawned on me about an hour after my last post that the block was supposed to say 'login...' That's why we adjust the seconds when installing. Thanks again for the help with require_once. |
|
| Back to top |
|
|
|
|
|
|
|