URL to your eFiction: http://maraudersfics.wsnw.net
Version of eFiction: trying to upgrade to 3.4.2... was 3.3.1
Have you bridged eFiction, if so with what?: no
Version of PHP: not sure
Version of MySQL: not sure
Have you searched for your problem: yes
If so, what terms did you try: coauthors, co-authors, table, error, mysql
State the nature of your problem: I was trying to upgrade to 3.4.2. I uploaded the new stuff and then went to load my site to finish the upgrade. The following was the message I got:
A fatal MySQL error was encountered.
Query: SELECT author.penname as penname, co.uid FROM fanfiction_coauthors AS co LEFT JOIN fanfiction_authors as author ON co.uid = author.uid WHERE co.sid = '32'
Error: (1146) Table 'marfic_archive.fanfiction_coauthors' doesn't exist
I have searched the forums and I've tried a few things (manually changing the version and fixing the typo in update.php) but neither of these have worked. Any help would be greatly appreciated. Thank you!
Edit: I usually use Safari (I run Windows though) and the site address did not change, but when I went to try using Internet Explorer, the URL went from http://maraudersfics.wsnw.net/update.php to http://maraudersfics.wsnw.net/maintenance.php. I'm not sure if that is normal, but maintenance was not turned on prior to the attempt at upgrading.
https://efiction.org/forums/index.php?topic=6179.0
https://efiction.org/forums/index.php?topic=6206.0
From babaca:
If you open the update.php file in efiction in notepad do a Find all instances of "coathor" and replace it with "coauthor", save and run the update it will give rid of the first sql error about the table not existing with the typo.
If the above doesn't work for you, go into your tables with phpmyadmin. Do you see any coauthor table there? I'm guessing not with the error you have. Personally I ended up adding the table manually and then it worked fine.
Julieann
Running 3.4.3 bridged with SMF and Coppermine
Mods: Challenges, cpg-art (not working), Limit Summary Length, Bio to Prefs, Top 20 instead of 10
Wants: Move Betareader to Prefs, Twitter
Yeah. I just checked and there was no coauthor table.
How would you set up the table manually? I'm not quite sure how to do that.
Thank you.
It's been over a week and still no reply.
Does anyone know how you would manually add the coauthors table? I don't know much about mysql so any help is greatly appreciated.
Thank you!
I have this directly from update.php:
CREATE TABLE `fanfiction_coauthors` (
`sid` int(11) NOT NULL default '0',
`uid` int(11) NOT NULL default '0',
PRIMARY KEY (`sid`,`uid`)
) TYPE=MyISAM;")
If you have a table prefix, you must add it in, however.
archive:
site:
Available for skin/mod commission! π
I was looking for that and I just couldn't find it. I didn't think to check the update.php file.
Thank you so much! It worked perfectly! =D
