Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Fatal error: Call to a member function read() on a non-object in - Please Help

Aloittaja thenexttrillions, syyskuu 20, 2011, 01:16:54 AP

« edellinen - seuraava »

thenexttrillions

I have two problems.
I have no problem to upgrade -done.
I have no problem of install adds-on package.

A month ago, I transferred from a hosting. I backup, restore, worked from scratch. I didn't notice I have 2 problems after today I upgrade and tried to register a new user.

Here are the errors:

1)
Fatal error: Call to a member function read() on a non-object in /home2/thenscom/public_html/forum/Sources/Admin.php on line 735



admin.php is attached

2) Database error ( After pressed the register button)

Please try again. If you come back to this error again....



Your help is much appreciated.
Thank you


Oldiesmann

The first error seems to indicate that the path to your "default" theme directory is incorrect.

The second one is a database error. There should be more info about that in your forum error log.
Michael Eshom
Christian Metal Fans

thenexttrillions

Thank you for your prompt reply.

I don't understand these error I paste from forum error log.

dir(/home/freegolf/public_html/thenexttrillions.com/forum/Themes/Joker1) [<a href='function.dir'>function.dir</a>]: failed to open dir: No such file or directory
File: /home2/thenscom/public_html/forum/Sources/Admin.php
Line: 734


Database Error: Unknown column 'is_spammer' in 'field list'
File: /home2/thenscom/public_html/forum/Sources/Subs-Members.php
Line: 807


8: Undefined index: stopspammer_enable
File: /home2/thenscom/public_html/forum/Sources/Register.php
Line: 293


How to troubleshoot each of them.
Please..I am a Php noob.

thenexttrillions

#3
Lainaus käyttäjältä: Oldiesmann - syyskuu 20, 2011, 01:36:05 AP
The first error seems to indicate that the path to your "default" theme directory is incorrect.

The second one is a database error. There should be more info about that in your forum error log.

dir(/home/freegolf/public_html/thenexttrillions.com/forum/Themes/Joker1) [<a href='function.dir'>function.dir</a>]: failed to open dir: No such file or directory
File: /home2/thenscom/public_html/forum/Sources/Admin.php
Line: 734


Hmm...the path is really incorrect.
username should be thenscom

How to change that?
I just tried repair setting but seem ok ( I mean ,the problem still that)

Illori

go to admin -> themes and layout -> themes and settings at the bottom of the page click attempt to reset all themes

thenexttrillions

Lainaus käyttäjältä: Illori - syyskuu 20, 2011, 05:59:42 AP
go to admin -> themes and layout -> themes and settings at the bottom of the page click attempt to reset all themes

I followed you direction and solved the first problem. I reset the theme back to default. I even installed Google plus 1 from theme setting. That's cool.
Thank you for your help, much appreciated.

Now, I still would like to know the way to solve my second problem.
Database error.
Please try again. If you come back to this error screen, report the error to an administrator.

What should I do now?

thenexttrillions

I thought of saving space resources.
Maybe I am wrong.
One question, one thread,
Thread closed for another new thread.
Thank you for attention.
Once again, thank you for those who answered this thread.
Wish you the best of health and happy forever.

Advertisement: