Is this a server error or a php error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • halfpint
    GFY's Halfpint
    • Jun 2007
    • 15223

    #1

    Is this a server error or a php error

    Keep getting this error when i am trying to make changes to my templates and updating links ect then updating the cache. I have never had this problem before and havent changed any perrmissions on files/folders

    Warning: fopen(cache/var_cache.php) [function.fopen]: failed to open stream: Permission denied in /home/xxxxxxx/public_html/functions/var_cache.php on line 76

    anybody know

    thanks

    Get FREE website listings on Cryptocoinshops.net
  • Headless
    Registered User
    • Jan 2001
    • 26727

    #2
    ill take a guess and say server error because "permission denied"....


    ;)

    now signup for my cams and send me some traffic

    Comment

    • StuartD
      Sofa King Band
      • Jul 2002
      • 29903

      #3
      PHP error. It doesn't have the proper user permissions to open that file.

      In a sense, it's both. It's PHP generating the error, but it's your server which is not allowing PHP to open the file. So the file needs the proper user/group permissions or chmod settings (such as 777).
      Last edited by StuartD; 12-11-2008, 01:19 PM.
      This is me on facebook
      This is me on twitter

      Comment

      • marcjacob
        Confirmed User
        • Jun 2003
        • 1063

        #4
        edit as I posted the same as StuartD at the same time
        Free Site Express GFY Launch Offer
        Gay Demo Video - Straight Demo Video
        Icq: 191127710 Email: [email protected]

        Comment

        • halfpint
          GFY's Halfpint
          • Jun 2007
          • 15223

          #5
          Originally posted by Headless
          ill take a guess and say server error because "permission denied"....


          ;)

          now signup for my cams and send me some traffic
          lol

          thanks Headless

          Get FREE website listings on Cryptocoinshops.net

          Comment

          • Headless
            Registered User
            • Jan 2001
            • 26727

            #6
            Originally posted by StuartD
            PHP error. It doesn't have the proper user permissions to open that file.

            In a sense, it's both. It's PHP generating the error, but it's your server which is not allowing PHP to open the file. So the file needs the proper user/group permissions or chmod settings, such as 777).
            So... server error... :P

            Comment

            • halfpint
              GFY's Halfpint
              • Jun 2007
              • 15223

              #7
              Originally posted by StuartD
              PHP error. It doesn't have the proper user permissions to open that file.

              In a sense, it's both. It's PHP generating the error, but it's your server which is not allowing PHP to open the file. So the file needs the proper user/group permissions or chmod settings (such as 777).
              havent changed any file permissions or folder permissions and have never had any probs with this before so I guess its must be the server as Headless said

              thanks

              Get FREE website listings on Cryptocoinshops.net

              Comment

              Working...