Current location: Hot Scripts Forums » Programming Languages » PHP » "stat failed"


"stat failed"

Reply
  #1 (permalink)  
Old 11-21-04, 12:15 PM
kurdapya kurdapya is offline
Newbie Coder
 
Join Date: Dec 2003
Location: philippines
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Angry "stat failed"

Hi PHP guys..
i've been getting like these when i uploaded a file to the server..
but when i tried it on my localhost... i dont get error like these..

what might be the problem?

Warning: stat failed for D:\My Pictures\bebo.jpg (errno=2 - No such file or directory) in /home/httpd/vhosts/ibaan.net/httpdocs/sql_join.php on line 97

Warning: Unable to open 'D:\My Pictures\bebo.jpg' for reading: No such file or directory in /home/httpd/vhosts/ibaan.net/httpdocs/sql_join.php on line 134
Reply With Quote
  #2 (permalink)  
Old 11-21-04, 12:46 PM
nekeno12 nekeno12 is offline
Wannabe Coder
 
Join Date: May 2004
Location: CO
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
You're calling a directory that doesn't exist. If you're talking about your web server, most likely it's linux. You call a directory starting with /

i.e. /home/foldername/www/subfolder

check your folder path
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 05:16 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.