473,397 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

what does this error message mean?

Fatal error: main() [function.require]: Failed opening required
'Connections/gnc.php' (include_path='.:/usr/local/lib/php') in /
homepages/htdocs/temp2/online/webcontrol/index.php on line 1

Sep 6 '07 #1
3 1360
ha****@etleb.com wrote in news:1189106552.434944.189890
@r29g2000hsg.googlegroups.com:
Fatal error: main() [function.require]: Failed opening required
'Connections/gnc.php' (include_path='.:/usr/local/lib/php') in /
homepages/htdocs/temp2/online/webcontrol/index.php on line 1

it means your script didn't find "Connections/gnc.php"

Sep 6 '07 #2
On Thu, 06 Sep 2007 21:27:33 +0200, Good Man <he***@letsgo.comwrote:
ha****@etleb.com wrote in news:1189106552.434944.189890
@r29g2000hsg.googlegroups.com:
>Fatal error: main() [function.require]: Failed opening required
'Connections/gnc.php' (include_path='.:/usr/local/lib/php') in /
homepages/htdocs/temp2/online/webcontrol/index.php on line 1
it means your script didn't find "Connections/gnc.php"
Most likely, or it didn't have the rights.

Most probably the working directoty is not the one you expect it to be.
echo get_cwd(), your require should be absolute (like /home/path/to/file),
or relative to that working dir or the include_path

--
Rik Wasmus
Sep 6 '07 #3
On Sep 6, 12:45 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
On Thu, 06 Sep 2007 21:27:33 +0200, Good Man <he...@letsgo.comwrote:
hak...@etleb.com wrote in news:1189106552.434944.189890
@r29g2000hsg.googlegroups.com:
Fatal error: main() [function.require]: Failed opening required
'Connections/gnc.php' (include_path='.:/usr/local/lib/php') in /
homepages/htdocs/temp2/online/webcontrol/index.php on line 1
it means your script didn't find "Connections/gnc.php"

Most likely, or it didn't have the rights.

Most probably the working directoty is not the one you expect it to be.
echo get_cwd(), your require should be absolute (like /home/path/to/file),
or relative to that working dir or the include_path

--
Rik Wasmus

thanx everyone for the help...

Sep 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: lkrubner | last post by:
I want to give users the power to edit files from an easy interface, so I create a form and a PHP script called "fileUpdate". It does a reasonable about of error checking and prints out some...
72
by: E. Robert Tisdale | last post by:
What makes a good C/C++ programmer? Would you be surprised if I told you that it has almost nothing to do with your knowledge of C or C++? There isn't much difference in productivity, for...
6
by: WindAndWaves | last post by:
Hi Folks I have inhereted a script that I understand reasonably well, I just do not understand !/^\d+$/.test(el.value) what the hell does that mean? Below is the script (there are really...
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
13
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
8
by: kevin | last post by:
I have a form and in the form I have a sub that uses a class I instantiate using visual basic code: Public oCP As New Rs232 'instantiate the comm port I need to share this sub with...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
13
by: Protoman | last post by:
I'm getting an error: 10 C:\Dev-Cpp\Enigma.cpp no match for 'operator<' in 'i < (+cleartext)->std::basic_string<_CharT, _Traits, _Alloc>::end ()' Code: Enigma.hpp...
6
by: Bint | last post by:
I'm getting this returned from a PHP script. What does this mean? <b>Parse error</b>: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in <b>/ho Thanks B
5
by: =?GB2312?B?17/HvyBaaHVvLCBRaWFuZw==?= | last post by:
Hi, I would like to have someone comments on what's the best practice defining error codes in C. Here's what I think: solution A: using enum pros: type safe. better for debug (some debugger...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.