PHP Simplicity Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Some of SFU features: Universal password protection, notification of uploads and logging just to name few.

Author Topic: parse error and fatal error  (Read 1542 times)

0 Members and 1 Guest are viewing this topic.

lordy

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
    • View Profile
parse error and fatal error
« on: June 15, 2005, 08:16:34 PM »

Hi,

trying to get this working but I receive the errors:

Parse error: parse error, unexpected '/' in /var/www/html/SFUConfig.php on line 35

Fatal error: Failed opening required '.lng' (include_path='.:/usr/share/pear') in /var/www/html/upload.php on line 39

line 35 is
define('SFU_REALPATH', /var/www/html/photos/.'/');  /* /home/usr/public_html/upload/ */

I didn't modify upload.php at all....
I also uploaded both .lng files to the remote directory, any ideas on how to fix these problems?
Logged

Saleh

  • Administrator
  • Full Member
  • *****
  • Offline Offline
  • Posts: 222
    • View Profile
    • PHP Simplicity
Re: parse error and fatal error
« Reply #1 on: June 16, 2005, 07:32:45 AM »

change line 35 to:

define
('SFU_REALPATH''/var/www/html/photos/');
;)
Logged

We don't need a reason to help people
 

+ Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.
Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Are you a bot/spammer?: