Fix for blank page on x10Hosting upon installation

Forum
Last Post
Threads / Messages

Hall of Famer

Administrator
Staff member
Administrator
Joined
Dec 15, 2008
Messages
4,564
Points
48
Location
United States
Mysidian Dollar
214,223
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:
$this->root = getenv('DOCUMENT_ROOT').SCRIPTPATH."/";

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

PHP:
$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.
 
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:
$this->root = "/home/yoursitename/public_html/yoursubfoldername";

Hope this helps anyone that might be confused!
 
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...
 
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.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,274
Messages
33,115
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Latest Posts

Top