Log in

View Full Version : Fatal error: Call to undefined function...


xmorpher
05-02-2005, 10:09 PM
Hi,...
i'm not able to install hacks that changes the file:
/includes/functions.php

when i modify that file (even if the change is small)
i get errors like this:
Parse error: parse error in /var/www/html/forum/includes/functions.php on line 2019

Fatal error: Call to undefined function: is_browser() in /var/www/html/forum/global.php on line 59


I just did this bug-test, please read:

i uploaded the original vb file: /includes/functions.php
and there were not problems ...

then i opened the original file in my HHDD,
and i modified it in just one line of code
(added a small comment without change/add/delete anything else) :

// this is a small comment

i saved the file and uploaded again
and i got this error:

Quote:
Parse error: parse error in /var/www/html/forum/includes/functions.php on line 2019

Fatal error: Call to undefined function: is_browser() in /var/www/html/forum/global.php on line 59

the file was uploaded in ASCII mode and has the proper permissions

what's wrong?..... any idea?
:disappointed:

kall
05-02-2005, 10:17 PM
What's an HHDD?

That may well be your problem...whatever this HHDD thing is, it might be corrupting the file somehow.

Reeve of shinra
05-02-2005, 10:40 PM
Dreamweaver and other html programs attempt to auto-correct something in that file it sees as wrong and thats where error comes from.

Try editing the file with notepad or notepad ++

xmorpher
05-04-2005, 12:54 PM
HHDD.... hard disk
:)

yes,.. the file was modified with Dreamweaver
i'm going to try with notepad in that particular file (functions.php)

thanx