Quote:
Originally Posted by pokerie
I'm getting this error too:
Fatal error: Call to a member function on a non-object in /path/to/my/forums/login_inc.php on line 150
(I've changed the path to the forum in this message)
|
I get this message above when I dont put in the chdir code.
I tried putting in the chdir lines but then I get a "headers already sent" fatal error. I checked for white space above the line as suggested and there is none. The paths I am using are correct. (When they were not, I was getting a file not found error)
Here is the message about headers:
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/whatta/public_html/index.php:15) in /includes/functions.php on line 2394
Any ideas? I'm using vb 3.5.4
UPDATE: NEVER MIND! FOUND PROBLEM:
I was using include
instead of require_once when calling the login script....
Apparently thats a no-no.....