Log in

View Full Version : parse/fatal error


Scope
04-02-2004, 12:40 AM
i cant access admincp or the forums

these is the error the forums are giving me

Parse error: parse error in /home/scope325/public_html/forums/includes/functions.php on line 13

Fatal error: Call to undefined function: is_browser() in /home/scope325/public_html/forums/global.php on line 59

these are the errors the admincp is giving me

Parse error: parse error in /home/scope325/public_html/forums/includes/functions.php on line 13

Fatal error: Call to undefined function: exec_nocache_headers() in /home/scope325/public_html/forums/admincp/global.php on line 37

filburt1
04-02-2004, 12:46 AM
What is line 13 (and several lines before and after it)?

Scope
04-02-2004, 04:20 AM
||
\*================================================ ======================*/

error_reporting(E_ALL & ~E_NOTICE);

// predefine the phrasetypeids of a few phrase groups
define('PHRASETYPEID_HOLIDAY', 35);

error_reporting(E_ALL & ~E_NOTICE); [line 13]

I was installing vb3 Postbit Style Option v1.0 if that matters and then took it out

Scope
04-02-2004, 07:53 PM
...

filburt1
04-02-2004, 08:59 PM
It has been three hours. Please don't bump this early.

Those HTML entities should be ampersands only--don't know if they are simply being parsed in your post.

Scope
04-02-2004, 09:06 PM
sorry bout bumping, ok
that is exactly how it is written out in the php
and can you put what you said in newb terms

Velocd
04-02-2004, 09:26 PM
Rewrite:
error_reporting(E_ALL & ~E_NOTICE);

As:

error_reporting(E_ALL & ~E_NOTICE);

There is no reason to use html special chars in PHP, unless it's in a string.

Scope
04-03-2004, 01:39 AM
i fixed that now i got this error...

Unable to add cookies, header already sent.
File: /home/scope325/public_html/forums/includes/functions.php
Line: 3799

Scope
04-03-2004, 02:43 AM
nevermind, thank you filburt and velocd