step 2 on instalation [message #3579] |
Mon, 01 July 2002 22:37 |
morgoth
Messages: 34 Registered: July 2002
Karma: 0
|
Member |
|
|
when i press next on the MySQL part of the instalation (step2) nothing happens in my browser. I use explorer and it just says it is ready
What is wrong????
|
|
|
|
|
Re: step 2 on instalation [message #3602 is a reply to message #3595] |
Tue, 02 July 2002 12:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Could you please show me the output of phpinfo() on your system?
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3629 is a reply to message #3626] |
Tue, 02 July 2002 17:20 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
That may have been a problem although unlikely had the script died after you submitted the 1st step where you've specified the forum paths. However, I see no reason why it would die on the 2nd. Could you make a small php script:
<?php phpinfo(); ?>
And show me what it outputs.
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3636 is a reply to message #3635] |
Tue, 02 July 2002 20:25 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Config seems allright, I cannot see anything out of place. Check your Apache's log file right after running the install script see if any apache children segfaulted. I can imagine that being the only reason why the script would die and not give any error or warning messages.
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3638 is a reply to message #3637] |
Tue, 02 July 2002 20:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Mysql uses port 3306 by default I believe. You can make FUDforum uses a UNIX domain socket to connect to MySQL, then your firewall won't be a problem at all.
FUDforum Core Developer
|
|
|
|
|
Re: step 2 on instalation [message #3645 is a reply to message #3643] |
Tue, 02 July 2002 21:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, one way would be to make firewall allow connections from 127.0.0.1 on port 3306. The other would involve using UNIX Domain Sockets. Find file called mysql.sock on your computer and enter the full path to that file with a ':' prefix as the hostname for MySQL.
FUDforum Core Developer
|
|
|
Re: step 2 on instalation [message #3657 is a reply to message #3579] |
Tue, 02 July 2002 21:27 |
morgoth
Messages: 34 Registered: July 2002
Karma: 0
|
Member |
|
|
hmmmm
sometimes it is maybe a little good getting frustrated
i tried www.microsoft.com as mysql server and i left the other fields full off junk, but believe it or not:
There were still no error messages!!!!!
it was just a blank page
[Updated on: Tue, 02 July 2002 21:27] Report message to a moderator
|
|
|
Re: step 2 on instalation [message #3659 is a reply to message #3657] |
Tue, 02 July 2002 21:34 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
wow that is 'interesting';
try this script:
<?php
error_reporting(E_ALL);
if( !mysql_connect("127.0.0.1", "user", "password") ) {
exit("Could not connect ".mysql_error()."<br>\n");
}
if( !($r = mysql_query("SELECT VERSION()")) ) {
exit("Query Failed: ".mysql_error()."<br>\n");
}
print_r(mysql_fetch_row($r));
mysql_free_result($r);
?>
Once this script works via the web you'll be able to install the forum.
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3663 is a reply to message #3662] |
Tue, 02 July 2002 21:48 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Uhm that error implies lack of MySQL support inside your installation. In fact now that I look at your phpinfo() I see that your PHP did not come with MySQL support.
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3670 is a reply to message #3669] |
Wed, 03 July 2002 11:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I do not know, I do not use redhat. I suspect Redhat did compile their PHP with MySQL module, however it is likely that the MySQL module is not enabled by default. Which means that you will need to make php load it by uncommenting or adding a line to php.ini.
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3674 is a reply to message #3671] |
Thu, 04 July 2002 01:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Which URL is it trying to access when you get the 404 error message?
FUDforum Core Developer
|
|
|
Re: step 2 on instalation [message #3679 is a reply to message #3579] |
Thu, 04 July 2002 07:04 |
morgoth
Messages: 34 Registered: July 2002
Karma: 0
|
Member |
|
|
it works now, expect that i can't access my socket file.
I know it is the right password but still i got access denied for root@localhost (Using password: YES) in /var/www/html/fforum/data/include/db.inc on line 23
--------------------------------------
Error in function/script: db.inc
has caused the following error: unable to establish mysql connection on :/var/lib/mysql/mysql.sock
while processing script name: /var/www/html/fforum/www/adm/admglobal.php
the error occured at: 04/07/2002 07:12:44 GMT
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
User Ip: 217.210.3.159
Script Accessed: /var/www/html/fforum/www/adm/admglobal.php
note: This is not during the installation, it occures when i change in global configuration
[Updated on: Thu, 04 July 2002 07:06] Report message to a moderator
|
|
|
Re: step 2 on instalation [message #3681 is a reply to message #3679] |
Thu, 04 July 2002 12:45 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Does the file exist and if so what are its permissions?
Does it work if you specify 127.0.0.1 as the host?
FUDforum Core Developer
|
|
|
|
Re: step 2 on instalation [message #3730 is a reply to message #3729] |
Thu, 04 July 2002 21:59 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hmm, most unusual problem. You may want to turn of persistant connections, since it could cause problems on systems that were not configured to handle them.
FUDforum Core Developer
|
|
|
|
|
Re: step 2 on instalation [message #3733 is a reply to message #3732] |
Thu, 04 July 2002 22:41 |
morgoth
Messages: 34 Registered: July 2002
Karma: 0
|
Member |
|
|
yes and there was absolutely no problem with upgrading to version 2.2.0, even if i can't see many changes (except for the administration panel)
|
|
|