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  

session error.
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Blocks View previous topicPrinter friendly versionView next topic
Author Message
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Tue Jul 29, 2003 10:20 am    Post subject: session error. Reply with quote

Hi i'm getting this error at my block-random

Warning: Invalid argument supplied for foreach() in /home/punkrider/public_html/flipzcrew/modules/photos/session.php on line 55
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: session error.  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Tue Jul 29, 2003 10:23 am    Post subject: Re: session error. Reply with quote

please use the "search" function on these forums, this question has been asked and answered at least a dozen times.

open session.php, go to line 55, you will find 2 instances of $_HTTP_SESSION_VARS (one on line 55, one either above or below it). Change both to just $_SESSION
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Jul 29, 2003 10:28 am    Post subject: Re: session error. Reply with quote

Read this:
http://www.nukedgallery.net/article13.html&mode=&order=0&thold=0 [nukedgallery.net]
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Jul 29, 2003 10:28 am    Post subject: Reply with quote

Sry man! beat me to it! Laughing
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Tue Jul 29, 2003 4:06 pm    Post subject: tnx Reply with quote

that fix it but now i'm getting this error messages.

Warning: Invalid argument supplied for foreach() in /home/punkrider/public_html/flipzcrew/modules/gallery/random_support.php on line 219

Warning: copy(/home/punkrider/public_html/flipzcrew/modules/gallery/albums//.thumb.jpg): failed to open stream: No such file or directory in /home/punkrider/public_html/flipzcrew/modules/gallery/platform/fs_unix.php on line 24
Crying or Very sad
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Jul 29, 2003 7:03 pm    Post subject: Re: session error. Reply with quote

again, search the forums, this has been answered several times before.
check the paths that you've specified in your block-random and random-support.php files, etc, etc etc
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Tue Jul 29, 2003 11:16 pm    Post subject: Re: session error. Reply with quote

ok thanks i was able to fix that i think. It was workin fine for an hour then i got another error Sad

Warning: rand() expects parameter 2 to be long, string given in /home/punkrider/public_html/flipzcrew/modules/gallery/random_support.php on line 192
ERROR: requested index [] out of bounds [6]
Fatal error: Call to a member function on a non-object in /home/punkrider/public_html/flipzcrew/modules/gallery/classes/Album.php on line 675

Sad
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Jul 30, 2003 1:24 am    Post subject: Reply with quote

Try deleting your block-random.cache file that is in your your albums directory. Smile
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Wed Jul 30, 2003 10:12 am    Post subject: Re: session error. Reply with quote

thanks for the help slackbladder.that workedout to fine for an hour that is. unfortunately an hour later I get same problem again urggggg. Evil or Very Mad
i dont want to connect to my unix or ftp just to delete the block-randome.cache file every 30mins Sad
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Jul 30, 2003 10:24 am    Post subject: Re: session error. Reply with quote

I had a similar prob! I had moved all my albums from one server to another and during the process some photos got corrupted!

When the cache file was generated - it got stuck on the albums that had the broken images in them. However it still worked just not on those albums (got the usual error!)

To fix my problem I first deleted the knackered images, then got the latest version of both the random block MOD and gallery. Installed both, deleted the block-random.cache file and let the MOD generate a new file.

All was well then! Maybe try new the new ver of the MOD and gallery - might clear the fault.

Cheers
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Wed Jul 30, 2003 11:48 am    Post subject: Re: session error. Reply with quote

hmmm well i'm using phpnuke6.5, gallery1.3.4 and the improved random pic block. is there a updated/latest/newest gallery for phpnuke? if there is can u please give me the link? tnx
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Wed Jul 30, 2003 12:57 pm    Post subject: Reply with quote

Gallery is currently @ 1.3.5b53 (30/7) (http://jpmullan.com/galleryupdates/) but I run nuke 6.7 with 1.3.4 and Dari's MOD with no problem.

Have you found any broken images in your albums?

Try deleting block-random.cache - wait till the MOD generates a new file - then have a look inside the file. Compare the list against your current albums (easy on a small gallery, bloody impossible on a large one!!)

I normally find errors can be 'got rid of' after a clean install. Sometimes I miss some of the instructions the first time round.
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Wed Jul 30, 2003 7:54 pm    Post subject: Re: session error. Reply with quote

no i havent found any broken images. i only kept on getting same error messages.i already tried that the latest random block file still the same error messages Sad
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Wed Jul 30, 2003 8:53 pm    Post subject: Re: session error. Reply with quote

actually, the current version of gallery is 1.3.5-cvs-b69 (the version in the changelog is incorrect, look at version.php). i am running 1.3.5-cvs-b61 at phpnuke.nukedgallery.net with no issues on any of my blocks.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
switch

Novice
Novice


Joined: Jul 09, 2003
Posts: 23

PostPosted: Thu Jul 31, 2003 2:13 am    Post subject: running 1.3.5-cvs-b61 Reply with quote

Dari can u please post the link where i can download the current version of the gallery and the instuctions how to upgrade?
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
Goto page 1, 2  Next

 
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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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