PDA

View Full Version : Unclear on how to upgrad or install


danolie1
02-04-05, 05:28 AM
I currently have the previous version installed and i installed it using fantastico from my contrl panel, so I don't know how to upgrade to v 2.0.

I tried unzipping all of the files to a different directory then going to the install folder, starting installation...

When I start install, it brings me to the screen where it has me enter the database hostname (localhost). the database name and the username nad password.

I tried just leaving it w/the values set there, hoping that would install a new version. but that didn't work. so I tried using the name of the database already on the server (dprj1), and a username nad password I created in my mysql control panel, but that didn't work.

Any advice???

Do I need to upload all the unzipped files to the same directory as I currently have dotproject installed in, then go to the install folder?? How do I do this??

Thanks,

Dan

LubTex
02-04-05, 08:27 AM
I have a similar situation. And I did it wrong first.
I hoped you backed up your DB before starting:S

I put the files in a seperate directory and went to install/index.php and followed the instructions. It treated me like I hadn't installed it before.
I got the values of the db from the other installation (includes/config.php).
But when I tried to install the db and config it threw out a bunch of errors for the db, not for the config though.
Then I went back to install/index.php and it said it saw that there was a previous install and tried to upgrade the db. The problem was, it had partially installed the db already.
I had to go through my db restore my backup :)
Then when I went to the install/index.php and did the upgrade on the db it worked. Even though it gave a bunch of errors.

Hope that helps.

ajdonnison
02-04-05, 08:34 AM
Do I need to upload all the unzipped files to the same directory as I currently have dotproject installed in, then go to the install folder??
Yes
How do I do this??
upload the files to the same directory, or unzip the archive in that directory, then browse to the install folder.

LubTex
02-04-05, 08:38 AM
ajdonnison:
Does the install script try to detect a previous install from the config.php? If so, won't copying the entire zipped folder overwrite?

You know more about this than me. Just talking from my experience.

ajdonnison
02-04-05, 09:03 AM
If you look in the zip archive you will not find a config.php. This is deliberate. So, no you will not overwrite your config.php.

LubTex
02-04-05, 09:20 AM
That depends on how up copy the files over. In a shared hosting environment many times we are only given ftp so I usually upload the entire folder, which would overwrite the entire folder and delete the config.php.

Thanks for the clarification though.

LubTex
02-04-05, 09:56 AM
That depends on how up copy the files over. In a shared hosting environment many times we are only given ftp so I usually upload the entire folder, which would overwrite the entire folder and delete the config.php.

Thanks for the clarification though.