News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

need some help with an error

Started by vicez, June 16, 2005, 04:56:01 PM

Previous topic - Next topic

vicez

Notice: Only variables should be assigned by reference in /.../Sources/Subs.php on line 232

Notice: Undefined index: is_admin in /.../Sources/Security.php on line 556

Notice: Undefined index: permissions in /.../Sources/Security.php on line 563

Warning: in_array(): Wrong datatype for second argument in /.../Sources/Security.php on line 563
session_start(): Cannot send session cookie - headers already sent by (output started at /..../Sources/Subs.php:232)


Im getting this error, on my forum. i just installed it some days ago, and it worked until today. I would like to know if its because of my hosting , or its a SMF error.

Thanks in advance.

(The /.../ was replaced by me ,it was the path to the forum on the server)
My SMF powered Forum http://blah.xshaped.com [nofollow]
How-To Blog http://blog.xshaped.com [nofollow]

greyknight17

Welcome to SMF.

Let me see if I can provide some assistance here.  :)

Do you have a backup file for Subs.php in the same directory?  Try replacing it or rename the Subs.php file you have now to something else and rename that .bak file to Subs.php

vicez

i dont have the backup file..it should have been there? i tried overwriting it with the original file from the SMF downloaded package, but i get the same error.
My SMF powered Forum http://blah.xshaped.com [nofollow]
How-To Blog http://blog.xshaped.com [nofollow]

[Unknown]


vicez

PHP Version 4.4.0RC2-dev

this is taken from phpinfo file.
My SMF powered Forum http://blah.xshaped.com [nofollow]
How-To Blog http://blog.xshaped.com [nofollow]

[Unknown]

Unfortunately, SMF has not yet been tested in 4.4.0, only on 5.0.x and 4.3.x.

If you find:

= &mysql_query

And replace with:

= mysql_query

Does it work?

-[Unknown]

vicez

i've replaced it, and so far it works. i just replaced it in subs.php . do i need to replace it in other files too?
My SMF powered Forum http://blah.xshaped.com [nofollow]
How-To Blog http://blog.xshaped.com [nofollow]

[Unknown]


vicez

well..so far so good, seems its working :)

Thanks for help.
My SMF powered Forum http://blah.xshaped.com [nofollow]
How-To Blog http://blog.xshaped.com [nofollow]

Advertisement: