coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: chuckMc63 on October 28, 2011, 09:26:36 AM

Title: Trouble Installing Forum Plugin for 1.5
Post by: chuckMc63 on October 28, 2011, 09:26:36 AM
Everytime I try to install the forum plugin, I get this message:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/m/a/s/masontheking/html/jstklsxnet/live/plugins/forum/codebase.php on line 124

Is this from just uploading the zip, or should I unzip and load via FTP? There are really no instructions in the folder. I would like to get this to work.
Thanks for the replies.
Title: Re: Trouble Installing Forum Plugin for 1.5
Post by: ΑndrĂ© on October 28, 2011, 12:18:21 PM
Open codebase.php, find
if (!USER_ID && ($CONFIG['fr_guest_browse'] == 0)) {
and replace with
if (!USER_ID && (\$CONFIG['fr_guest_browse'] == 0)) {
Title: Re: Trouble Installing Forum Plugin for 1.5
Post by: egorip on November 13, 2011, 02:33:02 PM
I had the same problem.
Thx it works ;)