module storyend upd...
 
Notifications
Clear all

module storyend updated and added option panel

6 Posts
2 Users
2 Reactions
270 Views
(@jimmi)
Posts: 95
Estimable Member
Topic starter
 

I updated storyend module and added an option panel.   

The reason for this:

the user, who shared this module code with me, had commented series part and I wanted to avoid manual changes in the code for her.

Version 3.5.8 is needed because this version fixed coauthors. 

Prepared for testing

 

https://github.com/e107-eFiction/modules

 


Never say that something is impossible because there will be always some dummy who will do it.
URL for efiction site: https://www.hpfanfiction.cz/
php: 8.1.33 MariaDB 10.5
efic version: 4.0.x
mods: storyimage, notifications, storyend

 
Posted : 09/05/2024 4:45 pm
marcy reacted
(@marcy)
Posts: 71
Trusted Member
 

For my new install they go in easily but for my older ones they still get that conflict

A fatal MySQL error was encountered.
Query: SHOW COLUMNS FROM fanfiction_settings LIKE 'storyend'
Error: (1146) Table 'danfic.fanfiction_settings' doesn't exist


 
Posted : 09/05/2024 10:08 pm
(@jimmi)
Posts: 95
Estimable Member
Topic starter
 

@marcy thanks

Does the archive with danfic database use prefixes?  They are missing from your errors.

Could you try this manually (change your prefix) in PHPmyadmin?

SHOW COLUMNS FROM  PREFIX . fanfiction_settings LIKE 'storyend'
 
It should return nothing, but no error.
 
ALTERTABLE`PREFIX."fanfiction_settings` ADD `storyend` TEXT NOT NULL default ''
 
If it fails, add storyend manually to this table and copy the used query (it is showed in phpmyadmin after adding field manually), please.
 
Thank you
 
 
 

Never say that something is impossible because there will be always some dummy who will do it.
URL for efiction site: https://www.hpfanfiction.cz/
php: 8.1.33 MariaDB 10.5
efic version: 4.0.x
mods: storyimage, notifications, storyend

 
Posted : 10/05/2024 1:20 am
(@marcy)
Posts: 71
Trusted Member
 

I think the prefixes are the problem cause the ones that worked don't have any prefixes and the ones have prefixes don't work. Is there any way to remove the prefixes?


 
Posted : 10/05/2024 1:38 am
(@marcy)
Posts: 71
Trusted Member
 

Everytime i remove it, it asked to check prefixes


 
Posted : 10/05/2024 2:11 am
(@jimmi)
Posts: 95
Estimable Member
Topic starter
 

Posted by: @marcy

Everytime i remove it, it asked to check prefixes

The prefixes are important. They are saved in the database (fanfiction_settings) too and "asking" should be there if prefixes in config.php and the database are different.  

Please let prefixes there.  It means you have an issue with TABLEPREFIX constant, - maybe you define it somewhere else.  Just run the query manually or wait.  I can replace constant with direct loading from the database to avoid this.

 

 

 


Never say that something is impossible because there will be always some dummy who will do it.
URL for efiction site: https://www.hpfanfiction.cz/
php: 8.1.33 MariaDB 10.5
efic version: 4.0.x
mods: storyimage, notifications, storyend

 
Posted : 10/05/2024 2:21 am
marcy reacted
Share: