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)
-   -   AUGH help! (http://www.mysidiaadoptables.com/forum/showthread.php?t=5006)

Ittermat 02-02-2016 11:26 PM

AUGH help! (Figured it out)
 
AHA! Figured it out!! not being half asleep is AMAZING

  Spoiler: Second post 
Okay so I replaced all the files I changed with the originals... but im still getting this error when I go to the breeding page-

Fatal error: Class 'BreedingView' not found in /home/atrocity/public_html/classes/class_controller.php on line 135


im not sure how to fix it...

This is what my Class_Controller PHP. on those lines looks like...

public function loadView(String $name){
$view = $name->capitalize()->concat("View")->getValue();
$this->view = new $view($this);
}



Whats wrong here?


original post
  Spoiler: Original post 

I feel like an idiot...I forgot I could just redownload Mysidia...I am so sorry! I was frazzled and its late!

I really messed up x.x
but I was trying to install the merging addon thingy for breeding to test it out... but I ran into a snag...(I've never done anything like this before...)

Like 135 on class controller...

it keeps giving me the error:


Fatal error: Call to undefined function view() in /home/atrocity/public_html/classes/class_controller.php on line 135

And this is the lines...that Im having problems with... this started after I did what it said...I tried to back up my site first but I think I did the wrong thing...bleh...now I cant access my site or anything..

*/
public function loadView(String $name){
$view = $name->capitalize()->concat("View")->getValue();
$this->$breedingview = view($this);
}


When someone has a minute can you help me fix this really fast...

Or possibly do you have the original files for:

Class controller
Class breeding
Class owned adoptable
Breeding view
And breeding?

Those were the only things I changed...

Hall of Famer 02-03-2016 08:36 AM

Your site is working fine now, clearly you tried to change the theme to 'green' but accidentally entered 'Green'. Since PHP is case-sensitive, it cannot understand that 'Green' and 'green' are the same thing. Make sure you enter all lower-case values when you change site theme settings in future.

Ittermat 02-03-2016 09:04 AM

AHA! Figured it out!! not being half asleep is AMAZING


The breeding page is still messed up for me though... I still get the error..

Fatal error: Class 'BreedingView' not found in /home/atrocity/public_html/classes/class_controller.php on line 135


Thank you for that help btw...I'll try to remember that in the future ^^;...I've never done anything like this before- so I apologize if Im being bothersome by asking for help.


All times are GMT -5. The time now is 07:59 PM.

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