Error when deleting...
 
Notifications
Clear all

Error when deleting reviews [SOLVED]

2 Posts
1 Users
0 Reactions
1,056 Views
(@mickinell)
Posts: 62
Trusted Member
Topic starter
 

I found this topic: https://efiction.org/forums/index.php?topic=5813.msg31554#msg31554 but there was never a solution posted.

When a user tries to delete a review, if they select NO, they get a mySQL error of an empty query.  Has anyone else experienced this, or does anyone have a fix for this?

This is for 3.3.1 (yes, I know there's a new version, but we don't want to upgrade until we've had a chance to test our modifications).  Any thoughts?


URL to your eFiction:  http://www.mickiclark.com/efiction33
Version of eFiction:  3.3.1
Have you bridged eFiction, if so with what?:  SMF
Version of PHP:
Version of MySQL: MySQL 4.1.14

 
Posted : 07/04/2008 2:37 pm
(@mickinell)
Posts: 62
Trusted Member
Topic starter
 

Okay, never mind.  Solved it.

I changed reviews.php to this:

else {
$output .= write_message(_CONFIRMDELETE."<BR><BR>
[ <a href=""reviews.php?action=delete&amp;delete=yes&amp;reviewid=$reviewid">"._YES."</a>" | <a href=""reviews.php?type=$type&amp;item=$item">"._NO."</a>" ]");

(changed the link for delete)


URL to your eFiction:  http://www.mickiclark.com/efiction33
Version of eFiction:  3.3.1
Have you bridged eFiction, if so with what?:  SMF
Version of PHP:
Version of MySQL: MySQL 4.1.14

 
Posted : 07/04/2008 2:51 pm
Share: