pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => Coppermine-Mx => Thema gestartet von: taedo in 26 März 2005, 09:48:13

Titel: Warning: Invalid argument supplied for foreach() in ... file pragmamx.inc.php
Beitrag von: taedo in 26 März 2005, 09:48:13
Hello !

Sorry, my German is not so good, so I have write in English.

I have just installed Coppermine and things went ok during install.
But I keep getting this error when I try to upload pictures.
The pictures are being uploaded and the error dissapears when pic
is uploaded.

Warning: Invalid argument supplied for foreach() in /home/user/public_html/www.mydomain.no/modules/Gallery/bridge/pragmamx.inc.php on line 218


This is the line 218 in the pragmamx.inc.php file...

foreach ($GLOBALS['lang_config_data'] as $i => $data) {
                        if (isset($MX_CPG_CONFIG[$data[1]])) {
                                unset($GLOBALS['lang_config_data'][$i]);


Regards

Taedo
Titel: Re: Warning: Invalid argument supplied for foreach() in ... file pragmamx.inc.ph
Beitrag von: Andi in 26 März 2005, 19:06:24
Hello Taedo :)

what is your language-setting when you upload the pictures?

please give me a link to your site.

best regards
Andi