Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Links i add to costume pages keep getting corrupt automatically no matter how many times i fix it

Asked Modified Viewed 2,287 times
D
Darwin757
D
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
asked
Newbie

Hi, i am a content manager at a website that has php fusion, we have costume pages with links to other different pages within the website like articles and other costume pages and all that, but every once in a while all the links will have /administration automatically added before them and then of course they don't work because of that, i always go and remove that and so it works again, but it keeps coming back
i would appreciate any help, because fixing the problem is very important
0 replies

10 posts

F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

Hi,
That should not be possible without some action from a user or an Infusion.
There is nothing in the system that default adds /administration before links as far as I know.
If you insert a link , may it be http or a URL with BBCodes the link you enter are also the one that get´s saved and stays saved until changed.
0 replies
E
Elvenelf
E
  • Member, joined since
  • Contributed 184 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

Perhaps if the code of said custom page would be made available you could get better help. It might be something in the code of that custom page that is making the links all botched at times...
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

It will be happening because the url is probably written like /my_page.php try putting the full url.
0 replies
E
Elvenelf
E
  • Member, joined since
  • Contributed 184 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

Should use:
href=".BASEDIR."mypage.php
in the link if it doesn't have it...
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

If its php he is writing I presume its hard coded html since its in custom pages and he don't sound like he knows much php but aye if using php elf is correct also.
0 replies
E
Elvenelf
E
  • Member, joined since
  • Contributed 184 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

Ah true Craig... if inside html only one can use the shorthand echo <?=BASEDIR? > mypage.php

Pretty sure he can use that shorthand.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Shorthand would work aye.

Yeah not sure if he means Custom Page like viewpage.php or a file like home.php anyway hope we helped. :G
0 replies
F
Falk
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
answered
Super Admin

The key in the question for me is that they seems to be dynamic, ie changes them self randomly. If I read it right.
That should not happened regardless how you enter it.
But yes, full paths is preferable like http://www.site.com/thispage.php
0 replies
E
Elvenelf
E
  • Member, joined since
  • Contributed 184 posts on the community forums.
  • Started 19 threads in the forums
answered
Member

True indeed.... but this is exactly why I initially asked for the code of the page that generates the links. It seems like we are helping, if our assumptions are correct, but there was this silly thing I was told about assumptions.... So I don't want to run on assumptions alone if I can help it.

;)

Without knowing what's in the code it will be harder to properly help debug.
0 replies
D
Darwin757
D
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions
answered
Newbie

Thank you all of the help, and very sorry for the late reply.
but i fixed one page without adding a full link only with (/viewpage...) and the /administration came back, other pages where i added the full path did not have the problem anymore. if you still want to see the page code i'll provide it.
you are right i do not know much php, but i am going to learn it soon, shouldn't be hard since i know other programming languages like java, python, c, java script, html, css
thank you very much for your help, i'll report here again if i had more problems
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 10 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

F
F
Falk 146
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 12 questions
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
E
E
  • Member, joined since
  • Contributed 184 posts on the community forums.
  • Started 19 threads in the forums
D
D
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet