 | |  | | | ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost. |
November 8th, 2008, 10:40 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
| rp_buddy error
I haven't uploaded a new product in like 2 years but when I tried today I got this message. The sucky thing is my rp just expired on the 5th and I can't even download the last version. I'm running 3.4 . I think I should be at least entitled to the versions released during that time.
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT userid FROM rp_buddies WHERE buddy=
Result: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Database handle: Resource id #37
|
| |
November 8th, 2008, 10:55 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
| Code: Content visible to verified customers only.
Try making $uid this '$uid'
Last edited by Chuck S; November 8th, 2008 at 08:11 PM.
|
| |
November 8th, 2008, 10:57 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
anyway I can just get the download from the latest version? it just expired 3 days ago. you can see from 3.4 i haven't downloaded a new version in months.
|
| |
November 8th, 2008, 11:08 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I did a grep for the code and found it member.php ? So I changed it to Code: Content visible to verified customers only.
I still get the same error message.
|
| |
November 8th, 2008, 08:11 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
You have incorrectly placed the variable encapsulation. try replacing it with the line I have above. |
| |
November 8th, 2008, 08:35 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I used your code: Code: Content visible to verified customers only.
and now it says:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT user,userid,COUNT(*) AS pcount FROM rp_products GROUP BY user ORDER BY pcount DESC LIMIT 5
Result: Got error 12 from table handler
Database handle: Resource id #37
|
| |
November 9th, 2008, 10:37 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
Everything else works. vbulletin, classifieds etc.
Filesystem Size Used Avail Capacity Mounted on
/dev/ar0s1a 504M 68M 396M 15% /
/dev/ar0s1g 504M 24M 440M 5% /tmp
/dev/ar0s1e 2.0G 1.6G 204M 89% /usr
/dev/ar0s1f 1008M 26M 901M 3% /var
/dev/ar0s1h 24G 19G 3.0G 86% /web
|
| |
November 9th, 2008, 10:47 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
I am just saying what that error tells me based on all the mysql support information posted on the net.
Make sure you use a default clean file from your backup files of member.php and just make the change noted in my post 2
The next error is one saying mysql tmp storage is used up as I noted
|
| |
November 9th, 2008, 12:07 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I usually use vi but this time I used Textpad. It gives the same message. the product actually uploads though.
I looked in photos/members and found the same line and tried that too and just changed pp_ to rp_ and get the same error. kinda sucks.
|
| |
November 9th, 2008, 12:11 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
what do you mean by pp_?
You are talking about upload now that is not in our prior discussion here so now I am a little confused here.
If you change the line I noted in post 2 you can not get the same error unless your not overwriting the file on the server.
|
| |
November 11th, 2008, 06:45 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I compared the lines from photopost and reviewpost in their members.php file. They were pretty much same except the photopost was a little bit different. Of course the Photopost file refers to pp_ and reviewpost refers to rp_ respectively.
I didn't overwrite the whole files, just tried that line too as an option. I need to get this fixed please.
|
| |
November 11th, 2008, 08:09 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Feel free to download reviewpost 4.04 as anything we have discussed is in there but the fix I noted is here and works fine all your doing is encapsulating the $uid variable with single quotes. rp_buddy error |
| |
November 12th, 2008, 01:53 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I would but my download expired from the members area.
exipred 11/5/08 2:08 PM
|
| |
November 12th, 2008, 08:10 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Then simply use your clean backup file and only make sure you do as instructed in post 2
Basically your buddy variable is empty which is the error so on line 290 that query line which is the only one in that file your changing the variable $uid to '$uid' thats it.
|
| |
November 12th, 2008, 08:23 AM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I"ve used my clean backup and I used your line. Code: Content visible to verified customers only.
and I get this message. Code: Content visible to verified customers only.
Last edited by Chuck S; November 12th, 2008 at 08:30 AM.
|
| |
November 12th, 2008, 08:34 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Please do not post our code like that thanks.
Now my suggestion would be if your still getting that error is make sure your overwriting that file on the server as it would appear not. it is the member page your viewing when you get that error right?
There is also a similar query in image-inc.php you might want to also encapsulate the variable on but then my question would be why is $user['userid'] empty.
|
| |
November 12th, 2008, 10:11 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I get the error message when I upload a new product.
|
| |
November 12th, 2008, 11:00 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,653
|
Then as instructed encapsulate the variable in image-inc.php Code: Content visible to verified customers only.
|
| |
November 12th, 2008, 11:02 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Feb 2002 Location: Northern California
Posts: 222
|
I couldn't find it.
|
| | |
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 05:27 PM. | |