FreePgs.com Forum
June 13, 2021, 08:11:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: LVCS.NET offers low cost domain registration services.
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Permission Denied, We can't make image upload forms???  (Read 3032 times)
sixthcrusifix
Sage
Verified Account
Sr. Member
*

Karma: +0/-3
Offline Offline

Posts: 445


http://sixthcrusifix.com/home/

Blog entries (0)

View Profile WWW
« on: January 29, 2007, 07:55:18 PM »

Okay, I figured out my old problem. Chmod permissions. What I don't get, why an image upload script works on one part of my site and not another. I've literally chmoded every single part of my site to 777 and I'm getting this:

Warning: copy(/fpgs/fpgshttpd/sixthcrusifix/home/images/artwork/digital/1170121693cool.jpg) [function.copy]: failed to open stream: Permission denied in /fpgs/fpgshttpd/sixthcrusifix/editor/process.php on line 161
« Last Edit: January 29, 2007, 08:49:35 PM by sixthcrusifix » Logged

Visite me website at http://www.sixthcrusifix.com
bonehead
Verified Account
Full Member
*

Karma: +4/-2
Offline Offline

Posts: 178

Blog entries (0)

View Profile WWW
« Reply #1 on: January 29, 2007, 11:28:14 PM »

Only chmod scripts to the least they can work with. 755 is a good chmod use 644 for scripts that just get called. chmod folders and files that get written to, to 777

I learned this the hard way Smiley
Logged
FreePgs.com Forum
« Reply #1 on: January 29, 2007, 11:28:14 PM »

 Logged
lotsofish
Verified Account
Jr. Member
*

Karma: +1/-0
Offline Offline

Posts: 39

Blog entries (0)

View Profile WWW
« Reply #2 on: February 09, 2007, 02:16:15 AM »

Are you using enctype='multipart/form-data' ?

Logged

bonehead
Verified Account
Full Member
*

Karma: +4/-2
Offline Offline

Posts: 178

Blog entries (0)

View Profile WWW
« Reply #3 on: February 09, 2007, 04:05:30 AM »

What does that have to do with php scripts? that is html...
Logged
FreePgs.com Forum
« Reply #3 on: February 09, 2007, 04:05:30 AM »

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!