WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to get rid of unwanted pop up (38 posts)

  1. calik1d
    Member
    Posted 1 year ago #

    When my page gets loaded and i click anywhere on the page a pop up ad shows. Happens once every time the page is loaded.

    I look in the source code and it has this pop up code: aria-haspopup. I did not add this code. It just started happening all of a sudden.

    How do I get rid of this code?

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    It seems to be because of injection of adware. If you can post your site URL, it would help us find out why.

  3. calik1d
    Member
    Posted 1 year ago #

    I've never had the problem with pop up ads.

    http://maniladestination.com

  4. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    It seems to be coming from the AdBrite script installed by you. A part of the code from your site is below:
    <script type="text/javascript">---(' src="http://ads.adbrite.com/mb/text_group.php?sid=2120042&zs=3330305f323530&ifr='+AdBrite_Iframe+'&ref='+AdBrite_Referrer+'" type="text/javascript">');---</script>

  5. calik1d
    Member
    Posted 1 year ago #

    Thats not it.

    That pop up link is not an adbrite.

  6. robhob
    Member
    Posted 1 year ago #

    I've the exact same problem... I've broken the site... busy trying to get it back up and running.

  7. Have you tried the usual trouble shooting steps?

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  8. calik1d
    Member
    Posted 1 year ago #

    all plugins are deactivated. Still the pop up happens on any click on the page.

    I've switched themes and the pop up doesn't show. How do I get rid of the popup code on the theme that shows pop ups?

  9. robhob
    Member
    Posted 1 year ago #

    Are you hosting your site on a linux or Windows server? I'm using Windows...

  10. calik1d
    Member
    Posted 1 year ago #

    Linux. This problem only happened today.

  11. Have you also switched to the Twenty Eleven theme and cleared your browser's cache?

    That's a very specific set of code. If it's not you doing it then ask your host. Some free hosts inject add code into the HTML.

  12. calik1d
    Member
    Posted 1 year ago #

    The popup only happens on the theme I'm using. It doesn't happen to any other themes.

  13. robhob
    Member
    Posted 1 year ago #

    I'm back up... http://www.kempstongroup.co.za but still have the problem.

  14. calik1d
    Member
    Posted 1 year ago #

    Hey rob, I'm getting the same thing on my site. But its the theme I'm using. If I use another theme the popup doesn't happen.

  15. robhob
    Member
    Posted 1 year ago #

    I'm trying to make a copy of my theme's folder and then I'm going to replace it with a backup of the same thing.

  16. robhob
    Member
    Posted 1 year ago #

    Someone has obviously hacked our sites... once we've fixed the problem, how to we secure our sites?

  17. calik1d
    Member
    Posted 1 year ago #

    Its to late to make a copy of the themes folder. The code is in the themes folder.

  18. robhob
    Member
    Posted 1 year ago #

    I just want it for reference.

  19. calik1d
    Member
    Posted 1 year ago #

    My hosting plan has other themes and they are not effected by popups. Its only this particular theme that is getting the popup.

    How does this happen? i have different urls with the same theme. but each of them have been hacked.

  20. robhob
    Member
    Posted 1 year ago #

    I don't know who these guys are but they've also been hacked:
    http://www.whattwoeat.com/

  21. calik1d
    Member
    Posted 1 year ago #

    rob has this problem started for you today?

  22. calik1d
    Member
    Posted 1 year ago #

    I just did a complete uninstall of word press and reinstalled the theme. the pop up still shows.

  23. robhob
    Member
    Posted 1 year ago #

    Yes. I've fixed the problem eventually by deleting the theme (I couldn't rename it... got a nondescript server error) and unzipping the original theme in it's place.

    Now the question is, how do I secure the site? I've already changed the FTP password and the admin password.

  24. robhob
    Member
    Posted 1 year ago #

    Have you tried getting a fresh copy of your theme?

  25. calik1d
    Member
    Posted 1 year ago #

    I'm not sure whats going on because every wordpress that has the theme is getting popups. the rest of my wordpress sites that have different themes are just fine.

  26. robhob
    Member
    Posted 1 year ago #

    What plugin's have you got installed?
    I've got the following active plugin's:
    Comprehensive Google Map Plugin
    Contact Form 7
    Duplicate Post
    WordPress Importer

  27. robhob
    Member
    Posted 1 year ago #

    What's the name of the theme you're having trouble with?

  28. calik1d
    Member
    Posted 1 year ago #

    geoplaces... it only started happening today. I've disabled all plugins.

  29. The popup only happens on the theme I'm using. It doesn't happen to any other themes.

    . . .

    because every wordpress that has the theme

    ...Perhaps you just want to delete that theme...?

    If it only occurs when you use that theme, and no other time then delete that theme and chalk it up as a learning excercise. If you don't delete it then get used to the idea of generating ad revenue for other people.

  30. calik1d
    Member
    Posted 1 year ago #

    jan, the problem started happening today. I'm not sure what i did since I've only been uploading images to my site.

    I want to get to the root of the problem so it can help me and help others in the future. why leave a problem un solved?

Topic Closed

This topic has been closed to new replies.

About this Topic