Hi There,
I have installed "com_phocagallery_v2.8.1" phoca component. It gave me message component install successfully.
But while I went for creating category it throws error :
"Warning: Invalid argument supplied for foreach() in /home/mysite/public_html/Dev/administrator/components/com_phocagallery/models/phocagallerycs.php on line 126"
I am using joomla 1.5.25. Am I doing anything wrong?
How to sort this?
Awaiting to hear back from you.
Regards,
Vishal
Warning: Invalid argument supplied for foreach()
-
vishal3184
- Phoca Newbie

- Posts: 1
- Joined: 24 Feb 2012, 07:19
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Invalid argument supplied for foreach()
If you find Phoca extensions useful, please support the project
-
mipavluk
- Phoca Member

- Posts: 13
- Joined: 11 Feb 2010, 04:41
- Location: Posadas, Misiones, Argentina
- Contact:
Re: Warning: Invalid argument supplied for foreach()
Hi Jan
I already install other 2 galleries in other 2 sites in the same server, without a problem
but now, try to install it in joomla 1.5 with phoca 2.8.1. and get this error
try to fix it in the way you point above... without sucess... could you please help me a bit more...?
thanks in advance...
Marta
I already install other 2 galleries in other 2 sites in the same server, without a problem
but now, try to install it in joomla 1.5 with phoca 2.8.1. and get this error
try to fix it in the way you point above... without sucess... could you please help me a bit more...?
thanks in advance...
Marta
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Invalid argument supplied for foreach()
Hi, you just need to enable debug mode to see which error you get in the database. Without knowing this error, nobody can help 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
mipavluk
- Phoca Member

- Posts: 13
- Joined: 11 Feb 2010, 04:41
- Location: Posadas, Misiones, Argentina
- Contact:
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Invalid argument supplied for foreach()
Hi, your database just misses the categories table, see:
https://www.phoca.cz/documents/16-joomla ... ent-errors
Jan
https://www.phoca.cz/documents/16-joomla ... ent-errors
Jan
If you find Phoca extensions useful, please support the project
-
mipavluk
- Phoca Member

- Posts: 13
- Joined: 11 Feb 2010, 04:41
- Location: Posadas, Misiones, Argentina
- Contact:
