Hi, first sorry for my bad english i´m from spain. I used the search but don´t find anything.
When i change the theme default to "mac os x" i get this error
Warning: Invalid argument supplied for foreach() in /web/htdocs/www.jonathanlopez.net/home/fotos/themes/mac_ox_x/theme.php on line 1188
I get this error with all themes except the default theme.
Hi,
I think there is a difference between the codes for default and the other themes. I'm not sure this is the answer, but theres no harm in trying.
Before you do this, back up your existing theme.php.
In themes/mac_os_x/theme.php, find ths code at line 1188;
foreach($alb_list as $album) {
Now, add before it;
if (is_array($alb_list)) {
Now at line 1207, add a '}' (no quotes).
if this works, do the same for the other themes. I have added this code to my site, which did already work, and it still works, so I'm not sure this is your problem. [/code]
http://forum.coppermine-gallery.net/index.php?topic=1743
GauGau