View Full Version : Help with URL issues and page completely blank?
Hi everyone!!
Ive been having some trouble with the urls in my site. Whenever I click on a link, for example the 'edit theme 1' button on the acp, this is the url my site directs me to:
http//(mysitename).pcriot.com//admincp/theme/edit/1
Btw, as the title says, Ive been getting all those blank pages too. Ive followed HoF's instructions to fix the problem, but they wont go away. Yesterday it was working just fine though.
Do you guys think I should just give the page some time, or should I start moving hosts?
Kyttias
02-02-2015, 07:39 PM
It definitely shouldn't have two slashes there... what changes did you make, exactly? :ooo:
I don't know what caused the urls to change, really! And the only files ive been messing around have been on the templates folder.
As for the blank pages, Ive replaced line 62 with $this->root =
"/home/yoursitename/public_html/"; (Twice already! I tried changing yoursitename to my site name - (mysite).pcriot.com - and my site without all the dots - (mysite).)
:displeased:
Kyttias
02-02-2015, 08:16 PM
And you're with x10 hosting? If your site was cupcakes.pcriot.com, it should be '/home/cupcakes/public_html/' -- is this what you've tried?
As for the double slashes, you might have added an extra / in your scriptpath during installation? You can change this by editing your config.php inside /inc folder.
Ive found the error in the config.php file! Thank you, Im sure this will fix the url thing.
Im still getting the blank page though! :mii:
Hall of Famer
02-03-2015, 08:06 AM
Do you see error log on your server's root directory(or the root directory for your installation of Mysidia Adoptables)? If so, you can read it and analyze where the error is, or post it here to have us explain why you get an error. Also check your PHP's version, if it's below PHP 5.3 you will need to upgrade server, as Mysidia Adoptables do not support PHP 5.2 or below.
There are no error log files in my root directory! (I searched through public_html and also ran a small search for the words 'error' and 'log'.)
My PHP version is 5.5, according to the x10Hosting wiki. :coloness:
Hall of Famer
02-03-2015, 02:59 PM
I see, so its x10hosting, which should have the up-to-date PHP version. Did you read this thread for potential fix of blank page error:
http://mysidiaadoptables.com/forum/showthread.php?t=4763
Yes, I have. Im pretty sure I dont have a subfolder for my files, too! Oh man, hopefully I won't have to move hosts?
Kyttias
02-03-2015, 11:39 PM
Did you know you can develop PHP-based sites while using just your own computer as a server? Depending on your router, you can even share what you've made with friends. If you're interested in giving that a go, I wrote a guide (http://www.mysidiaadoptables.com/forum/showthread.php?t=4774). :BIGO:
Thank you Kyttias! I'm on a mac though, so I'll be using MAMP. Ill focus on coding without a host for now. When I think I'm done, I'll figure things out!! Thank you everyone :-D :usedusedused::colonzero:
FounderSim
02-07-2015, 12:03 AM
Did you know you can develop PHP-based sites while using just your own computer as a server? Depending on your router, you can even share what you've made with friends. If you're interested in giving that a go, I wrote a guide (http://www.mysidiaadoptables.com/forum/showthread.php?t=4774). :BIGO:
I never knew it depeneded on your router... I thought Apache could run locally no matter what.
Kyttias
02-07-2015, 01:01 AM
I never knew it depeneded on your router... I thought Apache could run locally no matter what.
Yes, it can always run locally no matter what.
But it can't forward it publicly (to share with friends) without a router that supports NAT Loopback. Not in a way that both you and the outside world can see the site at the same time.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.