|
Help keep us going
|
|
|
Donation Stats
|
|
July’s Goal:
|
$350.00
|
| Due Date: |
Jul 31 |
| Gross Amount: |
$25.00 |
| Net Balance: |
$23.72 |
| Left to go: |
$326.28 |
| | Donations | | Anonymous $25 Jul-16 |
Or, purchase an item from my wishlist: http://wishlist.com/dmolavi

|
| Like what we do here? Click the button below to help us out. |  |
|
|  |
NukedGallery FAQ (Frequently Asked Questions)
Category: Main -> D. Error messages
| Answer | | · D.1. Warning: Invalid argument supplied for foreach() If you get complaints about invalid arguments for the "foreach()" method in session.php, make the following replacements on/around the line that registers the complaint:
$_HTTP_SESSION_VARS ==> $_SESSION
This is an issue with newer versions of PHP and how it handles global variables. Gallery is written to be backwards compatible with older versions of PHP.
EXAMPLE
/modules/gallery/sessions.php - should look like this:
[ Back to Top ]
| | · D.3. Warning: main(errors/configure_help.php) In the BLOCK file:
Just below the:
<?
Add:
global $gallery;
[ Back to Top ]
| | · D.2. Warning: rand() expects parameter 2 BLOCK: RANDOM IMAGE
Try deleting your block-random.cache from your ALBUMS directory first.
If that doesn't work, try this:
Add this:
$count = floatval($count);
in front of:
$choose = rand(1, $count);
in your random_support.php (around line 196)
[ Back to Top ]
| | · D.4. Fatal error: Call to undefined function: isalbumname() This function had a name change in a recent version of Gallery. In your block file, change all calls for 'isAlbumName' to 'getAlbumName'. [ Back to Top ]
|
|
| 
|