News:

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

Main Menu

Error message: Load.php line 1981

Started by the twig, September 14, 2006, 03:59:03 AM

Previous topic - Next topic

Orstio

Quote from: shen brood on September 27, 2006, 09:45:21 AM
I get the same error or message at the bottom of my pages at www.broodonline.com

Database Error: Table 'brood_main.sessions' doesn't exist
File: /home/brood/public_html/forum/Sources/Load.php
Line: 1981

How can this be removed?

Most likely, you have the discussbot installed, and you did not configure it.

lebisol

I found another suggestion:
http://forum.joomla.org/index.php/topic,64554.0.html
that basically states:
QuoteYou can try to add this line at the end of your template

             <?php mysql_select_db($GLOBALS['db_name']); ?>

             If it doesn't help, locate a file called MOS_SMF.php in the smf directory.

              find this line

             // Off to the merry board index we go!

             and add the following line just before it.

              mysql_select_db($db_name);

Small problem with this suggestion is ...where is the MOS_SMF.php ?
All the best!

Orstio


lebisol

yes sir, tried removing disabeling it...deleting all the files that have something to do with discussbot...the same. and the darn thing is there only on print...which conceptually does need discussbot in order to pull comments into print page. I am stumped....
and strange thing is that people live this: google results >>

Thanks again!
All the best!

shen brood

How will I configure the discussbot and where can I download it?  I have an installed discussbot but it says "Restricted Access" whenever I click on it.

Another problem that might be related to this is I can't logout in the website and forum it says, "Session verification failed. Please try logging out and back in again, and then try again."

lebisol

ops thought that was directed my way..

@shen brood 
you can check it by going to:

Mambots-->Site mambots-->smf.discussbot
then ensure that you filled out:

SMF Database Name:_________
and
SMF database prefix:__________

but other than this I am no help lol
All the best!

shen brood

My problem is it says 'Restricted Access' whenever I try to edit it.

shen brood

I removed the discussbot and the added code on the template and the message at the bottom had been removed and I was also able to log-out once more... hmmm weird...

Kindred

that may be caused by having a template that is not designed for SMF 1.1RC2 or higher
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Orstio

If you have the discussbot installed, you need to enter your SMF database name and database prefix into the discussbot params.

shen brood

Quote from: Kindred on September 28, 2006, 03:30:03 PM
that may be caused by having a template that is not designed for SMF 1.1RC2 or higher

Are you relating to the Joomla Template?

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

shen brood

I always update the SMF Theme to make it compatible with the version that we are using so it can't possibly be compatibility issue with the theme.

lebisol

#53
hello gurus,
here is one way that it seems to have worked.
Not sure if this is a 'healthy' way of doing it but what I did was:
-used the snip of code at the bottom of the page as Orstio suggested.
-disabled 'Use database driven sessions' in SMF

the error is gone but...
what is the pitfall of non-databse sessions?

edit note: my host upgraded to php 5.0.5 without notice....is SMF even ready for it?

Thanks again!
All the best!

Advertisement: