help with (include.php)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

help with (include.php)

Post by C_Calav »

dont see whats going on here, first time using a file with db connections in it.

getting these errors:

can anyone tell me whats going on? whats is the problem etc.. thanx

Warning: main(include.php): failed to open stream: No such file or directory in /var/users/modelair/modelaircraft.co.nz/htdocs/cart.php on line 2

Warning: main(include.php): failed to open stream: No such file or directory in /var/users/modelair/modelaircraft.co.nz/htdocs/cart.php on line 2

Warning: main(): Failed opening 'include.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/users/modelair/modelaircraft.co.nz/htdocs/cart.php on line 2
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

Post by C_Calav »

i think i solved it :o
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

what was the problem?
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

the file wasnt there? :P
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

But he is not sure !
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

Post by C_Calav »

im not sure what the problem was. the db.php file was deffinatley there. i think i just re-uploaded it or something like that. weird.

not saying it wasnt my fault! i musta done somthing :wink:
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

It's the php ghost, going from cpu to cpu, and ERASING bit of your code!!!!
DAMN YOU PHP GHOST
Post Reply