installation problem
|
6 posts
|
I installed frog, It said it was successful but no tables were created in the database. And i get a blank screen on the home page, plus login wont work it says password is incorrect. basically the same problem as the last two posts.Could it be my host? PHP Version 5.2.6 but no support for IIS, Nginx Could that be the problem? |
|
1493 posts
|
From the data supplied, it looks as though Frog should run without difficulty. Some questions, though:
There’s a start, anyway. I know you’ve had Frog running successfully locally, so you know it can be done! :) |
|
6 posts
|
thanks for the reply david! no errors came up during the install. thanks |
|
316 posts
|
This seems to be a fairly common occurrence. “Install successful, but no tables in database”, that is. Perhaps the installation routine could use some fixes? Maybe we need to include some troubleshooting tips in the documentation for this specific problem? I think the only permissions that need editing were for the public folder. I haven’t installed recently, so I’m not 100% on that. |
|
486 posts
|
Yeah it should be added to the issue tracker. If no tables were created, it wasn’t a successful install! It should load a page showing what the errors are and troubleshooting tips… |
|
291 posts
|
I also debugged one persons failed installation over the phone today. Frog says installation was successfull but no tables got created on database. This instance was without PDO. Config.pgp got generated correctly. Frog was installed in subdirectory. |
|
1493 posts
|
I’m beginning to wonder if this is PDO-related. It seems such a strange thing otherwise. I certainly can’t (cannot) replicate it, which always make debugging harder! This is an open issue, btw, so do star that issue it if is of interest to you. |
|
291 posts
|
Just got mail back about the issue. He was debugging it a bit by adding call to mysql_error() into exec() function in DoMysql.php driver. Then ran installation again and got this:
MySQL is 4.0.16. Updated the issuetracker with this info. |
|
291 posts
|
Same server but with MySQL 5.1 installation works ok. So it seems no PDO + MySQL 4.0 is the broken combination. |
|
6 posts
|
hi all, I installed frog on a free host and it worked perfectly! I am not to php savvy but the phpinfo for the new host is this PHP Version 5.2.6 configure command “disable-pdo” (is this the problem?) |
|
42 posts
|
i have kind of same problem…i upload frog files to server and go to /intall but what is weird is that frog doesn’t say that i haven’t given config.php and public correct rights…and now if i want to log in frog just would not let, keeps refreshing to log in window :( what maybe the problem? EDIT: phpMyadmin shows that password is something like that: 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 |
|
651 posts
|
kristjan, you don’t have to go to /install… just go to the frontpage of your site and Frog decides installation is necessary based on an empty config.php (i.e. if config.php is 0 bytes, it redirects to the install sequence) Humor me.. re-download Frog, remove all the old files from Frog, upload the new download, go to the frontpage. |
|
42 posts
|
Martijn…i took frog 0.9.4…uploaded files to server…went to site address www.proklubi.ee frog directed me to install BUT i still don’t get message to change config.php and /public CHMOD. Click to that address and see it yourself :( |
|
1493 posts
|
? But you should just have to fill in those fields, click “Install now”, and you should be done. You can chmod /public to 777 for installation, but unless there is a strange PDO problem (see above in thread) you should be good to go. (???) (I’m obviously puzzled!) |
|
42 posts
|
OK so i did enter data and tried to install Frog has not been installed properly. SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) Unable to connect to the database! Tables are not loaded! |
|
1493 posts
|
@kristjan007 – if you search the forums for “SQLSTATE”, you’ll get a small handful of threads dealing with this error. Have a look through them, but perhaps the most helpful is this one — but do check the others, just in case! It seems to be a problem either with the path to mySQL, or the version of mySQL itself. You should double check settings with your host, too. |
|
42 posts
|
just in case: |
|
1493 posts
|
How do you ensure that you’re on the v. 5.0.x option? |
|
651 posts
|
Frog supports both MySQL 4.1.xx and MySQL 5.x so that shouldn’t be a problem. (as long as it isn’t 4.0.x) @kristjan007 – you really need to check the thread David mentioned. The message you’re getting is basically related to a “misconfigured” or rather an esoterically configured MySQL server. To cut it short: try using 127.0.0.1 instead of localhost. |
|
42 posts
|
Martijn i will read this thread SQLSTATE[HY000] [2003] Can’t connect to MySQL server on ’127.0.0.1’ (111) Instead of localhost i use mysqlhost5 because MySQL Server / Host: mysqlhost5 (MySQL 5.0) Andmebaas / Database: la01_9333110 Kasutajatunnus / User Name: la01_9333110 Salasõna / Password: XDg36xxx it wierd that it doesn’t give error message for config.php and /public also :S |
|
1493 posts
|
Can you try sending your host a support ticket, and ask them to confirm the name of your “mysqlhost5 (MySQL 5.0)” server? On one of my hosts, the name is (for example):
and that’s what I use for the “Database server” field when installing Frog. Or maybe you were given this info when you opened your account with them? |
|
651 posts
|
@kristjan007 – mysqlhost5 is not a fully qualified hostname… but when I tried entering it into the install screen you linked to, it spat out “10.1.0.226” as an IP address. Try that with the correct database password. If that works: complain to your host! They should give you the fully qualified hostname for the DB machine which you should use instead of the IP address. Using the hostname should not throw the sock error. |
|
42 posts
|
ok i tried everything i came up to…finally i put mysqlhost5 and user+password and frog give me Succesfully installed etc. Oh and i gave gonfig.php and /public 777. But when i want to log in it just would not let :S and again password is fucked up: 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 |
|
1493 posts
|
is exactly what it should be: “password”. Try it! (And if you still have trouble, have a browse through this thread.) |
|
42 posts
|
i tried “password”, i read that thread and tried to change password to “apple” and still nothing, only keeps refereshing when i try to log in :( EDIT: i changed my e-mail in phpmyadmin and letted frog to send me new password, but still i can’t log in, problem continues |