FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

installation problem

Feed 36 posts, 8 voices

Avatar
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?
This is what phpinfo says. So i think it supports a frog installation

PHP Version 5.2.6
mysql Client API version 5.1.24-rc
Apache/1.3.41

but no support for IIS, Nginx

Could that be the problem?

 
Avatar
1493 posts

From the data supplied, it looks as though Frog should run without difficulty.

Some questions, though:

  • are you sure you gave the install screen the correct mySQL username/password?
  • did you FTP-upload Frog as “uncompressed”? or upload an archive to the remote host, and unzip/expand/etc. remotely? (Sometimes files can get corrupted in transmission.)
  • who is your host? it seems one or two have cropped up as having special, ahhh, challenges…
  • can you check any log-files to see what error messages might be thrown?

There’s a start, anyway. I know you’ve had Frog running successfully locally, so you know it can be done! :)

 
Avatar
6 posts

thanks for the reply david!
I think i entered the correct mySQL username/password info otherwise i would get an error like cannot connect to db ect.. right?
as for my host its vortechhosting.com (unix lite package)
also I uploaded frog via ftp uncompressed but a quick check seems that all file have been uploaded. are there any permissions that need to be changed for certain files?

no errors came up during the install.

thanks

 
Avatar
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.

 
Avatar
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…

 
Avatar
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.

 
Avatar
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.

 
Avatar
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:

You have an error in your SQL syntax. 
Check the manual that corresponds to your MySQL server version 
for the right syntax to use near 'ENGINE=MyISAM DEFAULT CHARSET=utf8' 
at line 13

MySQL is 4.0.16.

Updated the issuetracker with this info.

 
Avatar
291 posts

Same server but with MySQL 5.1 installation works ok.

So it seems no PDO + MySQL 4.0 is the broken combination.

 
Avatar
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
mysql 5.0.51a

configure command “disable-pdo” (is this the problem?)

 
Avatar
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

 
Avatar
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.

 
Avatar
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 :(

 
Avatar
1493 posts

BUT i still don’t get message to change config.php and /public CHMOD.

? 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!)

 
Avatar
42 posts

OK so i did enter data and tried to install
BUT says:

Frog has not been installed properly.
The following error has occured:

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!

 
Avatar
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.

 
Avatar
42 posts

just in case:
php 5.2.0 mysql 5.0.xx and 4.1.xx
Apache 2.2.x

 
Avatar
1493 posts

… mysql 5.0.xx and 4.1.xx

How do you ensure that you’re on the v. 5.0.x option?

 
Avatar
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.

 
Avatar
42 posts

Martijn i will read this thread
EDIT: tried 127.0.0.1 but still get error:

SQLSTATE[HY000] [2003] Can’t connect to MySQL server on ’127.0.0.1’ (111)

Instead of localhost i use mysqlhost5 because
This is data from server provider:

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

 
Avatar
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):

sql112.myhost33.com

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?

 
Avatar
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.

 
Avatar
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

 
Avatar
1493 posts

and again password …

is exactly what it should be: “password”. Try it!

(And if you still have trouble, have a browse through this thread.)

 
Avatar
42 posts

is exactly what it should be: “password”. Try it!
(And if you still have trouble, have a browse through this thread.)

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