No announcement yet.

Cant find file that exists

  • Filter
  • Time
  • Show
Clear All
new posts

  • Cant find file that exists


    I get this error when I want to post an entry in Wordpress (i have connected WP and vB with this addon:

     Warning:  require_once(DIR/includes/functions_newpost.php) [function.require-once]: failed to open stream: No such file or directory in /www/htdocs/w0095deb/forum/includes/class_dm_threadpost.php on line 18
    Fatal error:  require_once() [function.require]: Failed opening required 'DIR/includes/functions_newpost.php' (include_path='.:/usr/share/php:..') in /www/htdocs/w0095deb/forum/includes/class_dm_threadpost.php on line 18
    Now I went and checked the two files.

    In line 18 of class_dm_threadpost.php it says:
    PHP Code:
    require_once(DIR '/includes/functions_newpost.php'); 
    and, which I find surprising, the functions_newpost.php does exist.

    I didn't change any files on the vBulletin side. What could be the reason for this error?

  • #2
    This has happened to me this may be caused in my usage when uploading the "xml file first" than uploading to your server this may cause this because you uploaded the "xml" file before uploading the files it needs into your host. great hosting guide made by me. 2,000+ Views
    Hosting Guide.

    Proud vBulletin License Owner!
    Did I help you out? Please give me a cookie then!
    Edlinpugs | Clan WrT


    • #3
      Sorry I dont get this. What xml file ?? Uploading it to the server before doing what?


      • #4
        first off all, vbulletin staff won't help you about this issue because it is problem caused by a hack or modification, not with vbulletin core.

        But here is a tip


        are you sure that this path is correct?


        • #5
          Yes - should be correct. Any other ideas? i'm desperated over this problem


          • #6
            Remeber if you are on a Linux server all files/folder names/locations are case sensitive.
            Kind regards,
            Microsoft Office Discussion


            • #7
              Well yes but I don't know what could have happened.
              I haven't really changed anything except for installing the add-on "allow html for usergroups" and connecting the forum with vbbridge, but I have uninstalled the add-on already and it had been working like that before but I did not change any files.


              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.