• Resolved alboss13

    (@alboss13)


    i thought i probably missed a file during uploading the theme
    I went back to the theme that i used and there was no such a file.
    i checked another of my domains where i am using the sameand it works fine
    So i am using the same theme and the files appear the same on both domains. ajax-comments there was no such thing as [function.include] on both, How come one works the other WP doesnt post comments and shows this error
    The error is :

    Warning: include(../../../../../wp-config.php) [function.include]: failed to open stream: No such file or directory in /home/atra/public_html/curepages.com/wp-content/themes/guzel/guzel-pro/addons/ajax-comments/post.php on line 3

    Warning: include(../../../../../wp-config.php) [function.include]: failed to open stream: No such file or directory in /home/public_html/curepages.com/wp-content/themes/guzel/guzel-pro/addons/ajax-comments/post.php on line 3

    Warning: include() [function.include]: Failed opening ‘../../../../../wp-config.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/public_html/dentistryarchive.com/wp-content/themes/guzel/guzel-pro/addons/ajax-comments/post.php on line 3

    Fatal error: Call to a member function get_var() on a non-object in /home/public_html/curepages.com/wp-content/themes/guzel/guzel-pro/addons/ajax-comments/post.php on line 23

Viewing 3 replies - 1 through 3 (of 3 total)
  • You have a bad path to wp-config. These relative directory things always trip me up and I have to play with them to get them right, so don’t bet the farm on this, but it looks like you need an extra ../ in your path.

    Thread Starter alboss13

    (@alboss13)

    its definitely not the theme that is missing any file as the error says. i have the same website with the same theme and it works fine . i can post comments.
    this is the error that i keep getting any help will be appreciated
    [Fri Feb 20 23:56:23 2009] [error] [client /////// File does not exist: /home/public_html/curepages.com/wp-content/plugins/ajaxcomment, referer: https://cure \pages.com/?p=33

    The error isn’t exactly telling you that the file is missing. It is telling you that the file is not where include() is being told to look for it. Also, the ‘missing’ file isn’t one of the theme files. It is a core WP file. It is the WP configuration file and it should probably in your case be in ‘/home/public_html/curepages.com’

    Did you try what I suggested? Because I can generate exactly the same error as in your first post by feeding the include() function a bad path. Which is why I suggested that you have a bad path to the file.

    This new error you’ve posted… I’m not sure what to make of that. Is that exactly how the error looks when the page generates it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cant post a comment. It says : function.include missing !! please help’ is closed to new replies.