News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Serious Problem with board...

Started by diva_uno, February 07, 2006, 02:47:52 AM

Previous topic - Next topic

diva_uno

For some reason when I was using my package manager to update my forum to 1.0.6  - I ended up with 2 installations. So I clicked uninstall on one of them and now my board says this:

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

Notice: Undefined index: is_admin in /home/site/public_html/community/Sources/Security.php on line 556

Notice: Undefined index: permissions in /home/site/public_html/community/Sources/Security.php on line 563

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



So I manually changed every file. And I know I have to do something with the information in the xml file... but not quite sure how to do it.

Thanks in advance for the help.

diva_uno

#1
Looking in the Sub.php file...
This is the line that my forum is having problems with:
$ret = &mysql_query($db_string, $db_connection);

And these lines in Security.php:
if ($user_info['is_admin'])

if (!is_array($permission) && in_array($permission, $user_info['permissions']))


I'm really confused.


diva_uno

I swear I did this like a couple weeks ago...
But the Subs.php code that I posted above...
I just removed the "&"
:-\

Advertisement: