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 04-18-2015, 02:54 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 3,710
AndromedaKerova is on a distinguished road
Default Installation Errors

I'm having serious trouble installing the site and getting it to work properly.

I had a site before but I was stuck offline too long and it was deleted.

I tried to reinstall it and it told me everything was fine but I just get errors.

Code:
Warning: require(home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

Warning: require(home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326

Fatal error: require(): Failed opening required 'home/chibifurs.elementfx.com/inc/smarty/Smarty.class.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/chibifu2/public_html/classes/class_mysidia.php on line 326
This is what's in my class_mysidia:
Code:
public function getTemplate(){
	    $templateClass = "inc/smarty/Smarty.class.php";
        require $this->path->getRoot().$templateClass;
		
		$this->template = new Template($this->path);
		Registry::set(new String("template"), $this->template, TRUE, TRUE);
        return $this->template;
    }
My config is here:
Code:
<?php
//Mysidia Adoptables Site Configuration File

**Database info omitted**
define('DOMAIN', 'chibifurs.elementfx.com');             //Your domain name (No http, www or . )
define('SCRIPTPATH', 'chibifurs.elementfx.com/inc');     //The folder you installed this script in
define('PREFIX', 'adopts_');
__________________
Failing at being normal since 1990.
Reply With Quote
  #2  
Old 04-18-2015, 05:07 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,324
Kyttias is on a distinguished road
Default

Your scriptpath is wrong.

If your site was at www.yoursite.com/chibifurs, then your scriptpath would be 'chibifurs' and that's it. If your site was at www.yoursite.com, your scriptpath would be ''. That is, empty. In no case would your scriptpath ever include a url or a .com. You don't even need a slash before the name of the folder if it were in a folder. I don't think your site is being stored inside a folder, however, at all - and this is fine, normal and common. It should just be left blank.

Or, basically, with the setup you have now your site is looking for itself at http://chibifurs.elementfx.com/chibifurs.elementfx.com/inc/index.php.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 04-18-2015 at 05:11 PM.
Reply With Quote
  #3  
Old 04-18-2015, 05:14 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 3,710
AndromedaKerova is on a distinguished road
Default

So I should replace it with this: define('SCRIPTPATH', ''); //The folder you installed this script in

That didn't make any difference except the first line which was identicle to the second disappeared. It still throws out the second and third messages.

Tried it blank, /inc and inc and it's just doing the above.
__________________
Failing at being normal since 1990.

Last edited by AndromedaKerova; 04-18-2015 at 05:19 PM.
Reply With Quote
  #4  
Old 04-18-2015, 05:21 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,324
Kyttias is on a distinguished road
Default

Yeah, it should be:
Code:
define('DOMAIN', 'chibifurs.elementfx.com');             //Your domain name (No http, www or . )
define('SCRIPTPATH', '');     //The folder you installed this script in
define('PREFIX', 'adopts_');
?>
I think you've got that much correct now.

And you didn't say what you're hosting was, but if it's x10 hosting, you will need to follow the instructions in this post. I think it'll be:

PHP Code:
$this->root "/home/chibifurs/public_html/"
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #5  
Old 04-18-2015, 05:31 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 3,710
AndromedaKerova is on a distinguished road
Default

I'd already set the root to exactly that when I was attempting to fix it myself.
None of what I've seen and attempted so far has made any difference except to remove the duplicated first error.

Its the same hoster as last time. x10
__________________
Failing at being normal since 1990.

Last edited by AndromedaKerova; 04-18-2015 at 05:35 PM.
Reply With Quote
  #6  
Old 04-18-2015, 05:36 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,324
Kyttias is on a distinguished road
Default

Ok, well, taking a closer look:
Warning: require(/home/chibifurs/public_html/inc/smarty/Smarty.class.php): failed to open stream: No such file or directory in /home/chibifu2/public_html/classes/class_mysidia.php on line 326
Those should, obviously, match. Change everything that uses chibifurs to chibifu2 in all the files we've touched so far.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 04-18-2015 at 05:38 PM.
Reply With Quote
  #7  
Old 04-18-2015, 05:43 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 3,710
AndromedaKerova is on a distinguished road
Default

Well you've done it again you code queen you!
See? You even get pink letters for that. <3


My site is sort of there. Ugly as sin but hey ho, I was expecting that.
I know I followed every step correctly so the errors really confused the heck out of me.

Hopefully this will help someone else having similar problems.

Now to fiddling with mods and stuff. Especially adding the ones you came up with. They are exactly the kind of alterations I envisioned when I thought up Chibifurs.
__________________
Failing at being normal since 1990.
Reply With Quote
  #8  
Old 04-18-2015, 05:44 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 88,324
Kyttias is on a distinguished road
Default

Great! I'm glad everything worked out.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
  #9  
Old 04-18-2015, 05:47 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 3,710
AndromedaKerova is on a distinguished road
Default

You'll be listed in the credits page when I get around to that of course. I'm just that kind of person who has to credit people for their inputs when I have a working site.
__________________
Failing at being normal since 1990.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Many errors after installation, need a fast respon. ! digly Questions and Supports 1 06-09-2014 03:18 AM
Installation Help Brookreed Questions and Supports 0 03-17-2013 04:49 PM
Need help with installation Midelaye Questions and Supports 3 08-06-2011 02:53 PM
Installation Help Kib Questions and Supports 5 07-27-2011 12:38 PM
Errors after Installation Rozel Questions and Supports 2 03-23-2011 12:36 PM


All times are GMT -5. The time now is 06:15 AM.

Currently Active Users: 9808 (0 members and 9808 guests)
Threads: 4,080, Posts: 32,024, 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