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.
I still get the same error I did before. I feel like I inputed data wrong.
After the fix it should give a more detailed report.
I'll PM you.
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()
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.
The errors are gone, but the EFiction 3 database won't open.
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.
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.
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()
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.
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.
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.
Ok, chapter file missing or bad location info in config should no longer kill any kittens.
The installer works fine now, no errors π
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.)