Code Monkey home page Code Monkey logo

Comments (6)

Kissaki avatar Kissaki commented on August 12, 2024

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.

from mumpi.

andrewschott avatar andrewschott commented on August 12, 2024

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';

from mumpi.

Kissaki avatar Kissaki commented on August 12, 2024

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

from mumpi.

andrewschott avatar andrewschott commented on August 12, 2024

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';

from mumpi.

Kissaki avatar Kissaki commented on August 12, 2024

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?

from mumpi.

andrewschott avatar andrewschott commented on August 12, 2024

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

Appreciate the help sofar.

from mumpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.