- Moderated by:
- Support
-
- rank:
-
Helper
- registered:
- July 2004
- Status:
- offline
- last visit:
- 17.06.07
- Posts:
- 175
I have a huge problem!! I need pnRender and I have tried to install twice and keep getting an error. After I instal i got o my homepage and get "problem with database connection" and i can't even get to my site.
I have seen posts about the config.php file, is that my problem? Where is this located? and wwhat would I need to change.
Also I have seen Swiss Army Knife, is that an option? Please help I just want to install pnrender! -
- rank:
-
Professional
- registered:
- April 2002
- Status:
- offline
- last visit:
- 24.11.08
- Posts:
- 716
"problem with database connection" means the cora can't connect to the database. This might be due to problems in the database server (try with phpMyAdmin), or because the wrong credentials are in config.php (this file is located at the root of your PostNuke directory) -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13418
Quote
what would be problem be with the database server?
Such as it crashing or otherwise not being available.
Quote
in the config.php file, what would I need to change?
That depends on whether this is actually causing the problem. Information in config.php is encrypted, so you need to enter the correct database connection values, and set the encoded variable to 0.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Helper
- registered:
- July 2004
- Status:
- offline
- last visit:
- 17.06.07
- Posts:
- 175
My database is fine...
I changed the encoded variable to 0 and it still isn't working. Can you think of anything else.
I am stuck, everything I want to do requires pnrender and I can't seem to get it up and running. -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13418
Your variables in config.php must be wrong. Check that the values in the file are correct.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Helper
- registered:
- July 2004
- Status:
- offline
- last visit:
- 17.06.07
- Posts:
- 175
This is my config.php file:
----------------------------------------------------------------------
//
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbtabletype'] = 'MyISAM';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = '';
$pnconfig['dbpass'] = '';
$pnconfig['dbname'] = 'Phoenix';
$pnconfig['system'] = '0';
$pnconfig['prefix'] = 'nuke';
$pnconfig['encoded'] = '0';
// ----------------------------------------------------------------------
// For debugging (Pablo Roca)
//
// $debug - debugger windows active
// 0 = No
// 1 = Yes
//
// $debug_sql - show SQL in lens debug
// 0 = No
// 1 = Yes
// ----------------------------------------------------------------------
GLOBAL $pndebug;
$pndebug['debug'] = 0;
$pndebug['debug_sql'] = 0;
// ----------------------------------------------------------------------
// You have finished configuring the database. Now you can start to
// change your site settings in the Administration Section.
//
// Thanks for choosing PostNuke.
// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// if there is a personal_config.php in the folder where is config.php
// we add it. (This HAS to be at the end, after all initialization.)
// ----------------------------------------------------------------------
if (@file_exists("PostNuke1/personal_config.php"))
{ include("PostNuke1/personal_config.php"); }
// ----------------------------------------------------------------------
// Make config file backwards compatible (deprecated)
// ----------------------------------------------------------------------
extract($pnconfig, EXTR_OVERWRITE);
?>
Can you tell me what is wrong?? -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13418
usually, its localhost.
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Helper
- registered:
- July 2004
- Status:
- offline
- last visit:
- 17.06.07
- Posts:
- 175
-
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- online
- Posts:
- 13418
Are there any tables in the database? Did you ever run the install script and get past the table creation stage? Is the prefix value in config.php set correctly?
--
Regards,
Simon
itbegins.co.uk - Zikula Consulting
Please read the Support Guide -
- rank:
-
Helper
- registered:
- July 2004
- Status:
- offline
- last visit:
- 17.06.07
- Posts:
- 175
Yes there are all of the PostNuke tables in this database. My site has been up and running for a while with no problems until this www.ilivetoshop.com What is the prefix value you are referring to?
Post Nuke was already installed my my server by the server company I didn't do it myself. -
- registered:
- June 2002
- Status:
- offline
- last visit:
- 10.11.04
- Posts:
- 611
Quote
Post Nuke was already installed my my server by the server company I didn't do it myself.
Well if it was the version in the plesk application vault, it is a hacked version and they(plesk) add the database connection information in I "think" the pnAPI.php file, not sure though where they stuck it but its not in the config.php file where its supposed to be at.
If this is the case then you are going to have lots of problems with installing 3rd party modules and also with upgrading PostNuke.
