Notifications
Clear all

3.5.1 Admin add to challenge problem - can't select another author

9 Posts
4 Users
0 Reactions
4,784 Views
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

I'm having difficulty adding someone else's story to a challenge. I can't access the author list, I just get this mysql error:

A fatal MySQL error was encountered.
Query: SELECT count(distinct uid) FROM ***fanfiction_authorprefs WHERE stories > 0 )
Error: (1064) 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

http://www.potionsandsnitches.net/fanfiction/modules/challenges/challenges.php?action=respond&stories=others&chalid=6


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 01/05/2009 5:51 pm
(@unabella)
Posts: 27
Eminent Member
 

URL to your eFiction: http://beautifulmemoirs.net/efiction
Your version of eFiction: 3.5.1
Version of PHP: 5.2.9
Version of MySQL: 4.0.21
test account: yes   login: Bella  pass: 123456

I am having the same issue.

A fatal MySQL error was encountered.
Query: SELECT count(distinct uid) FROM fanfiction_authorprefs WHERE stories > 0 )
Error: (1064) 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

I have tried the ideas posted Here --> https://efiction.org/forums/index.php?topic=6858.0  the ideas given in the thread have not worked thus far.


 
Posted : 22/05/2009 1:20 pm
(@tammy)
Posts: 2577
Member Moderator
 

Confirmed bug.  Check the SVN on Monday.  A fix is in the works.


 
Posted : 20/06/2009 12:43 am
 anr
(@anr)
Posts: 5
Active Member
 

Are there any updates on the fix for this issue? Or workarounds that do not involve logging in individually as each author/member?


 
Posted : 28/08/2009 12:55 am
(@tammy)
Posts: 2577
Member Moderator
 

Yeah the update is in the SVN.


 
Posted : 31/08/2009 10:04 pm
 anr
(@anr)
Posts: 5
Active Member
 

Thank you! πŸ™‚


 
Posted : 03/09/2009 3:55 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

Does the download of efiction 3.5.1 on Sourceforge have all the changes of the SVN?

I tried the module/challenges/challenges.php file on SVN update number 16, but it did not solve the problem. I'm thinking that maybe I am missing a different file?

http://efiction.svn.sourceforge.net/viewvc/efiction?view=rev&revision=16

I replaced my challenges.php code with the one from the SVN but I am still getting

A fatal MySQL error was encountered.
Query: SELECT count(distinct uid) FROM 88fanfiction_authorprefs WHERE stories > 0 AND author.penname LIKE 'S%'
Error: (1054) Unknown column 'author.penname' in 'where clause'

http://www.potionsandsnitches.net/fanfiction/modules/challenges/challenges.php?action=respond&stories=others&chalid=3&let=S

It will let me go through the pages by numbers though, so the problem is fixed in one way. Thanks Tammy. πŸ™‚


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 18/11/2009 2:16 am
(@tammy)
Posts: 2577
Member Moderator
 

No it doesn't.  I need to get busy and release 3.5.2 to pull all these SVN fixes together.


 
Posted : 18/11/2009 11:12 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
Topic starter
 

Fixed! Thank you Tammy!


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 04/10/2010 2:31 am
Share: