 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
October 21st, 2005, 03:28 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
| Upgrading to 2.42 from 2.1 - which upgrade script do I use?
Here are my options - which one do I choose if I'm running 2.1?
1.0 -> 1.1 ......Upgrade from PhotoPost Classifieds 1.0 -> 1.1
1.1 -> 1.8 ......Upgrade from PhotoPost Classifieds 1.1 -> 1.8
1.8 -> 2.0 ......Upgrade from PhotoPost Classifieds 1.8 -> 2.0
2.0x -> 2.11 ......Upgrade from PhotoPost Classifieds 2.0x -> 2.1
2.3 -> 2.42 ......Upgrade from PhotoPost Classifieds 2.3 -> 2.4
As you can see, there is no clear option for 2.1 users.
|
| |
October 21st, 2005, 04:02 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Just the last one
|
| |
October 21st, 2005, 04:37 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
|
Thanks Chuck - finished the upgrade, but I'm receiving two errors on my index page:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/mysite.com/html/classifieds/forums/vb3.php on line 358
And:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/mysite.com/html/classifieds/index.php on line 96
|
| |
October 21st, 2005, 04:40 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
|
Arghhh - looks like all pages are displaying errors of some time. They all say something about:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
|
| |
October 21st, 2005, 05:15 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
try running the 2.0 upgrade then
|
| |
October 21st, 2005, 05:18 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
|
Okay, I've done that - now I get this:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
|
| |
October 21st, 2005, 05:32 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
You sure you had version 2.1??
You need to change this in pp-inc.php from 0 to 2 so we can see what error is going on
$showsqldebug = 2;
Now this requires you to already be logged in as admin. However you can remove the code in bold at this line to show to everyone
if ( $User['adminedit'] == 1 && $showsqldebug == 2 ) {
Double check all new files have been uploaded here. Without the exact error being posted here I can not assist anyfurther till then
Last edited by Chuck S; October 21st, 2005 at 05:35 PM.
|
| |
October 21st, 2005, 05:42 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
|
Chuck, should the error now show up after doing that edit? Because the error message is the same.
|
| |
October 21st, 2005, 08:25 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
At the bottom of your page
Page generated in 0.21614 seconds with 6 queries
1: SELECT userid,username,email,password,usergroupid,timezoneoffset,salt,membergroupids FROM ppc_user WHERE username='' (0.00037 sec)
2: SELECT id,header,footer,headtags,template FROM ppc_categories WHERE id=0 (0.00062 sec)
3: REPLACE INTO ppc_iponline (userid,ipaddr,date,what,item) VALUES ('','69.250.134.65','1129944198','index','0') (0.00067 sec)
4: DELETE FROM ppc_iponline WHERE date < 1129943598 (0.00029 sec)
5: DELETE FROM ppc_iponline WHERE date < 1129943598 (0.00015 sec)
There is the issue that I see. Your database info for vb3 is wrong. You also setting the vb3 table prefix as ppc??
|
| |
October 21st, 2005, 10:24 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
|
Yes, my classifieds tables are using ppc_ as the table prefix. I set it up like that and it's been running fine with the previous versions. How is the info for vb3 wrong? Where would I have changed that? I looked over my config file and it's the same as it was before... was I supposed to change something? Are we supposed to change it from vb3 to vb35 in the user registration settings?
Last edited by ludachris; October 21st, 2005 at 10:26 PM.
|
| |
October 21st, 2005, 10:51 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Look at the query I posted it is looking at the vb3 user table as ppc_user??
that is surely wrong.
Check in the settings table setting 83 for whatprefix you have set for vb3 table.
also check the database info to see if its right
|
| |
October 22nd, 2005, 09:53 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Feb 2002
Posts: 247
|
Thanks Chuck I got it working. Two questions though - my classifieds tables have a ppc_ prefix (which is mentioned in my config file). Should I have erased that prefix in the config file before I did the upgrade? It's been in the config file for as long as I can remember.
Also, should I be using the new config file or the old one? Currently I have the old one in there with the version # changed.
|
| |
October 22nd, 2005, 10:27 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
No somewhere it looks like your vb3 table prefix changed maybe when you upgraded vb3 who knows
|
| |
October 23rd, 2005, 03:31 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 109
|
Hi Chuck -
I just did the upgrade from 2.1 to 2.42 as well..
I think I did it right, but I did have some errors as well... although it appears to be working now. These are my errors: Code: Content visible to verified customers only.
Should I be worried about this? My classified appears to be working...
These are the files I uploaded for the upgrade and instructions: Quote:
1) Perform a backup of your database.
2) Shut down your ads area by selecting Closed in the Edit Config area.
3) Upload the files:
All the main directory files, except for config-inc.php and install.php
templates/*
forums/*
languages/*
images/*
help/*
4) From the upgrades directory, upload the scripts to your main Classifieds directory and run upgrade.php (or, if you are just upgrading 1.8.X, you can just run the upgrade18.php script). This script will update your database; once it has finished you can remove all the upgrade*.php files.
5) Open your forum in the Edit Config by setting the value to "Open".
| Also I am still running vB 3.0.7, I will upgrade to 3.5 after I upgrade all of your products per your advice.
Am I ok?
Last edited by caliman; October 23rd, 2005 at 03:44 PM.
|
| |
October 24th, 2005, 05:20 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Your fine that is just saying it does not have permission to delete those scripts or it cant find them
If they exist you can delete them by hand
|
| |
October 24th, 2005, 10:14 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 109
|
Cool. That's great. Thanks C.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 03:02 PM. | |