For some reason I’m unable to run cargo extension on my localhost server. On checking my logs it shows error of Undefined index: wgVersion, Undefined variable: wgScriptPath, Undefined variable: wgResourceModules and Uncaught Error: Unsupported operand types.
I’m guessing my LocalSettings.php is not getting linked with the extensions/Cargo/Cargo.php? Although I have included the lines wfLoadExtension( 'Cargo' );
& require_once("$IP/extensions/Cargo/Cargo.php");
in the extension block in LocalSettings.php as mentioned in the README. Can someone please guide me on this.
FYI: I’m using a mac with mamp installed on it with apache and mysql servers. My path/URL for cargo extension is http://localhost:8888/core/extensions/Cargo/
Thanks.