Advanced HTML block trouble

Help
Ray
2013-07-05
2013-07-07
  • Ray
    Ray
    2013-07-05

    I am having problems with the advanced HTML block. It changes my commands. It adds an / in front of all my " commands. This negates the commands. This was not a problem in the past but has only recently started. Any help would be appreciated.

     
  • Stephen Arnold
    Stephen Arnold
    2013-07-05

    What type of COMMAND are you trying to add? Certain types of actions are prohibited within PGV to prevent security holes.

     
  • Ray
    Ray
    2013-07-05

    is changed to
    for example. Or
     
  • Ray
    Ray
    2013-07-05

    How do I place a HTML command in this forum so that it shows up?

    The previous post has a couple of command examples but they do not show up.

     
  • Stephen Arnold
    Stephen Arnold
    2013-07-05

    Use the CODE post

     
  • Ray
    Ray
    2013-07-05

    <div class="blockcontent"> is changed to <div class=\"blockcontent\"> for example.
    
    Or <script language="JavaScript">SecondImage30='images/blue index button down.gif' is changed to <script language=\"JavaScript\">SecondImage30=\'images/blue index button down.gif\'
    
    Or <font face="Verdana" size=2> is changed to<font face=\"Verdana\" size=2>
    
    I have been using these commands for years and am just now having problems.
    
    Thanks
    
     
  • Stephen Arnold
    Stephen Arnold
    2013-07-05

    You did not escape out the consideration of the \ character before using it. The HTML block requires you to escape these characters.

     
  • Gerry Kroll
    Gerry Kroll
    2013-07-05

    What version of PGV are you using?

    I just tried this in my PGV 4.3.0 (The "SVN" version), and it works properly. Quotes and apostrophes entered into the HTML and Advanced HTML blocks don't automatically get prefixed with a backslash. What you type in is what is actually used when the block is displayed on the Welcome or Portal pages.

    If you've been using this for years and PGV suddenly started misbehaving, you need to look at your server configuration. Perhaps your ISP upgraded PHP to a new version, and you now need to upgrade PGV too.

    You might want to consider switching to webtrees. Webtrees is under active development with good support. PGV has been stagnant for over 2 years now, and support is kind of spotty.

     
    • Lester Caine
      Lester Caine
      2013-07-06

      The management of many of the 'new features' in PHP is more of a problem than still using PGV. I had problems running a try out of webtrees simply because I had PHP configured differently to that which webtrees expected. I got errors until the PHP was updated to eliminate the problem. 'magic_quotes' settings in php.ini have been modified and eliminated completely in PHP5.4 ... I would anticipate that this is where the problem is coming from and is related to the PHP setup rather than PGV.

       
    • Lester Caine
      Lester Caine
      2013-07-06

      Gerry Kroll wrote:

      What version of PGV are you using?
      Actually that should be 'What version of PHP'

      I just tried this in my PGV 4.3.0 (The "SVN" version), and it works properly.
      Quotes and apostrophes entered into the HTML and Advanced HTML blocks don't
      automatically get prefixed with a backslash. What you type in is what is
      actually used when the block is displayed on the Welcome or Portal pages.

      If you've been using this for years and PGV suddenly started misbehaving, you
      need to look at your server configuration. Perhaps your ISP upgraded PHP to a
      new version, and you now need to upgrade PGV too.

      You might want to consider switching to webtrees. Webtrees is under active
      development with good support. PGV has been stagnant for over 2 years now, and
      support is kind of spotty.
      The management of many of the 'new features' in PHP is more of a problem than
      still using PGV. I had problems running a try out of webtrees simply because I
      had PHP configured differently to that which webtrees expected. I gave errors
      until the PHP was updated to eliminate the problem. 'magic_quotes' settings in
      php.ini have been modified and eliminated completely in PHP5.4 ... I would
      anticipate that this is where the problem is coming from and is related to the
      PHP setup rather than PGV.

      --
      Lester Caine - G8HFL


      Contact - http://lsces.co.uk/wiki/?page=contact
      L.S.Caine Electronic Services - http://lsces.co.uk
      EnquirySolve - http://enquirysolve.com/
      Model Engineers Digital Workshop - http://medw.co.uk
      Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

       
  • Lester Caine
    Lester Caine
    2013-07-06

    Funny - I got a bounce message for the email post so just added the comment on line ...

     
    Last edit: Lester Caine 2013-07-06
  • Gerry Kroll
    Gerry Kroll
    2013-07-06

    Lester:
    Don't post by e-mail. Use on-line posting only.

    Yes, "magic_quotes" is what's causing you problems. You need to upgrade PGV to the latest-and-greatest 4.3.0 (the "SVN" version). Download location and instructions are in a recent Help topic whose title begins with "Repost: Download "SVN" version".

    Don't try to use 4.2.4 -- it doesn't have the "magic_quotes" fix in it, and it's missing a lot of other fixes.

    I have a few more non-essential fixes queued up, but they're waiting for SourceForge to fix an SVN problem.

     
  • Lester Caine
    Lester Caine
    2013-07-06

    Don't post by e-mail. Use on-line posting only.
    WHY Gerry ... I've done that for 12 years ...

    It LOOKS like the problem is yet another fault with the 'new' SF crap. The profile links are going to the wrong place https://sourceforge.net/u/lsces/ rather than linking to the one with information on https://sourceforge.net/users/lsces/ and none of my posts are being recorded against either page, so I will need to manage them via the off-line email anyway. You should not know if this originated on email or on-line ...

     
  • Gerry Kroll
    Gerry Kroll
    2013-07-06

    I'm using on-line posting, and I don't have any trouble. Weird.

    I can't say that I'm overly impressed with the "improvements" made by SourceForge. They should have left well enough alone. The only good thing is that when using on-line posts, you can edit or delete older messages. This one was LONG overdue.

     
    • Lester Caine
      Lester Caine
      2013-07-07

      Gerry Kroll wrote:

      I'm using on-line posting, and I don't have any trouble. Weird.

      The problem I am pointing out is that the 'user profile' page is no longer
      connected to a users profile, and we seem to have lost the ability to list our
      own posts from either profile. The /u/lsces link does not show any of the
      information entered into my account but which does appear in the /users/lsces
      one. Something is clearly wrong here.

      I can't say that I'm overly impressed with the "improvements" made by
      SourceForge. They should have left well enough alone. The only good thing is
      that when using on-line posts, you can edit or delete older messages. This one
      was LONG overdue.

      Being able to edit is overdue, and I can edit the email posts as well. But they
      seem to be trying to outdo the social media sites and the likes of github and
      failing to provide the facilities we had in the past :(

      --
      Lester Caine - G8HFL


      Contact - http://lsces.co.uk/wiki/?page=contact
      L.S.Caine Electronic Services - http://lsces.co.uk
      EnquirySolve - http://enquirysolve.com/
      Model Engineers Digital Workshop - http://medw.co.uk
      Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

       
  • Lester Caine
    Lester Caine
    2013-07-06

    email posting used to be very reliable but another post has not made it through :( It will probably appear later ...

    The user profiles are what I was saying had a problem. I can't find a list of my own posts via it, and the links posted above show that the profile accessed via the link to the left of a post does NOT go to our proper profile!