Menu

Block Not Sent

Help
Lawrence
2009-10-10
2013-05-30
  • Lawrence

    Lawrence - 2009-10-10

    I received an email from my PHPGedview website today stating that the database had been edited by a user and I need to approve the alterations.

    When I clicked on the link in the email I was taken to the website, but all that was visible was a blank page with the words "Block not sent" on it.

    Does anyone know what this means, and how I can fix it?

     
  • Lawrence

    Lawrence - 2009-10-10

    I should have mentioned earlier I am using PHPGedview V 4.2.2 and Firefox 3.5.3 by the way.

    Here is the link:

    http://www.  .com/index.php? action = ajax & amp; block  = review _ changes _ block & amp; side = main & amp; bindex = 3 & amp; ctype = gedcom (spaces added by me)

     
  • Lawrence

    Lawrence - 2009-10-11

    Thanks for the link Kiwi_pgv.

    I tried the suggestion from that link (whilst still logged in as admin user):

    "Just go to your Gedview Portal page and click the Edit My Page link in the block on the top-right of the page. Then add Pending Changes to the left side of the page. After that you will see the pending changes on your page. I believe you can also add the Pending changes block to the Welcome page."

    I already had "Pending changes" in the left column. I tried adding it to the right column too, but the problem remains.

    Do you have any other ideas for a fix?

     
  • Lawrence

    Lawrence - 2009-10-11

    I have made some progress.

    There seems to be a problem with the email link code using "& amp;" instead of just "&":

    If you replace

    http://www..com/index.php?action=ajax& amp;block=review_changes_block& amp;side=main& amp;bindex=3& amp;ctype=gedcom

    with

    http://www..com/index.php?action=ajax&block=review_changes_block&side=main&bindex=3&ctype=gedcom

    the link seems to work. A simple "review changes" block is displayed with links for reviewing changes made.

    Does anyone know which file generates the "review changes" email so that I can update it?

     
  • Gerry Kroll

    Gerry Kroll - 2009-10-11

    The URL is generated at line 83 of "blocks/review_changes.php". 

    You need to change
    "$QUERY_STRING" to
    "html_entity_decode($QUERY_STRING)

    Stupid forum software:  Underscores in the text above are here: between "QUERY" and "STRING", between "html" and "entity", and also between "entity" and "decode".

    (When are the SourceForge folks going to fix this stupid forum software????)

     
  • potain

    potain - 2009-10-11

    Thanks for the fix, Gerry  as I did ask about this in another post which went unanswered.

    Jean

     
  • Lawrence

    Lawrence - 2009-10-11

    Yes, thanks from me too. I just got  an email from my PHPGedview site informing me of more changes to review and the embedded link now works.

    Perhaps the developers could fix this bug in the next update?

     
  • Gerry Kroll

    Gerry Kroll - 2009-10-12

    SVN 6222.

     

Log in to post a comment.