Permission error on 4images gallery after server change

Discussion in 'PHP' started by ian_batten, Oct 3, 2007.

  1. #1
    Hi guys,
    Since moving to a VPS, I can't seem to upload or change anything on my 4images gallery.
    When I try to ad a category, I get the following error:

    Warning: mkdir() [function.mkdir]: Permission denied in /home/user/public_html/admin/categories.php on line 84
    
    Warning: mkdir() [function.mkdir]: Permission denied in /home/user/public_html/admin/categories.php on line 87
    
    Warning: mkdir() [function.mkdir]: Permission denied in /home/user/public_html/admin/categories.php on line 84
    
    Warning: mkdir() [function.mkdir]: Permission denied in /home/user/public_html/admin/categories.php on line 87
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/user/public_html/admin/categories.php:84) in /home/user/public_html/includes/functions.php on line 114
    Code (markup):
    Any ideas what is causing this?
    Thanks in advance!
     
    ian_batten, Oct 3, 2007 IP
  2. phantomddl

    phantomddl Well-Known Member

    Messages:
    2,856
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    Articles:
    15
    #2
    make sure you chmod 777 the required files
     
    phantomddl, Oct 3, 2007 IP
  3. ravish_83

    ravish_83 Peon

    Messages:
    221
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes your file "/home/user/public_html/admin/categories.php"

    needs to have 777 permission.
     
    ravish_83, Oct 3, 2007 IP