forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: eK3eKyToPa on October 28, 2006, 08:13:56 am

Title: "Visitors can upload files" ERROR
Post by: eK3eKyToPa on October 28, 2006, 08:13:56 am
The error message is shown when in Album configuration trying to change "Visitors can upload files " to "Yes" :
Quote
Parse error: parse error, unexpected T_ARRAY, expecting T_STRING in /home/vhosts/ek3.4000webs.com/public_html/include/mailer.inc.php on line 2168
I read other topics but nothing help. I try to upload a new copy of mailer.inc.php but still dont work.
Please tell how manualy in php files to change "Visitors can upload files" to be deffault "Yes"!

     Thanks
Title: Re: "Visitors can upload files" ERROR
Post by: Joachim Müller on October 30, 2006, 08:29:56 am
Your file is corrupted, so get a fresh one from another mirror. Make sure to use a real FTP app that doesn't try to "improve" the code in files it is suppossed just to upload. Make sure that your FTP client is set up to overwrite existing files.