Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

Updated Albums for Gallery: resultset error

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
kswiz

Beginner
Beginner


Joined: Jun 19, 2003
Posts: 3

PostPosted: Fri Jun 20, 2003 5:24 pm    Post subject: Updated Albums for Gallery: resultset error Reply with quote

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
Offline View user's profile Send private message
AdBot
   Post subject: Updated Albums for Gallery: resultset error  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Fri Jun 20, 2003 7:14 pm    Post subject: Re: Updated Albums for Gallery: resultset error Reply with quote

what version of PHP are you using?
make sure that line 10 of your block-updatedGallery.php file reads exactly as follows:
Code: › require_once($WEB_ROOT."includes/sql_layer.php");

the vital item there is the "require_once" part. that prevents multiple redeclarations of the same chunk of code.
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Fri Jun 20, 2003 7:17 pm    Post subject: Reply with quote

A HA...from http://www.php.net/require_once :
Quote: › Note: Be aware, that the behaviour of require_once() and include_once() may not be what you expect on a non case sensitive operating system (such as Windows). Example 12-8. require_once() is case sensitive

require_once("a.php"); // this will include a.php
require_once("A.php"); // this will include a.php again on Windows!

this may be your problem. some other block may have it included, but with different casing on the letters.
Back to top
Offline View user's profile Send private message Visit poster's website
kswiz

Beginner
Beginner


Joined: Jun 19, 2003
Posts: 3

PostPosted: Sat Jun 21, 2003 2:51 pm    Post subject: Reply with quote

>>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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Sat Jun 21, 2003 3:51 pm    Post subject: Re: Updated Albums for Gallery: resultset error Reply with quote

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
Offline View user's profile Send private message Visit poster's website
kswiz

Beginner
Beginner


Joined: Jun 19, 2003
Posts: 3

PostPosted: Sun Jun 22, 2003 12:05 am    Post subject: Reply with quote

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
Offline View user's profile Send private message
brettlee

Novice
Novice


Joined: Jul 15, 2010
Posts: 23

PostPosted: Fri Jul 23, 2010 1:21 am    Post subject: Re: Updated Albums for Gallery: resultset error Reply with quote

The Wild Side Story plot, later in Europe purported to be “from the wildest side of the trans-Atlantic West”, is mainly about “Bernardo” being visited by problematic little brother, José “Mariapass4sure 646-230 [pass4sure.org] Gonzalez, who cross-dresses convincingly to go job-hunting. With boyfriend-owner “Betty-Sue” busy smoking cigarettes,pass4sure PW0-104 [pass4sure.org] “Tony” can go gaga over “Maria” and does so without taking a second or even a careful look. A lovesick calamity of abandon unfolds amid pick-pockets, male and female chauvinist pigs, false eyelashes, murder, initially misplaced false boobs, and all is summed up with what amounts to a hippie hypocrisy revival meeting pass4sure 350-040 [pass4sure.org]at the end (see below). Anita” is portrayed as an extremely dangerous and powerful woman so nobody dares tell her that the reds in her satin skirt and ruffled top clash monstrously. Since she won’t let any real women get close to her man, her girlfriends are two tall, muscular drag queens with hairy armpits, whose motivations for cross-dressing remain unclear pass4sure JN0-350 [pass4sure.org](one of them was actually portrayed two times by a recent bank robber, unknown as such to the production). The names of this pair are “Consuelo” and “Obvióla”. They have been reviewed as the "riot act of the show"[9]. Each in a stolen nuns' habit, they complain about new competitor “Maria” in a Sound of Music song.
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia