Notifications
Clear all

3.4.2 bug: Beta Reader Module breaks on uninstall

15 Posts
5 Users
0 Reactions
4,509 Views
(@itanshi)
Posts: 381
Reputable Member
Topic starter
 

Clean install

link: modules/betareader/uninstall.php

I'm not sure if its a module error or a main script error or both. So move it if you feel you need to. The first thing I noticed was the Language file is incorrect when asking if I wish to uninstall.

Are you sure you want to uninstall this module? _UNINSTALLWARNING

So when I clicked yes, I received this message

A fatal MySQL error was encountered.
Query: DELETE FROM `settfanfiction_modules` WHERE code_module = 'Beta-Reader List'
Error: (1054) Unknown column 'code_module' in 'where clause'

I went to the home page

Warning: include_once(modules/recommendations/languages/en.php) [function.include-once]: failed to open stream: No such file or directory in /home///beta.fanforge.net/modules/betareader/stats.php on line 29

Warning: include_once() [function.include]: Failed opening 'modules/recommendations/languages/en.php' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home///beta.fanforge.net/modules/betareader/stats.php on line 29

Edit: I think at least the latter part is related to that module problem i mentioned before IE

if(file_exists(_BASEDIR."modules/recommendations/languages/{$language}.php")) 
include_once(_BASEDIR."modules/recommendations/languages/{$language}.php");
else include_once(_BASEDIR."modules/recommendations/languages/en.php");

I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 01/04/2008 5:21 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

The Beta Reader module is released from Tammy's site. Did you get the updated version of it to use with eFiction 3.4?

If you didn't, go to her site and get it (if you want it).

Otherwise, just delete the tables and rows the beta read module added. I think it adds a row in the fanfiction_modules table and that's it. Delete the files from your server.

Anyway, I don't think she gives help on her modules here, she wants all help requests for them to be posted on her site.


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/04/2008 8:07 pm
(@itanshi)
Posts: 381
Reputable Member
Topic starter
 

alright, i'll do that and yes its the new one.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 01/04/2008 8:52 pm
(@itanshi)
Posts: 381
Reputable Member
Topic starter
 

No changes in 3.4.2, exact same behavior, posted in the module bug forum as requested.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 02/04/2008 12:37 pm
(@itanshi)
Posts: 381
Reputable Member
Topic starter
 

http://efiction.hugosnebula.com/forum/viewthread.php?forum_id=11&thread_id=59&pid=281#post_281

Tammy said I was missing something on my end, so I'd like it if someone would be so kind as to setup a beta server and install these modules or if you have done so already with your site and they work to tell me if I'm missing anything from the codeblocks table as outlined here. I tried everything I could given my limited knowledge and 1-2 hours of comparing the given code and the sql. My current diagnosis is thus:

The installer is forgetting the membersList field, the uninstall is not finding the code_module row although it does exist and the beta reader's module in the stats.php file is looking for the language file from the recommendations module which is, seemingly, incorrect as it is currently not a prerequisite to have that installed for beta reader list module to work. Also, even with the recommendations modules installed the language file is screwy as noticeable when you click uninstall and some raw code pops up: '_UNINSTALLWARNING' as shown above and in the link.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 06/04/2008 3:49 pm
(@souly)
Posts: 28
Eminent Member
 

I have the same problem.


 
Posted : 16/10/2008 1:08 pm
(@tammy)
Posts: 2577
Member Moderator
 

Update to the latest version and make sure you grab the module for the correct version of eFiction.

http://efiction.hugosnebula.com/downloads.php?cat_id=16


 
Posted : 23/10/2008 1:11 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Can you please check and see if this is still an issue with 3.5? Thank you!


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 : 07/04/2009 5:08 am
(@itanshi)
Posts: 381
Reputable Member
Topic starter
 

Well, I don't have access to Tammy's site to grab the latest module to test, unfortunately.


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 07/04/2009 5:34 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

The Beta Reader module I have is 1.1.

I don't even have an uninstall link on mine.


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 : 07/04/2009 5:36 am
(@lyndsie)
Posts: 1263
Member Moderator
 

I just upgraded to the latest beta reader module a couple of weeks before Tammy's site went down.  The version is 1.3.  It's not working properly, though.  Oddly enough, the previous version I had (1.1?) was working, but I upgraded it simply for security reasons.  I do remember having lots of trouble installing/uninstalling.  I think the database stuff didn't get updated right and I had to do it myself.  Now "beta reader" isn't appearing on the list of member types when I view authors.php but I added {totalbetas} to my info block and that IS working.


 
Posted : 07/04/2009 7:34 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Please check and see if this is an issue still with 3.5.1. Thank you.


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 : 24/04/2009 10:18 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Not sure about the OP, but my issue of it not appearing is still prevalent with 3.5.1. (ie. http://dracoandginny.com/authors.php?list=authors&let=Z where "beta reader" doesn't appear on dropdown though the field in Site Info works fine.) Though I need to check Tammy's site to see if there's an update to the module, and will post there with any problems I encounter.


 
Posted : 24/04/2009 11:37 pm
(@itanshi)
Posts: 381
Reputable Member
Topic starter
 

I'd say it's a module problem at this point


I am rebuilding efiction! Join us on irc! #efiction at www.mibbit.com Instructions for irc πŸ˜€ Alpha released!

 
Posted : 25/04/2009 3:24 am
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Yeah, Beta Readers is a module, so I'll move this to the solved forum and then the post at Tammy's site should make sure it's remembered.


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 : 26/04/2009 2:23 am
Share: