View Single Post
  #1  
Old 01-15-2015, 09:32 PM
Hall of Famer's Avatar
Hall of Famer Hall of Famer is offline
Administrator, Lead Coder
 
Join Date: Dec 2008
Location: South Brunswick
Posts: 4,448
Gender: Male
Credits: 327,305
Hall of Famer is on a distinguished road
Default 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.
__________________


Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
Reply With Quote