Forums

Took my site DOWN! (9 posts)

  1. jfurst
    Member
    Posted 1 year ago #

    Hi,
    HELP.
    I was doing some editing of code on my site, trying to get ride of a footer link and ended up taking my site down. http://www.JerryFurst.com

    I did take a peek at the SQL database and removed 1 used that looked odd, but made no other changes.

    Anyone help, Please!!!!
    thanks,
    Jerry

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Seems to be working now.

  3. jfurst
    Member
    Posted 1 year ago #

    yep, I got it. Database connection problem. Still trying to get rid of the footer link, though.

  4. phe.le
    Member
    Posted 1 year ago #

    It should be in the footer.php.

  5. jfurst
    Member
    Posted 1 year ago #

    thanks for the help....they have it coded beyond the scope of my understanding. When I took the code out, the site goes down.

    Here's the code:
    this is in the footer.php

    <div id="footer-left">
    <?php /* WARNING: YOUR SITE MAY STOP WORKING IF THESE LINKS ARE MODIFIED IN ANY WAYS */?>
    DarkHive <a href="http://www.magpress.com" title="WordPress Theme">WordPress Theme</a> By MagPress<span class="credit">Thanks To <a href="http://nhshospitaljobs.com" title="NHS Hospital Jobs">NHS Hospital Jobs</a> | <a href="http://nhsnursetraining.com" title="NHS Nurse Training">NHS Nurse Training</a> | <a href="http://nhsjobslondon.com" title="NHS Jobs London">NHS Jobs London</a></span>
    </div>

    and in the Index.php file:

    <?php if ((!function_exists("check_theme_footer") || !function_exists("check_theme_header"))) { ?><?php { /* nothing */ } ?><?php } else { ?>
    
    <?php get_header(); ?>

    [Please post code snippets between backticks or use the code button.]

    I'm not sure where to find the "Check_theme_footer" function...
    thanks again,
    Jerry

  6. phe.le
    Member
    Posted 1 year ago #

    Try to remove:

    <?php if ((!function_exists("check_theme_footer") || !function_exists("check_theme_header"))) { ?><?php { /* nothing */ } ?><?php } else { ?>

    and the last line: <?php } ?>

  7. jfurst
    Member
    Posted 1 year ago #

    Well, I tried as you suggested, which is a good idea, but got this error when loading the site in a browser:

    Parse error: syntax error, unexpected '}' in /home/content/j/e/r/jerryfurst/html/wp-content/themes/darkhive/index.php on line 97

    This is the code at the bottom and line 97 is at the end:
    </div><!-- POST ENTRY END -->
    <?php include (TEMPLATEPATH . '/paginate.php'); ?>
    </div><!-- CONTENT END -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    <?php } ?>

    thanks for taking the time...
    Jerry

  8. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 1 year ago #

    you shouldn't use any theme with encrypted stuff unless you enjoy the risk of your site getting hacked and/or spreading spam & viruses

    http://wpmu.org/why-you-should-never-search-for-free-wordpress-themes-in-google-or-anywhere-else/

    http://www.themelab.com/2009/12/08/stop-downloading-wordpress-themes-from-shady-sites/

  9. phe.le
    Member
    Posted 1 year ago #

    You need to remove <?php } ?> as well.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags