![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
I'm having an interesting problem here... I had a domain I wasn't using and my hosting account on Godaddy lets me have multiple domains on the same account. I set up my extra account so that my 'adoptables' folder is the root (in other words if you type in my url it goes straight there). The problem is, if I don't include the script path (/adoptables) in config.php I get script errors... but when I do my admin cp gets errors... and the site doesn't look right... like all the design elements are missing or something
Is there a way to set in config.php for the script to check 2 paths instead of the one? I'm thinking that might work... set it to blank path and /adoptables... Errors I'm getting at the moment on the admin cp: Code:
Fatal error: Uncaught exception 'LanguageException' with message 'Language var default does not exist.' in /home/content/43/10587843/html/adoptables/classes/class_language.php:68 Stack trace: #0 /home/content/43/10587843 /html/adoptables/admincp/view/admincpview.php(18): Language->__get('default') #1 /home/content/43/10587843 /html/adoptables/classes/class_frontcontroller.php(100): AdminCPView->index() #2 /home/content/43/10587843 /html/adoptables/admincp/index.php(109): FrontController->render() #3 /home/content/43/10587843/html/adoptables /admincp/index.php(113): AdminCP::main() #4 {main} thrown in /home/content/43/10587843/html/adoptables/classes /class_language.php on line 68 Code:
Warning: require(../classes/class_loader.php) [function.require]: failed to open stream: No such file or directory in /home/content/43/10587843/html/adoptables/classes/class_initializer.php on line 103 Fatal error: require() [function.require]: Failed opening required '../classes/class_loader.php' (include_path='.:/usr/local/php5_3 /lib/php') in /home/content/43/10587843/html/adoptables/classes/class_initializer.php on line 103 When I go and comment out that line in class_language.php the admin page then loads - but looks cruddy just like the main part of the adoptables site.... but any links on the page get this error: Code:
Fatal error: Uncaught exception 'Exception' with message 'Fatal Error: Class Registry either does not exist, or has its include path misconfigured!' in /home/content/43/10587843/html/adoptables/classes/class_loader.php:83 Stack trace: #0 [internal function]: Loader->load('Registry') #1 /home/content/43/10587843/html/adoptables/classes /class_initializer.php(106): spl_autoload_call('Registry') #2 /home/content/43/10587843/html/adoptables/classes /class_initializer.php(45): Initializer->initialize() #3 /home/content/43/10587843/html/adoptables/index.php(68): Initializer->__construct() #4 /home/content/43/10587843/html/adoptables/index.php(78): IndexController::main() #5 {main} thrown in /home/content/43/10587843/html/adoptables/classes/class_loader.php on line 83 Code:
Warning: require(../classes/class_loader.php) [function.require]: failed to open stream: No such file or directory in /home/content/43/10587843/html/adoptables/classes/class_initializer.php on line 103 Fatal error: require() [function.require]: Failed opening required '../classes/class_loader.php' (include_path='.:/usr/local/php5_3 /lib/php') in /home/content/43/10587843/html/adoptables/classes/class_initializer.php on line 103 So I think if I could tell it to check 'root' and 'adoptables' it might work since half of it works one way and half the other..... or something.... if you want to see what I mean by looks cruddy you can peek at http://fixmyfarmville.com/ (farmville broke too bad to even bother building the site and I've been paying for this domain for like 5 years without using it... figured I might as well use it to experiment with this lol) I'm using Mysidida Adoptables 1.3.4 Of course Godaddy couldn't have made it EASY to run more than one domain on the same account.... jeez.... Last edited by krazykat1980; 05-06-2014 at 05:46 AM. |
#2
|
|||
|
|||
![]()
Adding www. in the address bar gets rid of the class_language.php error and the page loads but we still look cruddy
Why do I need the www. in the address bar for the admin cp but not for the main part of the site? Also, when I get that loaded and try to use a link from the admin cp it adds an extra 'adoptables' to the url because Godaddy is already adding it and doesn't work... because of it being a secondary domain with 'adoptables' as it's root (I think...?). .com/adoptables/adoptables/admincp/adopt/add Either I need 2 script paths, I need to edit some code by hand somewhere, or add something extra to a htaccess file or something Last edited by krazykat1980; 05-06-2014 at 05:48 AM. |
#3
|
|||
|
|||
![]()
now the www doesn't fix it.... so it's an intermittent thing.... like always.... for once can't I have an easy to solve problem? lol
I came across this script while I was working on my other site, and since I've been planning a pet site I decided to grab it and check it out... 24 hours later I still can't get it working and I haven't done a thing with my other site lol... guess I better take a break before I punch my computer and hope someone here can help me figure it out |
#4
|
|||
|
|||
![]() Code:
Warning: getimagesize(http://fixmyfarmville.com/adoptables/templates/icons/fr.gif) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/content/43/10587843/html/adoptables/classes/class_image.php on line 114 Perfect example of my problem.... opening this link: Code:
http://fixmyfarmville.com/adoptables/templates/icons/fr.gif Code:
Fatal Error: Class TemplatesController either does not exist, or has its include path misconfigured! Go to: Code:
http://fixmyfarmville.com/templates/icons/fr.gif If I remove '/adoptables' from the 'Script Path' in config.php I get smarty and config missing errors.... Please can't someone help me? I've tried reuploading and reinstalling several times (which takes about 2 hours on dialup) and I've read probably half this forum, and spent hours searching google.... |
#5
|
|||
|
|||
![]()
So no one knows where I would need to change urls in the code or an edit for my htaccess file that would solve this?
|
#6
|
|||
|
|||
![]()
Yea, I have no idea friend. I am in need of some help too that no one has seen yet lol.
|
#7
|
||||
|
||||
![]()
Sorry, I guess HOF could help more with this than any other. You can try messing around with the pathes in class_template.php, class_initializer.php and class_header.php maybe?
__________________
![]() ![]() ![]() asp.net stole my soul. |
#8
|
|||
|
|||
![]()
I assume that would be these bits?
Code:
public function loadStyle($style){ $this->addStyle($style); return "<link rel='stylesheet' href='{$style}' type='text/css'/>\n"; } This looks promising but I don't know what to do to it :( Code:
/** * The css property, it specifies the additional css folder to load. * @access private * @var String */ private $css; Last edited by krazykat1980; 05-10-2014 at 09:42 AM. |
#9
|
|||
|
|||
![]()
Check the new latest thread I made lol. And wait so why do you need two paths tho? What's the purpose of it?
|
#10
|
|||
|
|||
![]()
Being a secondary domain in some places it's looking for a folder that doesn't exist....
Code:
http://fixmyfarmville.com/adoptables/templates/icons/fr.gif doesn't exist because the root of fixmyfarmville.com IS the 'adoptables' folder... the proper link is Code:
http://fixmyfarmville.com/templates/icons/fr.gif But this works because this is the direct server path Code:
/home/content/43/10587843/html/adoptables/classes/class_loader.php If I remove '/adoptables' from config.php then that one doesn't work because this doesn't exist Code:
/home/content/43/10587843/html/classes/class_loader.php Last edited by krazykat1980; 05-10-2014 at 11:39 AM. |
![]() |
|
|
What's New? |
What's Hot? |
What's Popular? |