ArchReactorOS icon indicating copy to clipboard operation
ArchReactorOS copied to clipboard

Fatal Error during install

Open thedeepfriedboot opened this issue 14 years ago • 15 comments

I get the fatal error below right after telling ArchOS to fresh install. This has happened every time I tired using freshly pulled files from the git repository and a fresh SQL database.

Error Code:"Fatal error: Call to a member function Execute() on a non-object in /home/tdfb/public_html/ieee/lib/functions.php on line 7"

thedeepfriedboot avatar Sep 07 '10 21:09 thedeepfriedboot

could you tell me what's on line 7 of that file? the file in git doens't say anything about Execute() in that file.

chrwei avatar Sep 07 '10 21:09 chrwei

This is the standard functions.php that I got off the repository about 20 min ago. I was just following the standard install.php. I pulled line 7 from /lib/functions.php and its copied below.

" $result = $db->Execute($query);"

thedeepfriedboot avatar Sep 07 '10 21:09 thedeepfriedboot

ah, I see it now, the line numbering is messed up in the source browser.

that has to do with the database class. do you have mysql extension enabled?

chrwei avatar Sep 07 '10 22:09 chrwei

I am not sure, how would I check for that? I am running other installs such as WordPress, SMF forums, ect using my SQL server and I have full control over the SQL server.

thedeepfriedboot avatar Sep 07 '10 22:09 thedeepfriedboot

I am talking with a friend right now and he wants to know what file is $db initiated from. He is looking at the code and he thinks a line might be missing.

thedeepfriedboot avatar Sep 07 '10 23:09 thedeepfriedboot

should be from init.php, might depend on at which step it fails.

and just to be as clear as possible, when you say "my SQL server" you do mean the MySQL brand right? currently it is the only sql server supported (though patches to support more are most welcome)

chrwei avatar Sep 07 '10 23:09 chrwei

Ya, its a MySQL server.

thedeepfriedboot avatar Sep 07 '10 23:09 thedeepfriedboot

Anyway, if you want, I could take screen shots of each step of the install to help diagnose the problem. I have been poking around but unfortunately I am not sure whats wrong. Is there something else I should try?

thedeepfriedboot avatar Sep 08 '10 19:09 thedeepfriedboot

I just tried the reinstall again and got the error below: " Fatal error: Class 'PHPMailer' not found in /home/tdfb/public_html/ieee/lib/email.class.php on line 3

Fatal error: Call to undefined function adonewconnection() in /home/tdfb/public_html/ieee/init.php on line 32 "

thedeepfriedboot avatar Sep 08 '10 19:09 thedeepfriedboot

something isn't working right at all on your server, it's like includes arne't processing. what php version, and can you send me your init.php file contents in a private message? you can also try turning on an error log in your php.ini, and set the error level to E_ALL.

chrwei avatar Sep 08 '10 20:09 chrwei

Same problem here: PHP Fatal error: Call to a member function Execute() on a non-object in /var/.../.../lib/functions.php on line 7, referer: http://.websitename.org/install/install.php

Can you please post the solution to the deepfriedboot's problem so I can see if it is the same as my own?

xipherspace avatar Jul 22 '11 21:07 xipherspace

I never got a response, so i have no idea what the issues is. If you can send me the same info i asked for i can take a look.

chrwei avatar Jul 22 '11 21:07 chrwei

actually I went looking, I did get a response. problem was possibly 2 part, using a URL where a local path is required, and some possible file permissions or shared hosting restriction that never got pinned down. there were things I asked about that didn't get answered, so i still don't know the exact problem.

chrwei avatar Jul 22 '11 22:07 chrwei

ArchReactorOS 1 0 Installer-1 ArchReactorOS 1 0 Installer-2 ArchReactorOS 1 0 Installer-3 ArchReactorOS 1 0 Installer-4 ArchReactorOS 1 0 Installer-5 ArchReactorOS 1 0 Installer-6

jekhor avatar Jan 17 '13 07:01 jekhor

jekhor, make sure you're not using a URL where a local path is expected. I'd need to see your init.php file contents to be of any more help. You may send it to me in a private message.

chrwei avatar Jan 17 '13 14:01 chrwei