Installing Steps

Feed 28 posts, 4 voices

Mar 8, 2008 13:45
Avatar
131 posts

I'm having a similar error message appear. After I received a Frog installed correctly message and removed the install folder as instructed, I returned to the folder where Frog is installed and received the following error message: Uncaught exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'redcrew_frogcms'@'localhost' to database 'frog'' in /home/redcrew/public_html/frog/index.php:25 Stack trace: #0 /home/redcrew/public_html/frog/index.php(25): PDO->__construct('mysql:dbname=fr...', 'redcrew_frogcms', 'xxxxxx') #1 {main} thrown in /home/redcrew/public_html/frog/index.php on line 25

The reference to the database "frog" is incorrect in the error message. The database name is actually redcrew_frog. Any suggestions on what I'm missing?

 
Mar 8, 2008 23:07
Avatar
131 posts

Anyone have ideas on what the error means in my message above?

I'm stuck and can't go any further with the install, since it's not working.

 
Mar 9, 2008 08:20
Avatar
131 posts

Are there any specific, line by line, installation steps on the site? I've found suggestions in various forum threads, but not one page that explains exactly what steps need to be taken for installation. Did I miss it somewhere? I managed to resolved the issue above, by searching in the forum for the error message. Turns out PDO was not enabled on my server. Hopefully this will help others who are trying to install Frog CMS.

However, I've now encountered another issue of not being able to login to the admin area. Yet another search on the forum to find a solution. At this point I'm going to remove the entire installation and start fresh, for the third time.

 
Mar 9, 2008 11:06
Avatar
963 posts

Hi Redcrew – There is a “readme.txt” file in the root directory which details the (minimal) installation steps. It could probably do with a better name :) and possibly a bit of rewriting for clarity, but that’s where you find installation instructions at the moment.

David.

 
Nov 10, 2008 09:13
Avatar
131 posts

When I installed Frog CMS for the first time last spring, I had understood that PDO was required. Or at least that’s what I thought, given than when PDO was enabled, my installation issues were resolved (see above).

When David and I corresponded this weekend, he commented that he didn’t think it was a requirement.

So, I’m a bit confused. The requirements indicate it’s not required, but installation issues on 2 different Frog CMS sites make me think it is required.

If PDO is not enabled, do I need to make configuration changes?

 
Nov 10, 2008 09:32
Avatar
315 posts

When you install, does it not give you a choice to disable PDO?

 
Nov 10, 2008 09:51
Avatar
131 posts

Hmm, I’m not remembering the option for enabling/disabling PDO. Guess I’ll do an installation today to test it out.

 
Nov 10, 2008 10:10
Avatar
963 posts

0.9.4 is not giving me a choice whether or not to use PDO. The install process ought to give this option, so I guess I’ll head over to the issue tracker!

Meanwhile, you can do a successful Frog install without PDO by making this change manually before running the install script: in the file [frog_root]/install/config.tmpl, go to line 35 which looks like this:

define('USE_PDO', <?php echo $use_pdo ? 'true': 'false'; ?>);

And change it to this:

define('USE_PDO', false);

That’s it. You should get a nice Frog install, but with config.php set up not to look for PDO. Worked for me…..

 
Nov 10, 2008 10:59
Avatar
131 posts

David,

You beat me to testing out the installation!

Thanks for the heads up on the installation changes when PDO is not enabled. As we discussed in email, I’ve been under the incorrect impression I had to have PDO installed.

 
Nov 10, 2008 11:12
Avatar
131 posts

David, and others,

Is there anything I should be aware of in running Frog CMS without PDO enabled? Any speed issues, or other items I need to know?

 
Nov 11, 2008 15:46
Avatar
458 posts

I don’t think any major speed issues should arise. One recurring issue though is that at the moment Frog is kinda biased concerning DBs. It tends to assume you’re using MySQL. I don’t know about any major issues though.

If you do find any problems, you can add them to the issue tracker

 
Nov 12, 2008 15:50
Avatar
131 posts

I’ll be using MySQL for the site