Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: scottws - huhtikuu 27, 2006, 10:01:09 IP

Otsikko: Trouble installing 1.1 RC2 on LAMP server
Kirjoitti: scottws - huhtikuu 27, 2006, 10:01:09 IP
I set up a LAMP server to test 1.1 RC2 (not ready to move from 1.0.7 on real forum just yet).  Now I know that I shouldn't really host a forum on a personal box, but this is just for testing.  I don't even intend to open it up to the real Internet. Anyway...

It's a Debian box.  I got packages apache2-mpm-prefork, mysql-server, php5-mysql, libapache2-mod-php5. I also installed phpMyAdmin from binary, and am able to talk to the MySQL database, create users, etc. with phpMyAdmin.

I put SMF in a subdirectory called /forum.

At first, SMF's install.php file was telling me PHP isn't configured for MySQL.  I got that fixed after some finagling.  Now it asks me to enter my FTP information.  I installed an FTP server.  I can connect with my main username (but not root for some reason).  For this reason, I made myself part of the "staff" group on Debian.

After SMF decides that I can log into FTP, it brings up the main installer page where you enter your MySQL server and forum info.

I entered it all, hit Submit, and all it does is reload the page.  I don't even get an error telling me what the problem is.  I tried creating more users in MySQL with all priveledges and Admin access.  I tried logging in as all of these users, inlcuding root.  I tried creating a MySQL table first through phpMyAdmin and then copying that name on the install.php screen.

No matter what I try, it just simply refreshes the page and does not give me an error of any kind.  Anyone know what the problem is and what I can do to fix this?

Otsikko: Re: Trouble installing 1.1 RC2 on LAMP server
Kirjoitti: Oldiesmann - huhtikuu 28, 2006, 11:00:41 AP
Not sure what the problem is. Make sure you're entering the correct password and that the database you're tyring to use actually exists.
Otsikko: Re: Trouble installing 1.1 RC2 on LAMP server
Kirjoitti: H - huhtikuu 28, 2006, 11:56:42 AP
Can you post a phpinfo (a php file containing <?php phpinfo(); ?>) so we can check your mysql settings. Thanks
Otsikko: Re: Trouble installing 1.1 RC2 on LAMP server
Kirjoitti: scottws - toukokuu 01, 2006, 11:00:14 IP
It turns out that it was a file or directory permission issue.  I think the permissions on everything were 755 and owned by root.root, and I was using a different FTP user account.

I chmod-ed everything to 777 and it worked (I have since set the proper folder and file permissions).

Still, I would have thought it would have given me an error of some kind.