I faced error while trying to install wikifab on AWS EB, I only can install mediawiki following the steps on the GitHub page, but when I get to running the PHP script everything goes wrong. at this point I have media wiki running on Amazon Eb but

im stuck at METHOD #1 STEP #033. Add wikifab extensions and configurationwhen I include >> include('LocalSettings.wikifab.php'); to LocalSettings.php, I get ERRORbut then I cannot run the PHP script after deployment since its amazon policy According to Amzon Guides the only way to run the PHP script after deployment is to include a config file in new folder called /.ebextensionsand post the PHP command in for example /wikifab/.ebextensions/wikifab.config and after deployment, amazon will run the script but it didn't work for mehere is my example config but it came back with errors :

I GET THIS ERROR The configuration file .ebextensions/dev.config in application version wikifab-1.0.1 contains invalid YAML or JSON. YAML exception: Invalid Yaml: while scanning for the next token found character '\t' that cannot start any token in "", line 5, column 1: command: php maintenance/initWi ... ^ , JSON exception: Invalid JSON: Unexpected character (c) at position 0.. Update the configuration file.

Hello,According to the error details, the issue seems to be in the dev.config file or wikifab.config file. it says that a line start with a tab ( "\t") on line 5. you may have to remove the tab, or replace it with spaces.

it will be more difficult to help without more details, but sometimes, when i first executed the "php maintenace/update.php'" it failed, and it worked the second time (that why i put it twice in the doc) So Can you try again, and see if it changes ?

One other detail : you should add "--int" to the last command to have the wiki not only in french ( php maintenance/initWikifab.php --setWikifabHomePage --int )