chrwei / ArchReactorOS

web based software system for manging membership based community
http://archreactor.org/wiki/index.php/AROS
GNU General Public License v2.0
17 stars 3 forks source link

Fatal Error during install #24

Open thedeepfriedboot opened 14 years ago

thedeepfriedboot commented 14 years ago

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"

chrwei commented 14 years ago

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.

thedeepfriedboot commented 14 years ago

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);"

chrwei commented 14 years ago

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?

thedeepfriedboot commented 14 years ago

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 commented 14 years ago

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.

chrwei commented 14 years ago

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)

thedeepfriedboot commented 14 years ago

Ya, its a MySQL server.

thedeepfriedboot commented 14 years ago

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 commented 14 years ago

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 "

chrwei commented 14 years ago

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.

xipherspace commented 13 years ago

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?

chrwei commented 13 years ago

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 commented 13 years ago

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.

jekhor commented 11 years ago

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

chrwei commented 11 years ago

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.