SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict smcausland's Avatar
    Join Date
    Jul 1999
    Location
    Victoria, BC, Canada
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple php problem?

    I am trying to get sendcard3 up and running on my stie but get the following error
    when trying to edit info of the main page. If anyone is familiar with this script and can
    help me out it would be much appreciated.


    Warning: fopen("config.php","w+") - Permission denied in
    /home/treeline/public_html/sendcard/admin/setup.php on line 26

    Warning: Supplied argument is not a valid File-Handle resource in
    /home/treeline/public_html/sendcard/admin/setup.php on line 27

    Warning: Supplied argument is not a valid File-Handle resource in
    /home/treeline/public_html/sendcard/admin/setup.php on line 28

    Thanks,
    Steve C. McAusland
    http://www.treelinestudio.com/

  2. #2
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The clue's in the error message:

    Warning: fopen("config.php","w+") - Permission denied in
    /home/treeline/public_html/sendcard/admin/setup.php on line 26


    You need to CHMOD the config.php file so that the sript can write it. If you don't know what that means look up CHMOD in your FTP program's help file, or look up "chmod tutorial" on google

  3. #3
    SitePoint Addict smcausland's Avatar
    Join Date
    Jul 1999
    Location
    Victoria, BC, Canada
    Posts
    233
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks. A case of not being able to see the trees for the forest.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •