Forums

Spam-infected theme? (10 posts)

  1. billdennis5
    Member
    Posted 4 years ago #

    I've been using this guy's widget-ready 3-col Kubrick-style theme for some time on my site. Yesterday, I noticed that every time I went to my site, it was directed to this pharmacy site. I cannot find any code on any page that's obviously responsible, but every single time I use this theme, the redirect happens. When I use other themes, no redirect. I tried download a fresh version of the theme, same thing happened.

    I hate to call a guy out in public, but is there any other explanation here?

  2. whooami
    Member
    Posted 4 years ago #

    you downloaded a fresh copy of the theme, and replaced ALL of the old theme files by uploading the new ones?

  3. whooami
    Member
    Posted 4 years ago #

    I dont see anything in the theme files that looks malicious. He is using the old insecure PHP_SELF in the searchform, but thats all I see that ought to be changed.

    <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">

    Im gonna go out on a limb and say the trouble isnt with that theme.

  4. billdennis5
    Member
    Posted 4 years ago #

    It's bizarre, because it's the ONLY theme that this happens with. TWO different fresh copies.

  5. whooami
    Member
    Posted 4 years ago #

    it might be that theme is calling a function that the others arent. Are the otheres widgetized, for instance?

    You might want to audit all of your files. Need help, zip em up and send em off to me at whoo AT.............. whoo.org

    You could actually test that much easier, download all of your current core files. Then delete them all except for the wp-config.php of course, and reupload fresh core files.

    Problem goes away, you know it was in a core file. If not.. I dunno.

    I suggest saving them so if it does go away, you can go thru them to see what file it was.

    Even better yet, do it one directory at a time. wp-includes first .. so on.. That would make it even easier to track down, should it be fixed that way.

  6. billdennis5
    Member
    Posted 4 years ago #

    Geeze! It's easier to just switch to a new theme.

    But thanks for the advice.

    And I sooooo liked the nice clean theme I was using.

  7. whooami
    Member
    Posted 4 years ago #

    Geeze! It's easier to just switch to a new theme.

    Indeed, but wouldnt you want to know if one your core files was the cause? I would.

  8. billdennis5
    Member
    Posted 4 years ago #

    Apparently it IS a core file. I personally widgetized a different them and the same thing happened.

  9. billdennis5
    Member
    Posted 4 years ago #

    I need to upgrade anyway. That should replace the corrupted core file.

  10. billdennis5
    Member
    Posted 4 years ago #

    And here is ANOTHER clue ... widgetized themes work fine, right up until I start using a widget instead of the standard sidebar,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags