Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #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: 37,681
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
  #2  
Old 02-03-2016, 08:36 AM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 454,727
Hall of Famer is on a distinguished road
Default

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


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote
  #3  
Old 02-03-2016, 09:04 AM
Ittermat's Avatar
Ittermat Ittermat is offline
The awesomesauce
 
Join Date: Feb 2016
Location: in front of my laptop
Posts: 272
Gender: Female
Credits: 37,681
Ittermat is on a distinguished road
Default

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.

Last edited by Ittermat; 02-04-2016 at 01:17 AM.
Reply With Quote
Reply

Tags
help please


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:21 AM.

Currently Active Users: 1894 (0 members and 1894 guests)
Threads: 4,081, Posts: 32,025, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636