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 Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 10th, 2012, 11:15 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Error Code When View Product

Hi,
I see this error code when view a product.

Code:
Content visible to verified customers only.
How to fix this ?
Thanks in advance.
newbornhero is offline   Reply With Quote
Old June 10th, 2012, 01:49 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
What is the full error 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 June 10th, 2012, 09:13 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
I see this code only..
Is it safe if i remove the code in = reviewpost/forums/vb3.php (line 199) ?
newbornhero is offline   Reply With Quote
Old June 11th, 2012, 07:36 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
No you can not remove anything you must find out whats your issue.

Providing us accurate full info as noted in the announcements at the top of all the support forums can help.

Try making sure in admin global options the debug option is set to display errors and lets see what the error is.

I would assume based on the error you are trying to view a product when you get this error. I can guess that maybe its this but can not say further without more detailed information from you.

Maybe post 6 in this thread maybe the location field is missing in vb?

Photo not found in the database!
__________________
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 June 12th, 2012, 03:49 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Ok,this is what line in my vb3.php

Code:
Content visible to verified customers only.
You mean i need to add below field to my database to fix it ?
Code:
Content visible to verified customers only.
newbornhero is offline   Reply With Quote
Old June 12th, 2012, 07:03 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
No I do not

I mean that the default vbulletin has a location profile field which is field2. You need to use phpmyadmin and add that field back into vbulletin.

of course I am just guessing here since I see no other information here.
__________________
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 June 12th, 2012, 11:08 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
I have enable reviewpost debug mode.
Here is the error message =

Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT u.username,u.homepage,u.usertitle,u.posts,u.joindate,uf.field2,s.host,t.signature,sigpic.filename,u.sigpicrevision,avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar,u.avatarrevision FROM user u LEFT JOIN userfield uf ON uf.userid=u.userid LEFT JOIN session s ON s.userid=u.userid LEFT JOIN usertextfield t ON t.userid=u.userid LEFT JOIN sigpic AS sigpic ON sigpic.userid=u.userid LEFT JOIN sigparsed AS sigparsed ON sigparsed.userid=u.userid LEFT JOIN avatar AS avatar ON (avatar.avatarid = u.avatarid) LEFT JOIN customavatar AS customavatar ON (customavatar.userid = u.userid) WHERE u.userid=86 LIMIT 1

Result: Unknown column 'uf.field2' in 'field list'

Database handle: Resource id #286
newbornhero is offline   Reply With Quote
Old June 12th, 2012, 12:22 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Yes my post is right on then. You want to add that field2 in the userfield table of vbulletin database. My query should work for you in phpmyadmin just make sure you add any forum table prefix your install might have. Use your vb database tool.
__________________
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 June 12th, 2012, 01:44 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Can i execute your query using vbulletin maintenance option in admincp ?
newbornhero is offline   Reply With Quote
Old June 12th, 2012, 02:38 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Yes I did list that in my last reply you could also use your vbulletin database tool. You just need to make sure running my query to add in any table prefix if you have one.
__________________
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 June 12th, 2012, 10:18 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Chuck,
I do your instruction but not working.
Something must be wrong.

I need more detail instruction.
My Database name= rp1
Please check attachment.
Attached Images
File Type: jpg a1.jpg (74.0 KB, 3 views)
newbornhero is offline   Reply With Quote
Old June 13th, 2012, 08:22 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
I do not understand what it is you do not understand what I told you to do. You do not need to worry about database names when using your vb database tool as your issuing a query against the vb database.

Yes you have entered the query in your vb database tool that much your picture shows however have you verified your vbulletin database tables do not use a table prefix?

I did state you would have to add your table prefix on the query. Your table prefix of vb you can clearly see if you list your tables or view your config file.

That is the missing piece of the puzzle I would suspect your not giving me any info to work on here.
__________________
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 June 15th, 2012, 11:57 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Chuck,
I see no prefix on my vbulletin config.php

Quote:
// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';
Can i run your query now ?
newbornhero is offline   Reply With Quote
Old June 15th, 2012, 02:52 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Sure if there is no prefix my query should work fine.
__________________
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 June 24th, 2012, 02:04 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
sorry for late reply.
Your query is not working.
Also i see new problem when try to add a category.
It read : (i enable debug mode)

Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: INSERT INTO rp_categories (id,catname,description,catorder,thumbs,parent,header,footer,headtags,password,ugnoview,ugnoupload,ugnopost,ugnoanno, template,extra1,extra2,extra3,extra4,extra5,extra6,sortorder,frames) VALUES(NULL,'frfrfrfrf','','6','yes',0,'','','', '', '', '', '', '', '0', '', '', '','', '', '', '', '')

Result: Field 'theme' doesn't have a default value

Database handle: Resource id #282
newbornhero is offline   Reply With Quote
Old June 24th, 2012, 10:29 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
What happens if you turn strict mode off in mysql setup?
__________________
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 June 26th, 2012, 01:43 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Not working.
I tried to disable mysql.ini strict mode using=
Quote:
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
with

Quote:
# Set the SQL mode to strict
sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
newbornhero is offline   Reply With Quote
Old June 26th, 2012, 04:05 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Did you restart the server after the change?
__________________
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 June 27th, 2012, 02:43 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Mar 2012
Posts: 62
Working great after restart my server.
About this error code
Quote:
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in [path]\review\forums\vb3.php on line 199
I still see this code when view a product.
===========================================
Also want to ask,is there any security issue when i turn strict mode off in mysql ?
newbornhero is offline   Reply With Quote
Old June 27th, 2012, 05:00 PM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,676
Did you add the field we suggested earlier in this thread as this still tells me you have not.
__________________
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
Verified customer, renewed license, still can't view code or post in forums Metal-R-US Before You Buy 3 June 3rd, 2009 11:48 AM
How do I remove the Direct Link Code, BB Image Code, img Tag Code ? edprush How Do I? - vBulletin 3.6x 3 December 11th, 2006 08:42 AM
Error code 1 on Upload Product Pictures (using ImageMagick) SHalliday Classifieds Installation & Upgrades 1 April 13th, 2006 10:33 AM
Edit Product bugs? (blank fields in product edit & strange product order) Khashyar ReviewPost Bug Reports 0 April 23rd, 2005 12:51 AM


All times are GMT -5. The time now is 12:03 AM.

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