Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Fatal error: main() [function.require]: Failed opening required 'links.inc' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/xxx.com/httpdocs/modules/links/links.module on line 16
Anatsim, I notice that you've posted a number of bug reports to various projects all boiling down to the same issue: it appears that your web server is set up to look in the wrong directory for 'included' files by default. You might double-check your server setup, perhaps your PHP configuration, to make sure that something isn't goofed up. It seems suspicious that ALL these modules would all demonstrate the same bug in this way...
This doesn't directly address your include path problem (which I agree with others is probably environmental rather than within the module), but be aware that the version you downloaded was an alpha-level release. That doesn't make life any easier. The first beta was committed to CVS HEAD last night, so you should definitely update, regardless of other problem-solving steps you take with your hosting provider.
Where does this issue stand? I have the modules working fine here, with the latest DRUPAL-4-7 version from CVS. It sounds like a problem with your local PHP configuration's include path. Please let us know status. Thanks.
Comments
Comment #1
eaton commentedWorking fine here. Can you be more specific about what problem you're encountering?
Comment #2
Anatsim commentedFatal error: main() [function.require]: Failed opening required 'links.inc' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/xxx.com/httpdocs/modules/links/links.module on line 16
Comment #3
drewish commentedCSV? or do you mean CVS? either way by that error message you provided it looks like you don't have a complete installation.
Comment #4
Anatsim commentedYes, CVS.
I have complete version, but include is looking for file in another directory.
Comment #5
syscrusher commentedThe links.inc file and all the modules from Links Bundle should be in the same directory. Don't relocate the include file elsewhere.
Scott
Comment #6
eaton commentedAnatsim, I notice that you've posted a number of bug reports to various projects all boiling down to the same issue: it appears that your web server is set up to look in the wrong directory for 'included' files by default. You might double-check your server setup, perhaps your PHP configuration, to make sure that something isn't goofed up. It seems suspicious that ALL these modules would all demonstrate the same bug in this way...
Comment #7
Bèr Kessels commentedComment #8
syscrusher commentedThis doesn't directly address your include path problem (which I agree with others is probably environmental rather than within the module), but be aware that the version you downloaded was an alpha-level release. That doesn't make life any easier. The first beta was committed to CVS HEAD last night, so you should definitely update, regardless of other problem-solving steps you take with your hosting provider.
Scott (Syscrusher)
Comment #9
syscrusher commentedPlease disregard my last post. It was another module that I updated last night.
Sorry for the error.
Scott
Comment #10
syscrusher commentedWhere does this issue stand? I have the modules working fine here, with the latest DRUPAL-4-7 version from CVS. It sounds like a problem with your local PHP configuration's include path. Please let us know status. Thanks.
Syscrusher
Comment #11
syscrusher commentedFrom all indications, this was an environment issue and not a Links bug. Will reopen if otherwise.