Beta-reader Mod scr...
 
Notifications
Clear all

Beta-reader Mod screws up my index-page.

11 Posts
3 Users
0 Reactions
4,299 Views
(@souly)
Posts: 28
Eminent Member
Topic starter
 

URL to your eFiction: http://vampire.fan-fictions.net/
Version of eFiction: 3.4.3
Have you bridged eFiction, if so with what?: No
Version of PHP: 4.4.7
Version of MySQL: -,-
Have you searched for your problem: Yes, but the two threads I found did not help me to solve the problem.
State the nature of your problem: After downloading the newest beta-reader mod from Tammy's website, I installed it and got a MySQL warning on my main-page.
If so, what terms did you try:  Trying to uninstall the mod, I got a warning. Deleting the thread on my website just made the problem worse and I got more error messages.


Warning: main(modules/recommendations/languages/en.php) [function.main]: failed to open stream: No such file or directory in /is/htdocs/41917/www.slayerzone.de/vampires/modules/betareader/stats.php on line 29

Warning: main() [function.include]: Failed opening 'modules/recommendations/languages/en.php' for inclusion (include_path='.:/usr/share/pear') in /is/htdocs/41917/www.slayerzone.de/vampires/modules/betareader/stats.php on line 29

When I tried to uninstall it:

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

I read in those other threads that the module 'is' fine and that it 'is' an error from the website or database. But what kind of error. Why does it ask for a recommendations-folder that does not exist?

.
.
.

*edit* I removed:

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 thought since it was asking for a folder that doesn't exist, maybe that's the problem. I have no idea what I am doing right now, I have no experiences with MySQL. But the message disappeared.


 
Posted : 16/10/2008 1:20 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

The errors disappear because you removed the include to the non-existent file, but it doesn't solve your problem. The "recommendations" in the URL should read the beta reader module folder name. I don't know it by memory, so you'll have to include what you deleted back in, but renaming the folder name. πŸ™‚


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 16/10/2008 4:03 pm
(@souly)
Posts: 28
Eminent Member
Topic starter
 

Which folder name? I tried exchanging the "recommendations" in the include with "betareader" but that did not solve the problem, since there is no language file in beta-readers either.

The question is, why does the beta-reader mod needs a non-existent folder and what does it need the language-file for?


 
Posted : 16/10/2008 4:11 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

Ah, apologies, I couldn't remember if the beta reader module had a language folder. I incorrectly assumed it did.

In that case, it's safe to remove. I actually have it commented out in my own stats.php.

I'm guessing the include isn't intentional, and Tammy put it in there accidentally. Other modules have language files because sometimes they have "words" that aren't in the main language file; to keep with the multi-linguistic features of the script, there should therefore be a language file for each module if it requires it. If I recall correctly, the beta reader module language constants are in the main language file.


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 16/10/2008 4:40 pm
(@souly)
Posts: 28
Eminent Member
Topic starter
 

Another question. I though the mod would create a list of beta-readers somewhere. But it does only add another row to the stats, saying "Betareaders: 12". Doesn't it?


 
Posted : 16/10/2008 5:27 pm
 Elle
(@jenny)
Posts: 594
Honorable Member
 

The beta reader mod should list the members who have selected to be beta readers in the member list. o_O


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 16/10/2008 7:31 pm
(@souly)
Posts: 28
Eminent Member
Topic starter
 

Not as far as I can see... πŸ˜•


 
Posted : 17/10/2008 2:20 am
(@tammy)
Posts: 2577
Member Moderator
 

Uninstall it and reinstall it.  Something didn't get added right in the database.


 
Posted : 21/10/2008 12:59 am
(@souly)
Posts: 28
Eminent Member
Topic starter
 

I can't uninstall it. I get 'Uninstallwarning' if I try.


 
Posted : 22/10/2008 3:21 pm
(@tammy)
Posts: 2577
Member Moderator
 

Go to my site and get the most up-to-date version.  Make sure that's the 3.4 version not previous versions!

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


 
Posted : 23/10/2008 1:05 am
(@souly)
Posts: 28
Eminent Member
Topic starter
 

It *is* the up to date version. I did the whole stuff twice or thrice already.

But, I will try again...

Are you sure the download-link is correct. The table heading says 1.4, but the downloaded file is 1.3.


 
Posted : 30/10/2008 4:57 pm
Share: