Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Trouble with new files (http://www.mysidiaadoptables.com/forum/showthread.php?t=5442)

KatFennec 05-07-2017 01:12 AM

Trouble with new files
 
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 Code:

<?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.

KatFennec 05-07-2017 01:55 AM

Alternately, Depending on how you navigate to it, it simply loads the index.

Abronsyth 05-07-2017 06:04 AM

What does your view file for it look like?

aquapyrofan 05-07-2017 11:24 AM

Quote:

Originally Posted by Abronsyth (Post 36313)
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.

KatFennec 05-07-2017 02:09 PM

1 Attachment(s)
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.

Abronsyth 05-08-2017 09:40 AM

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?

aquapyrofan 05-08-2017 02:15 PM

Quote:

Originally Posted by Abronsyth (Post 36324)
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.

Abronsyth 05-08-2017 02:24 PM

I'd still try it and see if it works.

aquapyrofan 05-08-2017 04:23 PM

Quote:

Originally Posted by Abronsyth (Post 36328)
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.


All times are GMT -5. The time now is 10:17 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.