Forum Replies Created

Viewing 15 replies - 1 through 15 (of 43 total)
  • Thread Starter wpnoob2014

    (@wpnoob2014)

    ok. i look at the link http://sitecheck.sucuri.net/results/travelmolecule.com/blog and it sounds like okay to me now?!

    Thread Starter wpnoob2014

    (@wpnoob2014)

    ok i am back here.

    i am still confused which part gives you the indication that it’s hacked

    is it the sucuri website provided by Pioneer valley?

    if yes, has this got to do with the fact that my php.ini file somehow got damaged or something such that it has to be renamed to php.ini.bak?

    i am quuite confused whether these 3 issues : the sucuri website and the php.ini issue and .com/blog being down previously (just restored a few min ago by webhost renaming to php.ini.bak) are related or not related to each other

    Thread Starter wpnoob2014

    (@wpnoob2014)

    esmi, sorry, i am confused.
    you responded to another post of mine. do you mean that the whole need to rename php.ini to php.ini.bak is indicative to you that someone messing up / hacking my website?

    so the first step is to do a back-up of the hacked website?

    this is a lot of information for me to process

    Your site has been hacked. You need to start working your way through these resources:
    http://codex.ww.wp.xz.cn/FAQ_My_site_was_hacked
    http://ww.wp.xz.cn/support/topic/268083#post-1065779
    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/
    http://ottopress.com/2009/hacked-wordpress-backdoors/

    Anything less will probably result in the hacker walking straight back into your site again.

    Additional Resources:
    Hardening WordPress
    http://sitecheck.sucuri.net/scanner/
    http://www.unmaskparasites.com/
    http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html

    Thread Starter wpnoob2014

    (@wpnoob2014)

    hi PVWD

    my website is up again. travelmolecule.com/blog
    apparently it’s some issue php.ini file. rename it to php.ini.bak and everything okay now (but dont really understand why)

    could you please help me out with the above two questions?

    re: question 2, i actually want to make my link colors change appear consistent for the page content text, blog post text, and copyright text at footer. dont want to have these link colors change appear for headings like Travel Molecule at the top left, or blog post title.

    the link color change i am talking abt implementing is the following
    ie.
    a:link {
    color:#0000FF;
    }

    a:visited {
    color:#800080;
    }

    a:hover {
    color:#FF0000;
    }

    i dont know what is the color code for the grey links appearing right now in my code. #FF0000 is the code for purple i think

    Thread Starter wpnoob2014

    (@wpnoob2014)

    So my travelmolecule.com/blog website is working again.

    however, being a technoob, can someone please tell me if this is a permanent/proper solution, or is it just a temporary one and i should do more?

    My webhost replied me and told me the following

    =========================

    I am sorry to see that your site was down. The issue was caused by the php.ini file in the /blog directory. I have renamed this file to php.ini.bak and the website is working again.

    Please let us know if you have any further questions; we are more than happy to help.

    Web Hosting Hub
    877-595-4HUB (Toll Free)
    757-416-6627 (Int’l)

    Thread Starter wpnoob2014

    (@wpnoob2014)

    ok. i just did a fresh upload of twenty twelve parent theme file. it didnt work in resolving the issue. so i can confirm parent theme files are not corrupted i guess.

    not sure abt the files in child theme (see pastebins above)

    Thread Starter wpnoob2014

    (@wpnoob2014)

    yes i know :(((. sorry, i dont know what happen. trying to figure this out now because it suddenly happen. will bump this thread again when problem resolved

    Thread Starter wpnoob2014

    (@wpnoob2014)

    yes, work now, thanks!!

    Thread Starter wpnoob2014

    (@wpnoob2014)

    i have sent an email to them. waiting for them to reply. still curious to see if this is something i messed up myself. i just dont know why this happens only to the .com/blog page and not anywhere else.

    if it’s something i mess up within the parent theme files (dunno which one, let’s say 1 out of the hundreds in there), does it mean if i have a fresh upload of twenty twelve parent theme file, then problem will be solved?

    i am a little afraid of making thinsg worse so didnt do anything yet

    Thread Starter wpnoob2014

    (@wpnoob2014)

    this is what i am confused about.
    it only happens on my blog page

    so what .php or .css file is only specific to my blog page and no where else? i didnt do anything to any files to my knowledge, or could you please point me to any files i could have mistakenly alter to damage custom blog template?

    the /blog page was still working just 2 h ago. so in the past 2 h, technically the only file i could have messed up under child theme is the footer.php, functions.php, and style.css. i dont think anything else is changed although i provide pastebin links to below (not many to begin with under child theme)

    style.css
    http://pastebin.com/2FVgXHXZ

    functions.php
    http://pastebin.com/TBNK2UCS

    header.php
    http://pastebin.com/unczfdJm

    customheader.php
    http://pastebin.com/SEQaA7m5

    footer.php
    you already seen this

    UNLESS i somehow messed up the parent theme files….

    Thread Starter wpnoob2014

    (@wpnoob2014)

    still quite confusing to me…. but am i correct to summarize the following??

    1) if i want to edit any function.php file, and i know which relevant code lines, then i should copy the code lines from parent function.php file over to child function.php file, and edit in the child file

    and these copied code lines should go after the line function post_theme_setup() { /* Code goes here! */ but before the line endif;?

    and because child file loads first, this means the modified function in child’s file reigns supreme over any original function that exist, because the functions will only run one time?

    2)

    Thread Starter wpnoob2014

    (@wpnoob2014)

    ok. i use this website pastebin.com, and pasted my child-theme footer.php code into it. and got the following out

    http://pastebin.com/aN3nFWLC

    Thread Starter wpnoob2014

    (@wpnoob2014)

    url: travelmolecule.com/blog

    Thread Starter wpnoob2014

    (@wpnoob2014)

    <?php
    /**
     * The template for displaying the footer
     *
     * Contains footer content and the closing of the #main and #page div elements.
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?>
    	</div><!-- #main .wrapper -->
    	<footer id="colophon" role="contentinfo">
    
                   <p>Copyright &copy; 2014 &middot; All Rights Reserved &middot; <a href="http://travelmolecule.com" >travelmolecule.com</a></p>
    
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    </body>
    </html>

    ok. i dont know what is PasteBin. but i think you want to see the code?
    the above is what my footer.php looks like now

    —————-

    conversely the parent footer.php is the below

    <?php
    /**
     * The template for displaying the footer
     *
     * Contains footer content and the closing of the #main and #page div elements.
     *
     * @package WordPress
     * @subpackage Twenty_Twelve
     * @since Twenty Twelve 1.0
     */
    ?>
    	</div><!-- #main .wrapper -->
    	<footer id="colophon" role="contentinfo">
    		<div class="site-info">
    			<?php do_action( 'twentytwelve_credits' ); ?>
    			<a href="<?php echo esc_url( __( 'http://ww.wp.xz.cn/', 'twentytwelve' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?></a>
    		</div><!-- .site-info -->
    	</footer><!-- #colophon -->
    </div><!-- #page -->
    
    <?php wp_footer(); ?>
    </body>
    </html>

    i think the problem is with some .php file. because i tried deactivating all plugins and activate again but the problem is not solved. and the weird thing is it only happens to my /blog page and no where else. and footer.php to my knowledge is not just specific to /blog page

    ok. so lesson learned. i shouldnt be editing a live php file. i always thought it’s easier to edit the file. and have the website open on another screen so that i can see what i do. but apprently that’s not a wise approach

    Thread Starter wpnoob2014

    (@wpnoob2014)

    for extra information, i was copying then editing the footer.php right before this happen – at least that’s what i think when it happens. is it something related to what i did in php?

Viewing 15 replies - 1 through 15 (of 43 total)