Hi,
After following the upgrade process to a queue I still get the above error after clicking on the "Click here to start the upgrade process"...
I have deleted and added a new user to the DB incase I was wrong with the passwd but still got the following error.(Remove the .htaccess files)
Please tell me where am I wrong:
$PNConfig['DBInfo']['default']['dbtype'] = 'mysql';
$PNConfig['DBInfo']['default']['dbhost'] = 'localhost';
$PNConfig['DBInfo']['default']['dbuname'] = 'me_pnke1';
$PNConfig['DBInfo']['default']['dbpass'] = 'mynewusernamepasswd'; Should this be the DB passwd but not sure if there is one
$PNConfig['DBInfo']['default']['dbname'] = 'me_pnke1';
$PNConfig['DBInfo']['default']['encoded'] = 1;
$PNConfig['DBInfo']['default']['pconnect'] = 0;
$PNConfig['DBInfo']['default']['dbtabletype'] = 'innodb'; Should this be myisam
$PNConfig['DBInfo']['default']['dbcharset'] = 'latin1';
Am lost after this....
Regards,
Khlur.
edited by: khlurkari, Jul 20, 2009 - 04:12 PM
--
Tur Shipai Tur
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problem in Database Connection
-
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
-
- Rank: Developer
- Registered: Mar 29, 2005
- Last visit: Mar 13, 2010
- Posts: 228
If the DB password is not encode you have to change
$PNConfig['DBInfo']['default']['encoded'] = 1;
in
$PNConfig['DBInfo']['default']['encoded'] = 0;
--
Zikula Italia
SimpleGallery -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
Let me try this... hehehehe Thanx for the quick reply...
--
Tur Shipai Tur -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
Hehehehe Tried the following and got this error
Table 'me_pnke1.zk_module_vars' doesn't exist
SELECT pn_value , pn_name FROM zk_module_vars WHERE pn_modname='/PNConfig'
--
Tur Shipai Tur -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
Your table prefix ('zk') is probably wrong. Change it to what is appropriate for you (this might be 'nuke').
See also Wiki: UpgradingZikula764 (especially if you are using the migration distribution)
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
Yeah! dat was it... Thank you soooo much .... changed the following:
global $PNConfig;
$PNConfig['System']['installed'] = 0; // installer will change this during installation
$PNConfig['System']['tabletype'] = 'myisam'; // installer will change this during installation
$PNConfig['System']['temp'] = 'pnTemp'; // installer will change this during installation
$PNConfig['System']['prefix'] = 'nuke'; This was zk initially // installer will change this during installation
$PNConfig['System']['development'] = 0; // should be set to 0/false when cutting a release for production use
Thank you so much....
Regards,
Khlur
--
Tur Shipai Tur -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
LOL,
After all the upgrading process was done I got to this page......
Zikula is Not Installed!
You are seeing this message because Zikula is not yet installed. You can install Zikula by visiting the install script, but before doing so please read the installation instructions. Further information can be found in the online documentation.
Should I install a fresh one or did I still do somethign wrong???
--
Tur Shipai Tur -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
did you run upgrade.php once?
because you may have tried to run things multiple times, you may have some corruption. I would suggest replacing your DB with your backup and then make sure your config settings are correct and then run the upgrade.php once. -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
Just read that page.Teb
See also Wiki: UpgradingZikula764
It says you have to set
Code
php]$PNConfig['System']['installed'] = 1;
Just change that value in /config/config.php and you should be good to go.
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
I did the installation only once..... Am in the process of replacing the DB.... then will try the above. suggestion too.... Am really grateful for all this help ... Really lost rite now thought I got it good when the upgrade process was done..
--
Tur Shipai Tur -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
Below is the error I now get after using the backup DB and setting the "PHP]$PNConfig['System']['installed'] = 1;"
Unknown column 'pn_name' in 'field list'
SELECT pn_uid AS "uid",pn_name AS "name",pn_femail AS "femail",pn_url AS "URL",pn_user_avatar AS "user_avatar",pn_user_icq AS "user_icq",pn_user_occ AS "user_occ",pn_user_from AS "user_from",pn_user_intrest AS "user_intrest",pn_user_sig AS "user_sig",pn_user_aim AS "user_aim",pn_user_yim AS "user_yim",pn_user_msnm AS "user_msnm",pn_bio AS "bio",pn_timezone_offset AS "timezone_offset" FROM nuke_users76x AS tbl
--
Tur Shipai Tur -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
Hmmm... So, when you initially ran the upgrade.php and forgot to set $PNConfig['System']['installed'] = 1, you at least got the upgrade right, but you couldn't access your site.
Now, you restored a backup of your database and you get this message? Strange, because the upgrade process itself does not use that config setting. Only the index.php does, and that one is not called untill the migration has conpleted.
Are you sure your database was empty before you restored your backup? Are you sure you are using the same backup as you did with your first install? At what stage of the migration-process was this message shown?
Please restore the backup again and verify that your old PostNuke is running correctly on that database. Then, follow the documentation from the Wiki to start the migration process from scratch and please tell us at what stage the migration fails (there are about 5 or 6 steps in the migration)
edited by: Teb, Jul 20, 2009 - 03:04 PM
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Softmore
- Registered: Oct 28, 2005
- Last visit: Oct 21, 2009
- Posts: 128
Hello again,
Follow your instructions to the queue... hehehehe ... No problem at all this time.. I completely deleted the DB then created a new one imported the backup DB then restarted the upgrade process... All well now...
Thank you so much Teb, Craigh, Arthens, couldn't have done this without your help.
--
Tur Shipai Tur
- Moderated by:
- Support
