View Single Post
  #1 (permalink)  
Old 01-12-2008, 19:10
stukelly stukelly is offline
Member
 
Join Date: Jul 2007
Posts: 89
Question Correct fopen Permissions

I'm having a few problems after our reseller account was transferred Linux Semi-Dedicated. A script that was working on the old server, is giving permission errors.
Code:
Warning: fopen(customers.txt) [function.fopen]: failed to open stream: Permission denied in /home/bolocl/public_html/getcustomers.php on line 51

Warning: fputs(): supplied argument is not a valid stream resource in /home/bolocl/public_html/getcustomers.php on line 54

Warning: fclose(): supplied argument is not a valid stream resource in /home/bolocl/public_html/getcustomers.php on line 55

Warning: fopen(customers.ack) [function.fopen]: failed to open stream: Permission denied in /home/bolocl/public_html/getcustomers.php on line 58

Warning: fputs(): supplied argument is not a valid stream resource in /home/bolocl/public_html/getcustomers.php on line 61

Warning: fclose(): supplied argument is not a valid stream resource in /home/bolocl/public_html/getcustomers.php on line 62
I've tried changing the permissions, but I can't seam to get the script to work correctly.

I've already contacted the support team, but would like to know if anybody else has a solution to this problem.
Reply With Quote