Support » Themes and Templates » error code in comments display

  • Need Help

    I recieve this error code if i try to test a comment and comments do not display with the error check out

    following is the error

    Warning: main(../../../wp-config.php) [function.main]: failed to open stream: No such file or directory in /home/dubaifor/public_html/wp-content/themes/SuperAdsenseTheme-V2.1/super-adsense/comments-ajax.php on line 2

    Fatal error: main() [function.require]: Failed opening required ‘../../../wp-config.php’ (include_path=’.:/usr/local/php5/pear’) in /home/dubaifor/public_html/wp-content/themes/SuperAdsenseTheme-V2.1/super-adsense/comments-ajax.php on line 2

    ———————————————————-

    The other problem is also for comments but its a bit different then the first one. The comments do not diplay in the footer of my theme

    here is the blog address

    Error Code:

    Fatal error: Call to undefined function: get_recent_comments() in /home/nasash/public_html/cgblog/wp-content/themes/silver-shine-10/footer.php on line 29

    ————————–

    Please help me out on that thakyou

    Nasir

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. Does it work if you switch to the default or classic theme?

    2. Call to undefined function: get_recent_comments()
    The theme’s template file calls for a function that does NOT exist on your blog, most likely for a plugin. Study the readme of that theme.
    Switch to another theme. Does it work?

    I have checked that the comment system is fine with some other themes but problem is I want to keep the current themes in my website. So is there any way to sort this out on the existing theme.
    Thankyou

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error code in comments display’ is closed to new replies.