PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Installation & Upgrades

ReviewPost Installation & Upgrades If you're having problems getting ReviewPost Pro to work or receiving errors while running RP, seek help here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 18th, 2005, 08:32 PM   #21 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
I reran the upgrade.php script, and clicked on: "2.5 to 2.8," and then reran it again and clicked on "2.8 to 3.0"

It seems that the upgrade.php script stopped at upgrading to version 2.5

Also, when I ran "upgrade from 2.8 to 3.0," I received these permission errors:

Quote:

Preparing to update 2.8 database...
Performing MySQL command: INSERT INTO rp_settings VALUES (165,'Your SMF Cookie Name', 'smfcookie', 'Only needed for users of SMF forums', '', 5, 12) ... Successful!
Performing MySQL command: INSERT INTO rp_settings VALUES (198,'Use 24 hour time format?','timeformat', 'You can elect to have time displayed as HH:MMam or using the 24 hour clock', 'no', 32, 1) ... Successful!
Performing MySQL command: INSERT INTO rp_settings VALUES (205,'Show Last Reviews column on Index?','showrevs','','yes',16,3) ... Successful!
Performing MySQL command: INSERT INTO rp_settings VALUES (206,'Show Last Product column on Index','showlast','','yes',17,3) ... Successful!
Performing MySQL command: REPLACE INTO rp_admingroups VALUES (12,'Forum Settings') ... Successful!
Performing MySQL command: DELETE FROM rp_settings WHERE id=100 ... Successful!
Performing MySQL command: ALTER TABLE rp_products ADD numreviews INT(12) DEFAULT '0' NOT NULL AFTER lastpost ... Successful!
Performing MySQL command: REPLACE INTO rp_settings VALUES (84,'ReviewPost Version','pversion','','2.91',53,0) ... Successful!

