Page 1 of 1

Invalid argument supplied for foreach

Posted: 15 Jun 2012, 13:28
by pdvk
Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/libraries/joomla/database/database/mysql.php on line 377

Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/libraries/joomla/database/database/mysql.php on line 377

Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/libraries/joomla/database/database/mysql.php on line 377

This appears on the new file screen then appears again after trying to upload a file. I have no clue how to fix this, any help you be great!

Thank you in advance :)

Re: Invalid argument supplied for foreach

Posted: 17 Jun 2012, 16:46
by Jan
Hi, seems like database tables are missing in your installation, see:
https://www.phoca.cz/documents/16-joomla ... ent-errors

Jan

Re: Invalid argument supplied for foreach

Posted: 04 Feb 2013, 18:10
by icaza
I made ​​that mistake when i was migrating my page joomla 1.5 to 2.5. I solved simply by installing Mysql putting my joomla 2.5 Mysqli instead, because if I'm not wrong joomla 1.5 use Mysql and change a few sentences in the file mysql, maybe you can also fix the problem causing the file to point to the file mysqli is in the folder / Database

sory my english am from chile :idea:

Re: Invalid argument supplied for foreach

Posted: 05 Feb 2013, 21:12
by Jan
Hi, in Phoca Download, there is no database layer (not setting of myslq or mysqli) - all this is done in Joomla! settings.

Jan