Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Web Server - File Permissions

Options
  • 31-07-2011 2:33pm
    #1
    Registered Users Posts: 8,004 ✭✭✭


    Hi Folks,

    Been tearing my hair out over this for the past few hours. I'm using a Hosting365 Linux cluster. I'm running a script that generates an image (phpmathpublisher)

    Was working with the demos and everything was going well. It then began to work sporodically and stopped working this morning. It appears it generates an image but if you make the same equation again, it calls it from memory (i.e. It stores all past equations in a "img" folder)

    What I can do now is call equations that I had before i.e. B squared however when I make say B cubed, I get no valid return. The function should return:
    <img src="img/math_994_7e4dd8324ca16f11a8be360b2dc47ee5.png" style="vertical-align:-6px; display: inline-block ;" alt="b^2" title="b^2"/> 
    

    Works fine for stuff I've done before but now when I do something new, it still returns this but no image. Going through by FTP the new image file is there and valid, but I can't view it. Hosting365 returns a "File not found message" even though I can view it on the control panel itself!

    Images I can view have 0775 permissions. All new images are being made as 0600 permissions. The script itself runs at 0775 permissions.

    Pretty lost to say the least. Any help appreciated.


Comments

  • Moderators, Technology & Internet Moderators Posts: 1,335 Mod ✭✭✭✭croo


    permission are just one side of the equation - with respect to access. Double check the file owner & group are as expected too!


  • Registered Users Posts: 6,509 ✭✭✭daymobrew


    Look at the web server logs. It should list errors that can help find out where the problems are.
    You can use that information to contact Hosting365 Support. They should know if something changed recently.


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Hosting specific questions are for that companies tech support. Please read the forum charter regarding such questions.


This discussion has been closed.
Advertisement