SMF Integration Issues SMF Integration Issues
 

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

Main Menu

SMF Integration Issues

Started by Oldiesmann, May 17, 2005, 10:32:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Oldiesmann

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:

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:
        $hdr_ip = stripslashes($HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR']);
Michael "Oldiesmann" Eshom
SMF Project Manager

Oldiesmann

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).
Michael "Oldiesmann" Eshom
SMF Project Manager