Notifications
Clear all

Can't Install EFiction 5

69 Posts
7 Users
1 Reactions
15.9 K Views
(@sheepcontrol)
Posts: 332
Reputable Member
 

You don't need admin privs to run this.
Any web user can do his/her stuff in their little shell.

Found an error in the config UI files ...

  • Open install/ui_en/config_upgrade.htm
  • Go to line 36
  • Towards the end, change to: "Last error was: {{ @installerCFG.error.db3 }}" (error.db3 instead of error.data)

(Changes are up on Git already)

What does it say now? Anyway, this still means, there is some issue with connecting to the db server.


 
Posted : 28/10/2016 4:10 am
 lucy
(@lucy)
Posts: 52
Trusted Member
Topic starter
 

I still get the same error I did before. I feel like I inputed data wrong.


 
Posted : 28/10/2016 7:24 am
(@sheepcontrol)
Posts: 332
Reputable Member
 

After the fix it should give a more detailed report.
I'll PM you.


 
Posted : 28/10/2016 8:14 am
 lucy
(@lucy)
Posts: 52
Trusted Member
Topic starter
 

The EFiction 3 database still won't work, also I haven't mentioned this but the error I'm getting is 500 Internal Service Error. I'm also still getting these errors at the config page;

Internal Server Error

Undefined index: error

[install/lib/base.php:2015] Base->error()
[install/tmp/1juqfkhmrwycy.1w8ambhzc4ia.php:39] Base->{closure}()
[install/lib/base.php:2487] require()
[install/lib/base.php:2657] View->sandbox()
[install/inc/upgrade.php:66] Preview->render()
[install/lib/base.php:1486] Base->call()
[install/index.php:43] Base->run()


 
Posted : 06/11/2016 2:47 am
(@sheepcontrol)
Posts: 332
Reputable Member
 

Another fix on errors in the configuration tool and the UI file.

Should better handle errors with sitekey and no longer 500 on wrong stuff, instead give proper message.


 
Posted : 06/11/2016 6:26 am
 lucy
(@lucy)
Posts: 52
Trusted Member
Topic starter
 

The errors are gone, but the EFiction 3 database won't open.


 
Posted : 06/11/2016 6:43 am
(@sheepcontrol)
Posts: 332
Reputable Member
 

Can you post the debug again?

Not entirely sure what you mean with "won't open", this page will not do anything but check the settings.
Below the first form, what's the message(s) ?
Maybe double-check if the settings prefix matches what is written in the config.php file

Edit: According to a message of yours, your settings_prefix in the config.php is "fanfiction_settings", this would mean your settings table is actually called "fanfiction_settingsfanfiction_settings". If that is true, then under "Settings prefix:", you need to enter "fanfiction_settings" also, just like in the config.php file.


 
Posted : 06/11/2016 9:19 am
 lucy
(@lucy)
Posts: 52
Trusted Member
Topic starter
 

So putting fan fiction_settings worked and I started the install, however I get this error when creating tables;

ERROR (Array ( [0] => 00000 [1] => [2] => ) )DROP TABLE IF EXISTS `cl60-rileslu-z04`.`fanfictioncategories`; CREATE TABLE `cl60-rileslu-z04`.`fanfictioncategories` ( `cid` int(11) NOT NULL AUTO_INCREMENT, `parent_cid` int(11) NOT NULL DEFAULT '0', `category` varchar(60) CHARACTER SET utf8 NOT NULL DEFAULT '', `description` text NOT NULL, `image` varchar(100) NOT NULL DEFAULT '', `locked` tinyint(1) NOT NULL DEFAULT '0', `leveldown` tinyint(2) unsigned NOT NULL DEFAULT '0', `inorder` int(11) NOT NULL DEFAULT '0', `counter` int(11) NOT NULL DEFAULT '0', -- can drop this ? `stats` text NOT NULL, PRIMARY KEY (`cid`), KEY `byparent` (`parent_cid`,`inorder`) ) ENGINE=MyISAM DEFAULT CHARSET=UTF8MB4 COMMENT='(eFI5): derived from _categories';

Everything else is fine.


 
Posted : 06/11/2016 10:29 pm
(@dsecrets)
Posts: 32
Eminent Member
 

I'm trying to do the upgrade and get this error:

Internal Server Error

Undefined variable: chaptertext

[restricted/lib/base.php:2015] Base->error()
[restricted/inc/sql/upgrade_3_5_x/job_chapters.php:94] Base->{closure}()
[restricted/inc/upgradetools.php:530] chapters_copy()
[restricted/inc/upgradetools.php:279] jobStart()
[restricted/inc/upgrade.php:124] upgradetools::processJobs()
[restricted/lib/base.php:1486] Base->call()
[restricted/index.php:43] Base->run()


 
Posted : 17/11/2016 8:25 am
(@sheepcontrol)
Posts: 332
Reputable Member
 

I'm trying to do the upgrade and get this error:

Internal Server Error

Undefined variable: chaptertext

[restricted/lib/base.php:2015] Base->error()
[restricted/inc/sql/upgrade_3_5_x/job_chapters.php:94] Base->{closure}()
[restricted/inc/upgradetools.php:530] chapters_copy()
[restricted/inc/upgradetools.php:279] jobStart()
[restricted/inc/upgrade.php:124] upgradetools::processJobs()
[restricted/lib/base.php:1486] Base->call()
[restricted/index.php:43] Base->run()

Interesting, this either means that the data source in the settings table isn't properly set to either "files" or "mysql" (can hardly imagine that, I think this would irritate eFiction 3) or a chapter file is missing.
It could also mean, you are using chapter files, but the installer is not located in a subdirectory of the eFiction 3 it is supposed to get chapter files from.

Last one means you either have to "move it, move it", King Julian, or I'll have to somehow implement a way of letting the user tell the installer where to look for the files.


 
Posted : 17/11/2016 3:40 pm
(@dsecrets)
Posts: 32
Eminent Member
 

I'll look into it tonight when Im home from work. The archive only has one story and chapter in it so I can also try a clean install.


 
Posted : 17/11/2016 6:31 pm
(@sheepcontrol)
Posts: 332
Reputable Member
 

I'll look into it tonight when Im home from work. The archive only has one story and chapter in it so I can also try a clean install.

No, I am actually happy about every error, it's often situations I couldn't think of.


 
Posted : 17/11/2016 8:09 pm
(@sheepcontrol)
Posts: 332
Reputable Member
 

Ok, chapter file missing or bad location info in config should no longer kill any kittens.


 
Posted : 18/11/2016 12:33 pm
(@dsecrets)
Posts: 32
Eminent Member
 

The installer works fine now, no errors πŸ™‚


 
Posted : 20/11/2016 6:54 am
 lucy
(@lucy)
Posts: 52
Trusted Member
Topic starter
 

Ok thanks for the update guys. I'm going to see if the upgrade works, as I'm about to create a new fanfiction site. (deleted the other one.)


 
Posted : 22/10/2017 3:20 am
Page 2 / 5
Share: