CPV Lab 2.09 upgrade- password/login issues?

Sonny Forelli

Well-known member
May 8, 2008
2,330
89
48
Liberty City
I've had this twice when upgrading, anyone else see the same thing?

Follow all (simple) overwriting instructions and every time upon clicking the upgrade and then trying to login from /login.php my password doesn't work.

the original default passwords don't work either.

Last time dropping the DB and then re-creating and re-uploading fixed it, this time I just did this and it didn't.

Anyone else having these issues?
 


btw to reset your password the uber-manual way, (going from memory here)

1. Login to Cpanel, then PHPMyAdmin
2. Find the 'users' table
3. Find your "admin" entry (most likely there will only be 1), then Edit
4. Type in your desired password, making sure the "function" MD5, then hit save.

This also works for 202
 
yeah, this is the 2nd time I'm having issues, now with live traffic on and redirects are also all down.

gotta figure out wtf is going on with my server config (presume - since obviously others aren't having this).

Fuck
 
btw to reset your password the uber-manual way, (going from memory here)

1. Login to Cpanel, then PHPMyAdmin
2. Find the 'users' table
3. Find your "admin" entry, then Edit
4. Type in your desired password, making sure the field type or whatever is set to MD5, then hit save.

This also works for 202

right- the weird thing is that my username wasn't defaulted back to "admin" but is still my created username.

this exact thing happened upon going to 2.08 and the only solution was a full DB drop / re-up from backup.

However just tried that again and no dice so I'm stumped
 
just sent him an email, it was the first he'd heard of it the first time around a few weeks ago and thus I imagined just a fluke that I hoped wouldn't happen again.

I posted this in the offchance one of you who'd experienced the same thing had a solution given that I didn't want to have to pause all traffic.

Their support is great, I'm sure he'll get it resolved. In the meantime however it's quite frustrating and I look forward to finding the cause and thus a permanent solution else I'll be constantly wary/putting off upgrading which is a shame given their seemingly quick upgrade schedules.

For p202 I ran a sandbox install (though never had any upgrade issues) ,but can't do that w/ the 1 install per license of CPV Lab.

I'll update this if/when we find the solution so in case it's some odd server setting or something I screwed up perhaps others can learn from and avoid.
 
Got this figured out w/ Robert's help - (thanks robert!)

For any Mac users on Coda/Transmit note the following:

The upgrade process with CPV Lab is simple, HOWEVER, the upgrade folders do not contain all the same files as the installation downloads.

What this means:

both the db_params.php and license.php files which ARE contained in the original purchased download (whenever you do this, no matter what version, at least currently) are are, per install instructions, required to be chmodded (as you all know).

However, the upgrade within /lib/ there is NO db_params.php file, and within /license/ no license.php file.

The default behavior of many ftp clients (filezilla on pc's for instance) is that when you select 'overwrite' within a sub folder (ie /lib/ or /license/) it doesn't overwrite any files that aren't present - thus your db_params.php and license.php files remain untouched.

There is good reason for CPV Lab to do it this way due to their requirement of changing file persmissions - it doesn't make you remember to do this upon every upgrade.

HOWEVER

On Panic (Coda/Transmit) programs the default behavior upon 'replace all' is to functionally delete sub folders (ie /lib/ and /license/ )and re-upload all the contents of these new folders.

You can see the problem here- we've lost two of our critical files - license.php and db_params.php.

Prosper functioned differently in that any needed files were contained within subsequent releases, so for those of you coming from Prosper (like me) TAKE NOTE OF THIS.

The solution?

Really simple, manually go into the 8 or 10 subfolders and open these on your desktop downloaded 'upgrade' version and on your server, and copy the FILES only into each subfolder. Once done upload all the FILES only (not folders) from your CPV Lab upgrade download on your desktop to your server.

This will ensure within your /lib/ and /license/ folders your original, and correctly chmod'd license.php and db_params.php files are still there, and when you then run the upgrade script to move to a new version you'll have no issues.


I'm sure most people aren't as dumb as I am and this is obvious, however perhaps this can help one of you who had the same confusion I did.


Cheers