Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Trouble Installing Forum Plugin for 1.5  (Read 5017 times)

0 Members and 1 Guest are viewing this topic.

chuckMc63

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Trouble Installing Forum Plugin for 1.5
« 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Trouble Installing Forum Plugin for 1.5
« Reply #1 on: October 28, 2011, 12:18:21 pm »

Open codebase.php, find
Code: [Select]
if (!USER_ID && ($CONFIG['fr_guest_browse'] == 0)) {and replace with
Code: [Select]
if (!USER_ID && (\$CONFIG['fr_guest_browse'] == 0)) {
Logged

egorip

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Trouble Installing Forum Plugin for 1.5
« Reply #2 on: November 13, 2011, 02:33:02 pm »

I had the same problem.
Thx it works ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.