forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: gobracer on November 30, 2003, 02:01:02 am

Title: Invalid argument supplied for foreach() in ORC4
Post by: gobracer on November 30, 2003, 02:01:02 am
Commented out all the ob_end_flush uploaded some pictures and now I am getting this error message:  
Quote
Warning: Invalid argument supplied for foreach() in /home/virtual/site25/fst/var/www/html/modules/coppermine/config.php on line 257


Debug info Integretion vars
Selected Nuke Theme: Xmas2
Nuke Version: 6.9
Module path modules/coppermine
Nukelink modules.php?name=coppermine
Coppermine Theme: default
$_SERVER vars
DOCUMENT_ROOT: /home/virtual/site25/fst/var/www/html
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
SCRIPT_FILENAME: /home/virtual/site25/fst/var/www/html/modules.php
PHP_SELF: /modules.php
CPG Config
TABLE_PICTURES cpg_pictures
TABLE_ALBUMS cpg_albums
TABLE_COMMENTS cpg_comments
TABLE_CATEGORIES cpg_categories
TABLE_CONFIG cpg_config
TABLE_USERGROUPS cpg_usergroups
TABLE_VOTES cpg_votes
TABLE_USERS nuke_users
allow_private_albums 0
Site url (ecards_more_pic_target) http://www.isalenes.com/
fullpath modules/coppermine/albums/
ALBUM_SET  
FORBIDDEN_SET  
Queries
GET Array
(
    [name] => coppermine
    [file] => config
)

 
POST Array
(
)

 
Page generated in 0.03 seconds - 1 queries in 0.001 seconds - Album set :
Title: Config.php Error
Post by: gobracer on November 30, 2003, 06:09:01 pm
After un-install and re-install it seems that when I activate blocks,  that is what creates the error.  I can deactivate the blocks and coppermine works.  I can upload pictures, etc.  Not sure what is causing this, will need to investigate further.
Title: Invalid argument supplied for foreach() in ORC4
Post by: DJMaze on November 30, 2003, 06:30:09 pm
Could you tell by using which block you get the error ?

Notice: Only the CPG- blocks work
Title: CPG Blocks
Post by: gobracer on November 30, 2003, 07:15:26 pm
I deactivated all the blocks and then started adding them one by one.  Added three in the center and three on the right side, everything worked fine after adding each block.  The error occurs when I added a block to the left side.  I changed it to the right side and everything worked.  Tried a different block on the left side and got the same error, switched it back to the right side and everything fine again.  I am only using the CPG blocks that came with RC4