Loading

Author Topic: MY LINKS ON PAGE DO NOT WORK.  (Read 1085 times)

aduganda.info

  • Full Member
  • ***
  • Posts: 115
  • aduganda.info
    • FREELANCE MEDIA Business Directory| Domain Registration| Website Designing| Web-Hosting
    • Email
MY LINKS ON PAGE DO NOT WORK.
« on: January 19, 2012, 07:03:36 pm »
Hello people, when i try hyper-linking and linking in my pages,  the Links do not work. they redirect to the home page and other pages. please you can try it here: www.aduganda.info and go to the JOBS Page
Visit my Website and see the wonders of OSCLASS:
http://aduganda.info and Contact me on "aduganda@gmail.com" or Skype: aduganda or Facebook: http://facebook.com/aduganda

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1815
  • The Ghostbuster
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #1 on: January 19, 2012, 08:17:01 pm »
Hi aduganda,

Are you trying to link to page outside of your site? If so make sure when you enter the href in the a tag you use http://

Jay

aduganda.info

  • Full Member
  • ***
  • Posts: 115
  • aduganda.info
    • FREELANCE MEDIA Business Directory| Domain Registration| Website Designing| Web-Hosting
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #2 on: January 21, 2012, 03:45:21 pm »
when i look in the html of the page, where i added a link i find this "<a href="%5C">"

what could that be trains
Visit my Website and see the wonders of OSCLASS:
http://aduganda.info and Contact me on "aduganda@gmail.com" or Skype: aduganda or Facebook: http://facebook.com/aduganda

trains58554

  • Super Moderator
  • Hero Member
  • *****
  • Posts: 1815
  • The Ghostbuster
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #3 on: January 21, 2012, 07:31:23 pm »
Hi aduganda,

I have not seen that issue before. Do you get this when adding pages from the admin panel?

Jay

Anders

  • Newbie
  • *
  • Posts: 10
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #4 on: January 22, 2012, 01:20:12 pm »
Hi Jay and aduganda,

I have the same issue, this works great in 2.3.4 but not in 2.3.5

Even Stefan have the same issue. http://forums.osclass.org/general-help/links-in-pages/

 
Anders

sstef25

  • Jr. Member
  • **
  • Posts: 68
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #5 on: January 23, 2012, 03:13:00 pm »
Hi guys!

Anybody found the answer to this?

@trains: in the dashboard/pages/manage, when you edit a custom page and you enter/modify an external link, after you hit "update" the links are changed to "%5C". I've got the same behaviour when adding a new custom page with links in it too.

Stefan


sstef25

  • Jr. Member
  • **
  • Posts: 68
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #6 on: January 25, 2012, 02:17:06 pm »
no one?  ??? :D

sumitm

  • Newbie
  • *
  • Posts: 12
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #7 on: January 25, 2012, 04:43:10 pm »
i have the same issue, if i edit an item from the admin

sstef25

  • Jr. Member
  • **
  • Posts: 68
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #8 on: January 29, 2012, 04:08:24 pm »
still nothing?

Stefan

aduganda.info

  • Full Member
  • ***
  • Posts: 115
  • aduganda.info
    • FREELANCE MEDIA Business Directory| Domain Registration| Website Designing| Web-Hosting
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #9 on: January 30, 2012, 06:45:13 pm »
The links only work if you make a custom webpage in your cpanel and direct/point to it. Look at http;//aduganda.info/jobs.php. It works well and the links do as well
Visit my Website and see the wonders of OSCLASS:
http://aduganda.info and Contact me on "aduganda@gmail.com" or Skype: aduganda or Facebook: http://facebook.com/aduganda

sumitm

  • Newbie
  • *
  • Posts: 12
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #10 on: February 10, 2012, 10:05:13 am »
Hello,

I have the same issue with each posted classified with links. The links simply get replaced with "%5C"

Any luck with a solution for this?

Regards

Found a solution:

Add the following code to the bottom of your /oc-includes/osclass/core/Params.php and you'll be good to go.

if (get_magic_quotes_gpc()) {
    function stripslashes_deep($value)
    {
        $value = is_array($value) ?
                    array_map('stripslashes_deep', $value) :
                    stripslashes($value);

        return $value;
    }

    $_POST = array_map('stripslashes_deep', $_POST);
    $_GET = array_map('stripslashes_deep', $_GET);
    $_COOKIE = array_map('stripslashes_deep', $_COOKIE);
    $_REQUEST = array_map('stripslashes_deep', $_REQUEST);
}
« Last Edit: February 10, 2012, 10:46:34 am by sumitm »

aduganda.info

  • Full Member
  • ***
  • Posts: 115
  • aduganda.info
    • FREELANCE MEDIA Business Directory| Domain Registration| Website Designing| Web-Hosting
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #11 on: February 10, 2012, 12:23:21 pm »
that works just fine, Thubs Up  ;D
Visit my Website and see the wonders of OSCLASS:
http://aduganda.info and Contact me on "aduganda@gmail.com" or Skype: aduganda or Facebook: http://facebook.com/aduganda

sstef25

  • Jr. Member
  • **
  • Posts: 68
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #12 on: February 10, 2012, 05:27:35 pm »
Hi!

Thanks @sumitm, it's working, but i've noticed that now it's not saving the target attribute of the links... either you put it to "new window" or "same window" it's saved as "--Not Set--" ...

Stefan

sumitm

  • Newbie
  • *
  • Posts: 12
    • Email
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #13 on: February 15, 2012, 08:39:37 am »
Hi Stefan,

I did notice that too. Also, I have noticed yet another issue with my installation. The bullets and numbering do not show. Do you also face a similar problem?

Regards,
SumitM

Shogum

  • Newbie
  • *
  • Posts: 8
    • LusoEmprego.com
Re: MY LINKS ON PAGE DO NOT WORK.
« Reply #14 on: February 18, 2012, 08:31:55 pm »
I have this problem in my site to.

Anyone already have a resolution for this, please


The strange is that in my local server Wampp, the link works well, but in server dont work and change to %5C

Thanks