| Author |
Message |
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Tue Feb 24, 2004 2:25 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
lol...are you still smoking crack...i still dont get the prompt and i still dont see that code in any of the files
lol...dari's loosing it...  |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 24, 2004 2:28 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
WTF is going on here...AAAAAAAAAAAAAAAHHHHH....
lemme try it one more time...i have reuploaded the CORRECT code and it still issn't showing up...checking the download link now... |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 24, 2004 2:32 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| OK, try it now... |
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Tue Feb 24, 2004 2:41 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| umm...it might be me, but i have the correct code, but i still dont get the select optoins |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Feb 24, 2004 2:45 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| No joy with me either! |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 24, 2004 2:47 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| ah, add $admin to the global list up top... |
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Tue Feb 24, 2004 2:49 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
ding ding ding...we have a winner  |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Feb 24, 2004 2:50 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
Yep - that did it - but also now have this error:
Warning: Wrong parameter count for fgets() in /home/splash/public_html/blocks/block-NG-RandomPhotoSelectTest.php on line 80 |
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Tue Feb 24, 2004 2:50 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| so does this mean that whenever we are logged in as God admin we dont see the pics in the block, but always see the choices? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 24, 2004 2:52 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
irish: correct
slack: checking now...culprit is:
PHP: › <?php if($fd = @fopen(CACHE_FILE,"r")){
while($line = fgets($fd)) { ?>
you can create the cache and it should be ok... |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Feb 24, 2004 3:13 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
hmn - getting this now:
Warning: Invalid argument supplied for foreach() in /home/splash/public_html/blocks/NG-RandomPhotoSelectTest_functions.php on line 259 Fatal error: Call to a member function on a non-object in /home/splash/public_html/blocks/NG-RandomPhotoSelectTest_functions.php on line 101
block-random.cache isn't populating - but it did previously when the old block (random) was being used
see error:
http://www.deepingsraftrace.com |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 24, 2004 3:19 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
got it...i'll work on it so that if the file isn't there it doesn't crap out on people...
now you know why the thread is headlined with "TESTING"  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Feb 24, 2004 3:44 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| boom..try the new download (same link as above)...notice one extra thing you have to specify (your ALBUM_DIRECTORY)... |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Feb 24, 2004 4:42 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
Nope - tried everything - can't get it to work! The albums list comes up in admin, I can tick the ones I want, save to cache (or not as the case may be) but after log out of admin I get the same error:
Warning: Invalid argument supplied for foreach() in /home/splash/public_html/blocks/NG-RandomPhotoSelectTest_functions.php on line 259 Fatal error: Call to a member function on a non-object in /home/splash/public_html/blocks/NG-RandomPhotoSelectTest_functions.php on line 101
If I delete the cache file I get the message about creating the cache file. If I create empty cache file (tried chmod 777) still get error!
Strange cause the original random TEST block worked fine - just didn;t allow me to select albums! |
|
| Back to top |
|
|
inSaNE_iRIsH
Wizard


Joined: Jun 19, 2003 Posts: 101
|
Posted: Tue Feb 24, 2004 4:46 pm Post subject: Re: [TESTING] Selectable Album Random Block |
|
|
| hmm, odd, i havent gotten any of those errors...works perfectly on my site ever since this Quote: › ah, add $admin to the global list up top... |
|
| Back to top |
|
|
|
|
|
|
|