Menu

How to recover corrupted file - gallery2.php

Help
Son Tu
2015-03-28
2015-03-29
  • Son Tu

    Son Tu - 2015-03-28

    Greetings,

    I'm getting many errors messages like the one below when I login to my site. It looks like gallery2.php is corrupted. Does anyone know how I could get a clean copy?

    Thanks,
    Sean

    ERROR 2: Error parsing modules/gallery2.php on line 1
    0 Error occurred on in function parse_ini_file
    1 called from line 34 of file pgv.php in function include_once
    2 called from line 32 of file gallery2_random_media.php in function require_once
    3 called from line 90 of file index.php

     
  • Son Tu

    Son Tu - 2015-03-28

    With the help of hosting's tech support, malicious code was removed from the file gallery2.php and everything is back to normal.

    Thanks,
    Sean

     
    • Lester Caine

      Lester Caine - 2015-03-29

      On 28/03/15 23:23, Son Tu wrote:

      With the help of hosting's tech support, malicious code was removed from
      the file gallery2.php and everything is back to normal.

      It's nice to hear hosting support that care!

      If you have ftp access to the hosting ... which you should ... then it's
      worth keeping a backup copy of your site(s) at home. I use a package
      called 'Beyond Compare' which is one of the few I pay for, but it allows
      me to compare file directories between remote machines, so every site
      has a local copy and I can very quickly spot and repair problems.

      More important though is to plug the hole which sounds like a
      vulnerability in gallery2?

      --
      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

       
  • Gerry Kroll

    Gerry Kroll - 2015-03-29

    I have a copy of every PhpGedView release all the way back to 3.3.7 (released in 2007), as well as a copy of the most recent "SVN" version.

    If anybody needs one of these, please e-mail me at gkroll(at) keldine (dot) ca . I need to know which version you want.

     

Log in to post a comment.