I have a problem with the PHP realpath always returning false how ever I pass the file path string.
By default I pass this the the realpath() “/shop/templates/default/css/reset.css”, I have also tried:
What could be causing this to break?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you sure you have the correct path? It probably doesn’t start with /shop in the filesystem.
Are your permissions correct?
realpath() requires:
realpath() doesn’t work with URLs.