forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: joelgomez on March 02, 2005, 05:44:08 pm

Title: CONFIG is not working anymore!
Post by: joelgomez on March 02, 2005, 05:44:08 pm
Quote
Warning: Invalid argument supplied for foreach() in /var/www/html/fotos/config.php on line 365

That's the error that I get when I click on CONFIG button, which was working OK all the time. The CONFIG screen appears almost in blank... the only thing that appears is:

Quote
- Coppermine Photo Gallery 1.3.2 
 
Warning: Invalid argument supplied for foreach() in /var/www/html/fotos/config.php on line 365

Which colud be the problem? By the way, other of my galleries stop working also today, with a different problem... uploading pics is not working.

Thanks in advance for any help provided. 
Title: Re: CONFIG is not working anymore!
Post by: joelgomez on March 02, 2005, 09:00:19 pm
Problem SOLVED. The spanish.php file was corrupted. I replaced it with the original file and everything is working fine now.
Title: Re: CONFIG is not working anymore!
Post by: Tranz on March 02, 2005, 09:07:38 pm
Thank you for coming back to share the solution. That would have been a tough one to figure out.
Title: Re: CONFIG is not working anymore!
Post by: joelgomez on March 03, 2005, 08:51:02 pm
Thank you for coming back to share the solution. That would have been a tough one to figure out.

You're welcome TranzNDance. I'm a lawyer, so I never give up... I enjoy trying several alternatives to solve a problem!!!  ::) ;D :o

HEY! You have a nice Gallery! I like a lot the random scroll of your gallery... will you share the code?  ;)
Title: Re: CONFIG is not working anymore!
Post by: Tranz on March 03, 2005, 08:59:32 pm
Thanks. :)

The scroller can be found here (http://forum.coppermine-gallery.net/index.php?topic=12299.0).

My announcements on the gallery home page includes links to the hacks I use.
Title: Re: CONFIG is not working anymore!
Post by: joelgomez on March 04, 2005, 05:20:02 pm
Thanks to you TranzNDance, I figure it out bye scrolling to the bottom of your gallery. Let me ask you an off-topic stupid question... if I duplicate the "anycontent.php" file with a different name of course, I can add anything (HTML) into my gallery, right (like the announcements on your gallery)?

Thanks. :)

The scroller can be found here (http://forum.coppermine-gallery.net/index.php?topic=12299.0).

My announcements on the gallery home page includes links to the hacks I use.