Notifications
Clear all

Shared Authors, Edit Chapters Problem

4 Posts
3 Users
0 Reactions
1,942 Views
(@lyssa)
Posts: 34
Eminent Member
Topic starter
 

Not sure if this is the right forum to put this in, so feel free to move it if necessary.

I recently updated my scripts to the newest version of eFiction, and my site uses a shared authors table (main_fanfiction_authors) for all three of my archives (main_ , adult_ , atlantis_) and it is mostly working fine. However, when I go to edit chapters ( http://sg1-heliopolis.com/archive/stories.php?action=editchapter&chapid=325&admin=1&uid=1691 ) I get the following error:

A fatal MySQL error was encountered.
Query: SELECT penname, uid FROM AUTHORPREFIXfanfiction_authors ORDER BY penname
Error: (1146) Table 'efic_helioarchive.AUTHORPREFIXfanfiction_authors' doesn't exist

I've looked through stories.php and includes/queries.php but I can't find the problem. Any suggestions? Edit stories, Add stories, etc, all seem to work.


 
Posted : 01/08/2007 7:44 pm
(@tammy)
Posts: 2577
Member Moderator
 

Check includes/storyform.php.  Look at the chapterform function.  The $authorquery line in that function looks like it's wrong to me.  It should be:


$authorquery = dbquery("SELECT "._PENNAMEFIELD." as penname, "._UIDFIELD." as uid FROM "._AUTHORTABLE." ORDER BY penname");

However, what I've got doesn't quite match your error so I'm not sure. 

On the plus side, it's probably only affecting your admins and not your regular authors.


 
Posted : 03/08/2007 12:09 pm
(@tammy)
Posts: 2577
Member Moderator
 

Bump.  This should be fixed with 3.3.1


 
Posted : 15/10/2007 6:31 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

No response for months, assumed solved.


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 : 25/01/2008 4:12 pm
Share: