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 November 9th, 2009, 01:03 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Fatal Error in Reviewpost

I just did a complete reinstall of Photopost Classifieds in which I changed from using the Photopost database to using the vBulletin database. It appears to be working fine. Now, however, I find I get the following error when I attempt to access the Reviewpost index page which was working fine until I did the reinstall of Classifieds.
Quote:
Fatal error: Call to undefined function get_regcode() in /home/signs101/public_html/reviewpost/pp-inc.php on line 2926
What did I do wrong and how can I correct it?

Thank you.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 05:33 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Did you install into reviewpost database? did you overwrite reviewpost files with classifieds. My suggestion would be to reupload reviewpost minus config files of course and see where that leaves you. at the very least reupload the forums subdirectory under reviewpost because thats where that function is found in your integration file and yours is gone.
__________________
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 November 9th, 2009, 10:21 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Quote:
Originally Posted by Chuck S View Post
Did you install into reviewpost database?
No. In installed into the vBulletin database using a cp_prefix. The only issue was an error report that the zipdata already existed.

Quote:
Originally Posted by Chuck S View Post
did you overwrite reviewpost files with classifieds.
No.

Quote:
Originally Posted by Chuck S View Post
My suggestion would be to reupload reviewpost minus config files of course and see where that leaves you. at the very least reupload the forums subdirectory under reviewpost because thats where that function is found in your integration file and yours is gone.
I have re-uploaded all files except the config files and the JS directory ... even though nothing in the RP folder had been touched. Still getting the fatal error. What almost certainly has happened is the reinstall of the Classifieds which involved putting it in the vb database instead of the pp database (with a cp_ prefix) has somehow interacted with the Reviewpost tables (with an rp_ prefix) in the same vb database.

I have run check and repair routines on the vb database and nothing shows up as wrong as far as the tables are concerned.

My next step is to drop the rp_ tables and reinstall Reviewpost unless you have a better suggestion ... which means losing most or all of my work so far in getting that application setup and running.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 10:38 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Your error has nothing to do with a database persay. The only way you would get the error like this is one of two reasons.

Code:
Content visible to verified customers only.
The vb3.php file in your reviewpost forums subdirectory is corrupt.

or

You somehow reinstalled into reviewpost placing a bogus value in the settings table for setting 41 which should read vb3 in your rp_settings table. That way we know to look for the vb3.php file and thats where the function get_regcode exists.
__________________
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 November 9th, 2009, 10:40 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
why not simply rerun the install script for reviewpost overtop its current tables and see if that helps. that way you dont delete any data that already exists.
__________________
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 November 9th, 2009, 11:31 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Quote:
Originally Posted by Chuck S View Post
Your error has nothing to do with a database persay. The only way you would get the error like this is one of two reasons.

Code:
Content visible to verified customers only.
The vb3.php file in your reviewpost forums subdirectory is corrupt.

or

You somehow reinstalled into reviewpost placing a bogus value in the settings table for setting 41 which should read vb3 in your rp_settings table. That way we know to look for the vb3.php file and thats where the function get_regcode exists.
vb3.php was replaced and setting 41 looks correct. Still no Reviewpost.

Quote:
Originally Posted by Chuck S View Post
why not simply rerun the install script for reviewpost overtop its current tables and see if that helps. that way you dont delete any data that already exists.
That is what I did and it now is back with lots of my changes overwritten.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 11:37 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Taking that back. The existing categories now provide this error when clicked into:
Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT id,user,userid,cat,date,title,description,keywords,bigimage,views,approved,rating,manu,numreviews,extra1,extra2,extra3,extra4,extra5,extra6,disporder,zipcode FROM rp_products WHERE approved=1 AND cat=3 ORDER BY disporder,price ASC

Result: Unknown column 'price' in 'order clause'

Database handle: Resource id #49
This is getting ridiculous.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 12:40 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Main Index - Signs 101 Product Reviews

seems to be up and running but your error is now different.

There is no price sort in reviewpost thats your problem.

Code:
Content visible to verified customers only.
price is a classifieds sort entry
__________________
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 November 9th, 2009, 12:59 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Well I did nothing more than download the latest version of ReviewPost and start from scratch with my next to last install. As I've mentioned once or twice before, there is a bit of crossover language from reviews to classifieds ... and I guess vice versa, that one runs across in dealing with the two applications side by side.

Whatever you're saying is so is not of my doing.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 04:01 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
The sorts are exactly as I am posting in the build that I see. Feel free if your reviewpost tables are in vb database to use your vbulletin sql manager under maintenance to run the queries I posted above.
__________________
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 November 9th, 2009, 04:41 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Thank you. I did not understand from your previous post what your meant or that those were queries for me to run. Running them fixed the problem.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 04:56 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Yeah dont know why yours included price but glad yours is fixed.
__________________
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 November 9th, 2009, 05:02 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Quote:
Originally Posted by Chuck S View Post
Yeah dont know why yours included price but glad yours is fixed.
Maybe because Price Paid is part of the review criteria?
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 06:19 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Nope not a chance. The only way your error would occur is if a classifieds sort was entered into reviewpost.
__________________
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 November 9th, 2009, 07:06 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Florida
Posts: 158
Quote:
Originally Posted by Chuck S View Post
Nope not a chance. The only way your error would occur is if a classifieds sort was entered into reviewpost.
I don't propose to know how it happened. I did nothing to Reviewpost. It was installed and working. All I know is that I removed all traces of PP Classifieds, uploaded a newly configured set of files for PP Classified and installed them ... using the vb database instead of the Photopost database. Somewhere in that sequence is the how and why it happened. Neither the RP folder on my hard drive nor the RP folder on my server was ever touched. All files used were from a fresh unzip of your latest download from the members area.
__________________
Fred Weiss
Signs101.com
allcompu is offline   Reply With Quote
Old November 9th, 2009, 07:14 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
well its fixed so thats good
__________________
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
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
Fatal error: rjteeter Photopost Pro How Do I...? 0 September 2nd, 2007 08:38 PM
Fatal Error attroll Bugs - vBulletin 3.6x 2 July 22nd, 2007 09:36 AM
Fatal Error vbreal Photopost Pro How Do I...? 26 August 31st, 2006 11:57 AM
picture upload error / fatal error finn snor Photopost Pro Installation & Upgrades 18 August 14th, 2006 12:16 PM
installation error Fatal error: Call to undefined function: init_user_groups hoss ReviewPost Installation & Upgrades 1 January 16th, 2005 07:35 PM


All times are GMT -5. The time now is 08:09 AM.

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