Skip to main content
December 8, 2010
Question

behaviour "insert record" and getting an error

  • December 8, 2010
  • 1 reply
  • 436 views

Hello; When I want to insert a record in a table in the database,I get an error containing: Warning:require_once(Connections/connparanormaalplein.php) [function.require-once]:failed to open stream:No such file or directory in /home/paranorma/domains/paranormaalplein.nl/public_html/gastenboekinvoeren.php on line 1 Fatal error: require_once() [function.require]: Failed opening required 'Connections/connparanormaalplein.php' (include_path='.:/usr/local/lib/php') in /home/paranorma/domains/paranormaalplein.nl/public_html/gastenboekinvoeren.php on line 1 I have tried everything:using the wizard form insert record,using the behaviour insert record and used another table in my database to put the data in,but nothing worked. I know it's a quite simple solution,but it always is when you know the problem. Is there anyone on this planet who can help me?? many yhanks for the help!

This topic has been closed for replies.

1 reply

David_Powers
Inspiring
December 8, 2010

Igorbuitendijk wrote:

Hello; When I want to insert a record in a table in the database,I get an error containing: Warning:require_once(Connections/connparanormaalplein.php) [function.require-once]:failed to open stream:No such file or directory in /home/paranorma/domains/paranormaalplein.nl/public_html/gastenboekinv oeren.php on line 1 Fatal error: require_once() [function.require]: Failed opening required 'Connections/connparanormaalplein.php' (include_path='.:/usr/local/lib/php') in /home/paranorma/domains/paranormaalplein.nl/public_html/gastenboekinv oeren.php on line 1 I have tried everything:

Have you tried reading the error message? The reason I ask is because this question comes up so often, and most people just seem to panic when they see an error message. But that's where the answer lies.

The message tells you that it can't open Connections/connparanormaalplein.php because the file doesn't exist.

Have you uploaded Connections/connparanormaalplein.php?

If you have, it means that the path from gastenboekinv oeren.php in require_once() on line 1 is wrong. By the way, it might simply be the way that the error message has been pasted in here, but it looks as though you have a space in the filename. You should never use spaces in filenames, because it can lead to problems on Linux servers.

December 8, 2010

Hello Mr Powers,

Thank you for the replie!

The open space in the filename has ocurred when I copied and pasted it.

I have uploaded everything,all the different files,also gastenboekinvoeren.php.

In gastenboekinvoeren.php I used the "ïnsert record" behaviour  and also the

wizzard form "insert record". My database connections work well,according to

Deamweaver.

So how can I upload Connections/connparanormaalplein.php? When I insert the

application on the page,then upload the page,everything on the page is

uploaded, also Connections/connparanormaalplein.php?

December 8, 2010

Hello; I have again uploaded the file and now it works fine. For some reason it has disappeared from the server. Again learned something about reading error messages. Thanks again Mr.Powers!!