Warning: unlink(./showgallery.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 570

Warning: unlink(./login-inc.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 571

Warning: unlink(./email-inc.php): No such file or directory in /home/russianm/public_html/reviews/upgrade.php on line 572

Warning: unlink(./adm-backup.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 573


Finished upgrade! You may now remove this script.


Regarding the permission errors above, I am going to try to change the permissions on the upgrade.php script to 777 and see what that does...
Khashyar is offline   Reply With Quote
Old April 18th, 2005, 08:37 PM   #22 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
I receive the same permission errors....

Do I need to change the permissions in these files as well? (they are currently set to 644 as the install directions recommend) :

showgallery.php

login-inc.php

adm-backup.php


And, do I need to create this file:

email-inc.php ["No such file or directory"]
Khashyar is offline   Reply With Quote
Old April 18th, 2005, 08:46 PM   #23 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
I created and uploaded the email-inc.php file.

I changed the permissions to those 4 files to 777, and I still receive this error during the "2.8 to 3.0" upgrade script:

Quote:

Warning: unlink(./showgallery.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 570

Warning: unlink(./login-inc.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 571

Warning: unlink(./email-inc.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 572

Warning: unlink(./adm-backup.php): Permission denied in /home/russianm/public_html/reviews/upgrade.php on line 573


Finished upgrade! You may now remove this script.


Khashyar is offline   Reply With Quote
Old April 18th, 2005, 08:52 PM   #24 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
Hi Michael and Chuck,

I deleted the upgrade.php script, and when load my main page, I receive this error:

Quote:

Warning: main(./forums/2.2.0.php): failed to open stream: No such file or directory in /home/xxxxx/public_html/reviews/pp-inc.php on line 2081

Warning: main(./forums/2.2.0.php): failed to open stream: No such file or directory in /home/xxxxxxxx/public_html/reviews/pp-inc.php on line 2081

Fatal error: main(): Failed opening required './forums/2.2.0.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxxxxxx/public_html/reviews/pp-inc.php on line 2081
VB 2.3.4 does not have a file called "2.2.0.php" in its root directory.

Khashyar
Khashyar is offline   Reply With Quote
Old April 18th, 2005, 09:03 PM   #25 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
Somehow, those errors went away without me doing anything, and now I am left with this one error:

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/russianm/public_html/reviews/forums/vb2.php on line 259
Khashyar
Khashyar is offline   Reply With Quote
Old April 18th, 2005, 09:08 PM   #26 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
Also.... although I can now open the categories and reviews, neither the "star" ratings nor the 1 to 5 ratings are showing up....

At the moment, I am still also receiving the vb2.pp error..... And when I log onto the RP with my VB administer login name, it tells me that "You are not a valid administrator! "

Khashyar

Last edited by Khashyar; April 18th, 2005 at 09:11 PM.
Khashyar is offline   Reply With Quote
Old April 18th, 2005, 09:27 PM   #27 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
[I am posting the errors here in this thread and the steps that I am trying so that others who might have the same issue perhaps can learn something if they are experiencing similar errors]



When I try to logout from my screen name, I receive these errors which quickly display themselves on the page, then I am redirected to the index page again without having been logged in.

There seems to be a VB 2.3.4 settings or integration issue:

Quote:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/russianm/public_html/reviews/forums/vb2.php on line 259

Warning: Cannot modify header information - headers already sent by (output started at /home/russianm/public_html/reviews/forums/vb2.php:259) in /home/russianm/public_html/reviews/forums/vb2.php on line 179

Warning: Cannot modify header information - headers already sent by (output started at /home/russianm/public_html/reviews/forums/vb2.php:259) in /home/russianm/public_html/reviews/forums/vb2.php on line 180
Khashyar is offline   Reply With Quote
Old April 18th, 2005, 09:33 PM   #28 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
This debug email had been sent to me several times over the past 30 minutes:

Quote:
An error was encountered during execution of the query:

SELECT cpaccess,modaccess,uploads,reviews,editpho,editposts FROM rp_usergroups WHERE groupid=6 LIMIT 1

The query returned with an errorcode of:

Unknown column 'modaccess' in 'field list'
Khashyar is offline   Reply With Quote
Old April 19th, 2005, 02:22 AM   #29 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
I solved some of the issues altering the MySQL database.

Here were some of the issues:


1) The RP 1.0.2 DB had a table called "usergroups," even though all of the other tables had an rp_ prefix to them. When I upgraded with the upgrade.php file, a dataless table called "rp_usergroups" was created, but none of my "usergroups" info from my 1.0.2 DB was transferred to the newly created 2.9.1 "rp_usergroups" table.

2) I had to rename my "usergroups" table (which was present after the upgrade along with the dataless "rp_usergroups" table) to "rp_usergroups," after deleting the newly created "rp_usergroups".

3) I had to create a "reviews" column because it did not exist in the old "usergroups" column.

4) The upgrade.php file did NOT take me through all the upgrades. It stopped at "upgrading 2.5." I had to restart the update.php file a couple of times to exercise the full upgrade.

5) By the way, there was NO "modaccess" column created in the new "rp_usergroups" table that was created in the 2.9.1 upgrade. This produced an error.

So, I hope that no one else has the same issues as I had with upgrading, but if you do, I hope that some of my experience helps....

Khashyar
Khashyar is offline   Reply With Quote
Old April 19th, 2005, 02:24 AM   #30 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
By the way, the 1 to 10 ratings are not showing up as stars in my category or review pages.....

I wonder why?

And, I wonder how the 2.9.1 software (which issues a 1-10 rating) is going to handle the 1-5 ratings of the older RP 1.0.2 software?

Khashyar
Khashyar is offline   Reply With Quote
Old April 19th, 2005, 04:41 AM   #31 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
I seemed to have fixed all of the issues (with help from the "ratings" bug thread)....

I feel relieved

Khashyar
Khashyar is offline   Reply With Quote
Old April 19th, 2005, 08:19 AM   #32 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I'll go back over the upgrade.php to address these issues, thanks for going through it with us.

The modaccess change to usergroups is on line 152 in upgrade.php; wonder why that didn't take. hmmm
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old April 19th, 2005, 08:22 AM   #33 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
Here are the issues

in the upgrade script is this

$query[] = "ALTER TABLE usergroups ADD modaccess smallint(3) NOT NULL default '0'";

it needs to be

$query[] = "ALTER TABLE {$rp_db_prefix}usergroups ADD modaccess smallint(3) NOT NULL default '0'";

then in the 2.5 upgrade we add setting 100 to allow rating and then drop it later in the 2.8 upgrade here

$query[] = "DELETE FROM {$rp_db_prefix}settings WHERE id=100";

we need to remove the above line
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old April 19th, 2005, 03:34 PM   #34 (permalink)
Member
Verified Customer
 
Join Date: Apr 2003
Posts: 172
Thanks for your replies, Michael and Chuck.

There probably will not be that many other users upgrading from 1.0.2 to 2.9.1, but I'm glad that we can resolve the upgrade issues for those who will be going through the same upgrade process.

Regarding the "usergroups" table:

In the 1.0.2 database, all of the other tables have an "rp_" prefix EXCEPT for the "usergroups" table.

So, perhaps that was a bug in the 1.0.2 install script? OR perhaps that happened when I updated my usergroups with my vb 2.3.4 forum in the RP admin panel?

Whichever the case many be, the update.php file did not transfer the 1.0.2 "usergroups" data to the newly created "rp_usergroups" table in RP 2.9.1

I'm glad that we have discovered the issue and know how to resolve it for others.

By the way, I really do like the changes that you made from 1.0.2 to 2.9.1. They are really appealing revisions.

You did a great job upgrading the interface and additional functions of 2.9.1.

Thanks for all of your hard work on the software.

Khashyar
Khashyar is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with upgrading EVERYTHING! digidivakathy Photopost Pro Installation & Upgrades 1 November 10th, 2005 01:21 PM
Upgrading dieselpowered How Do I? - vBulletin 3.0.X 16 February 13th, 2005 12:46 AM
Upgrading Delw How Do I? - vBulletin 3.0.X 3 December 14th, 2004 02:33 PM
Upgrading from 2.5.2 to 2.8.2 JayMorr ReviewPost Installation & Upgrades 4 September 13th, 2004 09:53 AM
Upgrading from 4.6 to 4.8.1 Smoothie Photopost Pro Installation & Upgrades 25 August 5th, 2004 04:24 PM


All times are GMT -5. The time now is 08:03 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0