MumPI icon indicating copy to clipboard operation
MumPI copied to clipboard

Installation problem.

Open andrewschott opened this issue 7 years ago • 6 comments

I am working on getting MumPi installed and got thru the /mumpi/install portion ok

settings.inc.php seems to be in place. Skipping…

admins.dat does not have to be converted.
You’re done.
You may now want to further configure your server(s) and the interface in the admin section,
or go straight to the user section.

But then when I click on either admin or user link provided, I get the following:

Template file not found when trying to parse template: HTMLHead
Template file not found when trying to parse template: header
Template file not found when trying to parse template: login
Template file not found when trying to parse template: footer

Any tips on what I jacked up? Thanks!

andrewschott avatar Nov 20 '17 23:11 andrewschott

Hey,

in your settings.inc.php what theme do you have configured? If it can't find the template files in the corresponding theme folder it throws this error.

For theme 'default' it should use the folders one and two respectively.

Kissaki avatar Nov 24 '17 21:11 Kissaki

Sorry for the late reply, been busy with work.

As for the theme, I left it at 'default'.

$ grep -e theme settings.inc.php  
$ theme           = 'default';

andrewschott avatar Dec 01 '17 23:12 andrewschott

$ theme = 'default'; Is that missing a PHP variable $ dollar sign? The one you posted indicates console, right?

Kissaki avatar Dec 01 '17 23:12 Kissaki

Yeah it is from the cli.

The $ is there. here is the region of the file raw:

// currently available: en, de ; en is recommended $defaultLanguage = 'en'; // only "default" right now $theme = 'default';

andrewschott avatar Dec 02 '17 00:12 andrewschott

Next I would try setting debug to true $debug = true; in the settings file. This should make PHP report/log all (errorreporting E_ALL). Then check your webserver/php log for errors or warnings. Or if you have display errors enabled they may also be displayed inline on the page.

When you access /admin/ you can see it should parse template files from the theme; HTMLHead, header, meta and footer. Files with these names should exist in the {theme folder](https://github.com/Kissaki/MumPI/tree/master/themes/admin/default).

If all of this is in place, maybe the php runtime can't resolve or access these files?

Kissaki avatar Dec 02 '17 00:12 Kissaki

OK thanks, I will try that, and report back.

Appreciate the help sofar.

andrewschott avatar Dec 02 '17 00:12 andrewschott