LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-17-2003, 03:10 AM   #1
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Rep: Reputation: 32
SQL contection error


Hi people
I have created my first SQL database
you can view full post here.

http://www.diywebserver.com/yabbse/i...10762#msg10762

this is the error i get.

Fatal error: main(): Failed opening required '' (include_path='.;c:\php4\pear') in c:\inetpub\wwwroot\data_info.php on line 1

Can any one help me out please.

merry xmas to all

TT

Update i got.
<?php require_once('connections/phptest.php'); ?>

Last edited by tommytomato; 12-17-2003 at 08:23 AM.
 
Old 12-18-2003, 03:51 AM   #2
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
I guess u wuill get more answers if this post was in the programming forum or the general forum. Ask a moderator to shift this post.

Regards.
 
Old 12-18-2003, 04:58 AM   #3
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
Thanks mate...

I did find out how to do it...

TT
 
Old 12-18-2003, 06:03 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Sounds to me like you need to chmod the file. You typically see these errors when Apache can see its a PHP file but can't actually open it.
Code:
chmod 644 filename.php
should sort you out

And I'll move the thread for you

cheers

Jamie...
 
Old 12-18-2003, 06:08 PM   #5
tommytomato
Member
 
Registered: Nov 2003
Location: Narrogin Western Australia
Distribution: GUI Ubuntu 14.0.4 - Server Ubuntu 14.04.5 LTS
Posts: 963

Original Poster
Rep: Reputation: 32
nar it was the path, that was missing.

Code:
<?php require_once('Connections/phptest.php'); ?>

tommytomato
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sql error cant register on the gentoo forum ramraid Linux - Newbie 2 11-02-2005 02:40 AM
php trying to connect to local sql, error no such database feetyouwell Programming 11 02-08-2005 12:25 PM
SQL Startup error : Error while setting value '@MYSQL_TCP_PORT@' to 'port' glenn69 Linux - Newbie 1 08-07-2004 11:08 PM
SQL error help oar Linux - Software 1 12-09-2003 02:09 AM
SQL MD5 checksum error GabeF Linux - Software 1 11-17-2002 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration