View Single Post
  #3  
Old 06-13-2016, 01:18 AM
ladyspritzy ladyspritzy is offline
Member
 
Join Date: Jun 2016
Posts: 5
Gender: Female
Credits: 1,806
ladyspritzy is on a distinguished road
Default

Thanks! That definitely helps for the more visible elements of the site, but it's still a bit of a problem in the ACP area, and I didn't want to have to manually edit that URL every time I clicked on a link. So, I tinkered with the class_path file a bit, as I saw there was an issue with x10hosting (I use x10premium but I figured they were similar enough). I made sure to put in the suggested script before asking about this issue.

One thing I found while tinkering with the file was that in playing with line 61, I could change where the beginning of the link lead to. I've managed to resolve the bulk of the issue by simply changing the script from:

$this->absolute = "http://".DOMAIN.SCRIPTPATH."/";

to

$this->absolute = "".DOMAIN.SCRIPTPATH."/";


Another odd thing that I noted while playing with the code was that putting a 'www' in place of the 'http://' would result in all of my links starting with 'wwwhttp://'. I have no idea why the colon refuses to pop up when it's just the 'http://', but I wonder if it has something to do with how PHP works? I'm afraid I don't know enough about the language to really know for sure.

Either way, I'm not sure why exactly this is happening, but that's the fix that I managed to find for it, and I hope anyone else who has this issue can see it resolved :33
Reply With Quote