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 01-25-2018, 05:05 PM
AriaAmberkinz's Avatar
AriaAmberkinz AriaAmberkinz is offline
Member
 
Join Date: Jan 2018
Posts: 7
Gender: Female
Credits: 1,250
AriaAmberkinz is on a distinguished road
Default

Could you post a more detailed version of what you did, Dinocanid? I seem to be having the same issue.
Reply With Quote
  #2  
Old 01-25-2018, 07:52 PM
Dinocanid's Avatar
Dinocanid Dinocanid is offline
Member
 
Join Date: Aug 2016
Location: Maryland, USA
Posts: 516
Gender: Unknown/Other
Credits: 93,362
Dinocanid is on a distinguished road
Default

Quote:
Originally Posted by AriaAmberkinz View Post
Could you post a more detailed version of what you did, Dinocanid? I seem to be having the same issue.
On a fresh install, there's this code under "public function initialize" in class_language.php:
PHP Code:
public function initialize(){
        
$globallangfile "{$this->dir}lang/lang_global.php";
        require 
$globallangfile;
        
$this->global = new ArrayObject($langArrayObject::ARRAY_AS_PROPS);
    } 
I changed it so I defined the path myself, like this:
PHP Code:
public function initialize(){
    
$this->root "/home/foodbabs/public_html/";
        
$globallangfile "{$this->root}lang/lang_global.php";
        require 
$globallangfile;
        
$this->global = new ArrayObject($langArrayObject::ARRAY_AS_PROPS);
    } 
In class_mysidia.php, I replaced "public function getTemplate()" with this:
PHP Code:
public function getTemplate(){
    
$this->root "/home/foodbabs/public_html/";
        
$templateClass "{$this->root}inc/smarty/Smarty.class.php";
        require 
$templateClass;
        
        
$this->template = new Template($this->path);
        
Registry::set(new String("template"), $this->templateTRUETRUE);
        return 
$this->template;
    } 
So I added my own path based on the home directory, that way it doesn't forget where things are for some reason.
__________________
Reply With Quote
  #3  
Old 01-25-2018, 10:38 PM
AriaAmberkinz's Avatar
AriaAmberkinz AriaAmberkinz is offline
Member
 
Join Date: Jan 2018
Posts: 7
Gender: Female
Credits: 1,250
AriaAmberkinz is on a distinguished road
Default

Thanks! That seems to have fixed that particular problem. Unfortunately, now I'm getting
Quote:
Fatal error: Class Language contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Initializable::initialize) in /home/noppitsp/public_html/Mysidia Adoptables v1.3.4/classes/class_language.php on line 132
I checked class_language.php and there's just a bracket on that line.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:53 PM.

Currently Active Users: 3869 (0 members and 3869 guests)
Threads: 4,081, Posts: 32,032, 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 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636