Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Fix for blank page on x10Hosting upon installation (http://www.mysidiaadoptables.com/forum/showthread.php?t=4763)

Hall of Famer 01-15-2015 09:32 PM

Fix for blank page on x10Hosting upon installation
 
On x10hosting's new server, you will usually get a blank page after installing Mysidia Adoptables on x10hosting. This will apply for all pages you may visit on your site, this is a glitch with x10hosting itself but can be easily resolved.

To fix this issue, modify the script file classes/class_path.php. Replace this at line 62, it should be inside the __construct method(thanks IntoRain for the quick and easy fix):

PHP Code:

$this->root getenv('DOCUMENT_ROOT').SCRIPTPATH."/"

By the following code below, note you need to change yoursitename to the name of your site:

PHP Code:

$this->root "/home/yoursitename/public_html/"


In 99.9% times, this will do the trick. If your site is still blank after making this change, first think about whether you have supplied the correct site name for $this->root property. If you are sure the information is all correct and it is not working anyway, you may have to switch to a different webhost, but for most people this is totally unnecessary.

Good luck, and please post in this thread if any of the instructions above confuse you.

rickasawr 01-15-2015 10:59 PM

Yes! I had success with this! I was able to download it on the first try! Thanks HOF for posting this!

Also, i would like to point out that if you have the Script in a subfolder in the public_html folder of your host, then you should put this code on line 62:

PHP Code:

$this->root "/home/yoursitename/public_html/yoursubfoldername"

Hope this helps anyone that might be confused!

Glitter 10-20-2015 10:52 AM

Idk where to put this, cause it happens to me on my x10hosting website, I just have a blank page with no speshul coding thingies...

Hall of Famer 10-20-2015 03:03 PM

From now on I can host users' adoptables sites too, and of course you can add other things like Wordpress, Joomla, Drupal and forums if you want to. If you need this, send me a PM and I will set it up for you.


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.