Hi all, i was wanting to know if anyone knew what the following error message means when trying to install PostNuke on my site. I get through all of the steps needed to create the site and after I clicked on "Go to your PostNuke site" I got the error:
"Although this site is running the PostNuke software
it has no other connection to the PostNuke Developers.
Please refrain from sending messages about this site or its content
to the PostNuke team, the end will result in an ignored e-mail."
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
Problem in Database Connection
-
-
It means that something is wrong with your database and it can't access it. What "steps" did you go through?
-
Sup - Okay, well I downloaded the PostNuke-0.726-1 file. I extracted all of the files into a temporary folder on my desktop. I then went into the temporary folder and edited the config file to match the mySQL host, DB name, and password, as well as username. I saved the file. Then I uploaded the contents of the temporary folder to my website via WS_FTP. Then I typed my URL in the address bar and went to install.php. I went through and set my language to English, the page informed me that I already have the scripts configured for read/write access, I entered the database name, username, password and DB host in the form properties, and then I clicked "new install". I chose not to create the database since it was already created, and then I was nearly finished as it took me to the last part of the install that says "Go to your PostNuke site". Soon as I click that, then I get the error message. I do have phpBB2 forums installed, would that have any type of affect?
-
You shouldn't have edited the config.php file at all. Open it up, on your server, and look at the database connection info. If they look like gibberish, then look and see if the "encoded" setting is 1. If they're plain text, then make sure it's set to 0.
-
You can edit the config file prior to install, and sometimes it can be a way to fix problems, but I've specifically noticed that entering a password manually results in problems. Be sure that field is empty before you install.
Did the tables create normally during the install? Are you using the same database your phpBB2 tables are in? Did you use a prefix for your PN tables? Having other tables in your PN database is not a problem if they are of course kept separate. -
Hey what's up fellas - Okay, I successfully got past the first problem that told me unable to establish database connection.. thanks to mhalbrook for the encoded setting. Now I have this error:
"Fatal error: call to undefined function: themeheader() in /export/web17/omega/shado002/www/header.phpon line 188"
Yes, the tables, when utilizing the install script were built fine, and I am using the same database that my phpbb2 Forum tables are in. I did not use a prefix other than "nuke" for the PN tables, and for the phpbb2 tables, they are phpbb. What I've been doing, is using phpMyAdmin to drop the nuke tables and I've tried to edit the config.php file one line at a time to see if I could narrow down the problem. Pls forgive my newbishness.
And I saw where other people are having similar problems regarding the themeheader - I will read more on that now. Sorry about all this -
Themeheadder is addressed in the FAQ, the DB connection, you didn't say wether the info is in plain text of gibberish. Or what your encoded flag is set to.
-
mhalbrook thanks for everything dude - I found out what the problem was. In my PHP settings on the server the magic_quotes_runtime variable was set to on. Once I turned it off I was able to install PN clean. Sorry about all the confusion and thanks for all your help.. and kjhatch as well.
