Thread: AUGH help!
View Single Post
  #1  
Old 02-02-2016, 11:26 PM
Ittermat's Avatar
Ittermat Ittermat is offline
The awesomesauce
 
Join Date: Feb 2016
Location: in front of my laptop
Posts: 272
Gender: Female
Credits: 43,452
Ittermat is on a distinguished road
Unhappy 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...

Last edited by Ittermat; 02-04-2016 at 01:18 AM. Reason: got it fixed
Reply With Quote