I'm very new to PN, and I'm currently using 7.21. I'm a little unsure about a few of the instructions, and I would like to get them clarified before I start the upgrade process.
1) It states to take a copy of your config.php file form you current version and store it somwewhere. OK, I got that part.
It then states, in step 4: " take your config.php that you saved a couple of steps ago and copy
it to the PostNuke base directory (the one with config.php and config-old.php)
with the name pn7config.php This will be used in the upgrade process"
Ok, so I need to take the config.php that I saved, and copy it into the PostNuke base directory, overwritting the config.php file that's currently there, and then rename the config.php file, the one that I saved, to "pn7config.php"?
2) in the config.php and config-old.php files, that came with version 7.22, both have the dbname as: 'Phoenix';
So, with the config-olp.php having the dbname of "Phoenix", and the config.php file, that I backed up and overwrote the exsiting config.php file with, having the dbname of "Rogue", want this cause problems, since config-old is using phoenix, and the config file is using Rogue?
Shouldn't the dbnames on both config.php and config-old.php be the same?
Lastly, do I need to upload the folder "phoenix-SQL"?
Like I said, I', new to the PN scene, and I appreciate all the help I can get.
Nice job everyone, and thanks in advance.
--
CNote
Login
Donate to Zikula
Installation, Configuration, & Upgrades
::
Before I upgrade, I have a few pretty basic questions
-
-
Well, I thought these were basic questions, especially for people that have been around PN for awhile.
Any help would sure be appreciated.
Thanks
--
CNote -
Sometimes it takes longer than a day to get a response. Majority of the time threads are responded to very quickly. Give it some more time someone will answer your question. I would if I could but I am still very new to PN but I would say try it and see what happens.
Make sure you back up all your current info. If it fails then revert back and try something else until someone answers.
-
Hi cnote,
cnote
I'm very new to PN, and I'm currently using 7.21. I'm a little unsure about a few of the instructions, and I would like to get them clarified before I start the upgrade process.
I'll try, but you might want to wait until a member of the pnCorps responds, or attempt to catch one on the IRC Support channel.
Quote
1) It states to take a copy of your config.php file form you current version and store it somwewhere. OK, I got that part.
Personally, and being a bit paranoid, I like to keep a complete image of my sites files, then backup the database, (I use phpMyAdmin).
Quote
It then states, in step 4: " take your config.php that you saved a couple of steps ago and copy
it to the PostNuke base directory (the one with config.php and config-old.php)
with the name pn7config.php This will be used in the upgrade process"
Ok, so I need to take the config.php that I saved, and copy it into the PostNuke base directory, overwritting the config.php file that's currently there, and then rename the config.php file, the one that I saved, to "pn7config.php"?
No, (at least I don't think so). Recommend you rename it first - THEN upload it to your site. :)
Quote
2) in the config.php and config-old.php files, that came with version 7.22, both have the dbname as: 'Phoenix';
So, with the config-olp.php having the dbname of "Phoenix", and the config.php file, that I backed up and overwrote the exsiting config.php file with, having the dbname of "Rogue", want this cause problems, since config-old is using phoenix, and the config file is using Rogue?
Shouldn't the dbnames on both config.php and config-old.php be the same?
I know it is a bit confusing, but they needed a "default" name in there and chose "phoenix". If you corrected the last step, now config.php and config-old.php will have "phoenix" and the pn7config.php file you uploaded will contain the real name of your database.
If the correct data does not appear when you execute http://your.site.name/install.php - type it in. At minimum you should be prepared to type in the correct mysql host name, (usually "localhost), the name of your database, and your database username and password.
Quote
Lastly, do I need to upload the folder "phoenix-SQL"?
Normally you would not. That file is available in case, for some reason, you cannot use the install.php file and must manually install your database. If you are using the install.php instead - it should "take care of you". That latter is the "normal" way to do either an upgrade or new installation.
Quote
Like I said, I', new to the PN scene, and I appreciate all the help I can get.
Nice job everyone, and thanks in advance.
I honestly believe the most problems folks incur when trying to upgrade an existing PN site is that they try "shortcuts" or to circumvent the "Upgrade" procedure contained in INSTALL.txt - most try to skip step three, or at least part of it.
Of course the LAST step reads "Once installation is complete you will need to re-add your custom modules and
regenerate from the modules admin." If you have used any non-standard modules that either do not follow the pnAPI or over-write "core" files, you will probably run into trouble if you try to circumvent those procedures.
Well, I hope this does help - but again, the pnCorps are the definitive support group for this project. User2user like what I am trying to do may or may not be accurate. You may find such "honest opinions" be of less value. In other words, put your tongue firmly in your cheek. :)
Warm Regards,
-=geekster=- -
Thanks for your reply, geekster. So, from what you've stated, I will have 3 config files in the PN root directory.
Which would be as such: config.php, config-old.php and pn7config.php (the one I renamed from PN 7.21). Would this be correct?
Also, in the current config file, I have encoded enabled. Should I disable this so that the installation script will be able to recognize the username and password?
Thanks.
--
CNote
