| Author |
Message |
ltyeh
Beginner


Joined: Aug 13, 2003 Posts: 2
|
Posted: Tue Aug 26, 2003 3:34 am Post subject: NG-random:Warning: rand() expects parameter 2 ....... |
|
|
Warning: rand() expects parameter 2 to be long, string given in /var/www/html/nuke68/modules/gallery/random_support.php on line 193
ERROR: requested index [] out of bounds [75]
Fatal error: Call to a member function on a non-object in /var/www/html/nuke68/modules/gallery/classes/Album.php on line 675
What i need to do? Help me, please!
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):/ServerAdd/SubDir/gallery/
Gallery version:Gallery v1.3.4-pl1
Apache version:httpd-2.0.40-21.3
PHP version (don't just say PHP 4, please):php-4.2.2-17.2
Graphics Toolkit:
Operating system:Linux RH9
Web browser/version (if applicable): Mozilla1.2.1 |
|
| Back to top |
|
|
AdBot
|
| Post subject: NG-random:Warning: rand() expects parameter 2 ....... |
|
|
|
|
|
| Back to top |
|
 |
darkknight
Guru


Joined: Aug 21, 2003 Posts: 54
|
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Aug 26, 2003 4:26 am Post subject: |
|
|
| Try deleting your block-random.cache from your ALBUMS directory first. If that doesn't work apply the changes as described by DARKKNIGHTS suggestion. |
|
| Back to top |
|
|
ltyeh
Beginner


Joined: Aug 13, 2003 Posts: 2
|
Posted: Tue Aug 26, 2003 5:48 am Post subject: |
|
|
It's Work.
Thanks for your help, my problem has been gone, and sorry for my poor english that's
why I did not find that solution .  |
|
| Back to top |
|
|
|
|
|
|
|