Jump to content
Killersites Forums


New Members
  • Posts

  • Joined

  • Last visited

Everything posted by Demetri

  1. I've been doing the wordpress theme tutorial and find out that all the functions are undefined in the original files. Which makes the tutorial kind of unusable. Maybe I'm not getting something or missing, but as it is the tutorial is severely out-dated.
  2. Following the shopping cart tutorial and encountered a problem. (login.php file) <?php include("models/m_template.php"); $Template = new Template(); //Problem is here "Undefined type "Template" $Template->load("views/v_login.php"); (Template class file) <? //Template Class - handless all templating tasks (displaying templates, alerts, errors) class Template { //Constructor function __construct() {} //Functions function load($url) { include($url); } } Tbh, not a clue why I'm getting this error.
  3. Thank's for the reply, I fixed the original error but now I have another one. After I login into the admin page the editable fields do not show up.
  4. Hello, I've been doing the "lets build a CMS with MVC" tutorial in Stefan's web design course. and ran into a problem. Basically, the CMS doesn't want to open a login form, all though I've been following the tutorial pretty closely. Idk how this forum works. So I am attaching a couple of links. Here's the problematic code from a post on Code Project: https://www.codeproject.com/Questions/5286592/Call-to-a-member-function-load-on-null-when-trying And a link to a github repo with my code: https://github.com/DmitrijusKazakovas/CMS Thank you for the help.
  • Create New...