Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-13-2016, 12:08 AM
ladyspritzy ladyspritzy is offline
Member
 
Join Date: Jun 2016
Posts: 5
Gender: Female
Credits: 1,509
ladyspritzy is on a distinguished road
Default Links not working properly

So I have recently installed the MAS, and while it mostly seems to be in order, I keep having an issue where the links don't work quite right.
Here's a link to my site: http://www.thegryphonshutch.net/

I've figured out the problem is simply that each of the links leads to a page beginning in 'http//', and thus, the page cannot be found. It's fixable manually by either changing it to 'http://', 'www.' or simply removing the 'http//' altogether.

I'm not quite sure where this problem stems from, and would appreciate help in fixing it. Thanks!
Reply With Quote
  #2  
Old 06-13-2016, 12:36 AM
Ittermat's Avatar
Ittermat Ittermat is offline
The awesomesauce
 
Join Date: Feb 2016
Location: in front of my laptop
Posts: 272
Gender: Female
Credits: 33,711
Ittermat is on a distinguished road
Default

If you go to your admin control panel- login-> Links-> edit links

you can edit each link in the navigational bars.

Not entirely sure WHY this problem popped up- its weird 0.o
Reply With Quote
  #3  
Old 06-13-2016, 01:18 AM
ladyspritzy ladyspritzy is offline
Member
 
Join Date: Jun 2016
Posts: 5
Gender: Female
Credits: 1,509
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
  #4  
Old 06-13-2016, 07:08 AM
Ittermat's Avatar
Ittermat Ittermat is offline
The awesomesauce
 
Join Date: Feb 2016
Location: in front of my laptop
Posts: 272
Gender: Female
Credits: 33,711
Ittermat is on a distinguished road
Default

Yea I personally dont know much if any coding so that was the only fix I knew of lol...^_^;;
Glad you figured something out
Reply With Quote
  #5  
Old 06-13-2016, 11:09 AM
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: 334,754
Hall of Famer is on a distinguished road
Default

Well yeah just as Ittermat mentioned, there is an issue specific to the server on x10hosting for mysidia. I am considering releasing an x10hosting specific version for Mysidia script, so you can download and install it without worrying about such issues.
__________________


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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:54 PM.

Currently Active Users: 9306 (0 members and 9306 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636