Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: SMF Integration Issues  (Read 2735 times)

0 Members and 1 Guest are viewing this topic.

Oldiesmann

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • SMF Rules!
    • Archie Comics Fan Forum
SMF Integration Issues
« on: May 17, 2005, 10:32:05 pm »

I am having fits trying to get Coppermine integrated with my SMF 1.0.3 board at www.christianindieforums.com. Because the gallery is located in a sub-directory of the directory that the forum is located in, I set the path to .. ($path = '..';). After uncommenting the appropriate line in init.inc.php and uploading both files to the proper location, I now get hit with the following error everytime I try to access the gallery:

Code: [Select]
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /.../christianindieforums/gallery/include/init.inc.php on line 184
Line 184:
Code: [Select]
        $hdr_ip = stripslashes($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR']);
« Last Edit: May 18, 2005, 06:51:57 am by GauGau »
Logged
Michael "Oldiesmann" Eshom
SMF Project Manager

Oldiesmann

  • Coppermine newbie
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 11
  • SMF Rules!
    • Archie Comics Fan Forum
Re: SMF Integration Issues
« Reply #1 on: May 18, 2005, 12:12:19 am »

Figured out what the problem was. After editing the files with Dreamweaver, the FTP client (I guess) assumed they were plain text and uploaded them in ASCII format, which resulted in line breaks getting stripped out from both files (ie the code for the entire file was on a single line).
Logged
Michael "Oldiesmann" Eshom
SMF Project Manager
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 15 queries.