Trouble with new files

Forum
Last Post
Threads / Messages

KatFennec

Member
Member
Joined
Apr 21, 2017
Messages
57
Points
0
Age
30
Mysidian Dollar
4,476
getting the error
Code:
Fatal error: Class 'AppController' not found in /home/katfenne/clikrit.evocrit.com/electricglacier2.php on line 2

on a custom page. code for the page:
PHP:
<?php 
class Electricglacier2Controller extends AppController{ 

public function __construct(){ 
parent::__construct("member"); 
} 

public function index(){ 
$mysidia = Registry::get("mysidia"); 
} 

} 
?>

Previously created page, using an identical copy of that code, save for the controller name, worked flawlessly.
 
Alternately, Depending on how you navigate to it, it simply loads the index.
 
What does your view file for it look like?
It's identical to one that works in all but titles, (copy/pasted except the name, which is edited to match the non-view file) but there's only one character of difference so it would be pretty clear if there was a typo.
 
We recently changed domains as part of a migration to x10's premium hosting, so that may be contributing.
file is too long, so I'm going to attach it.
 

Attachments

  • electricglacier2view.php
    8.8 KB · Views: 3
View File: ElectricGlacier2
File: Electricglacier2

Your problem is probably to do with the case of the "g" in glacier. PHP is picky about things like that. Try changing it so they match one another?
 
View File: ElectricGlacier2
File: Electricglacier2

Your problem is probably to do with the case of the "g" in glacier. PHP is picky about things like that. Try changing it so they match one another?

It works fine in the version without the 2 though. That's the puzzling thing.
 
I'd still try it and see if it works.

We did, and it didn't. The same files also did work properly (i.e. Not requiring the .php extension to load) on a new install of Mysidia done on a sub domain, so we opted to reinstall and use a backup.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,278
Messages
33,125
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top