Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have my Drupal file setting set on "public" and my files uploading to "flies" directory with 777 permissions in my public_html directory. This is the same directory where drupal resides. I can upload files just fine and see them with my FTP program, but I cannot download the files via Drupal. I get the following error:
Forbidden
You don't have permission to access /files on this server.
My website was hacked several weeks ago and I noticed that my block which shows random thumbnails from a gallery is affected. It shows a warning such as this when I visit the gallery:
warning: is_file() [function.is-file]: Stat failed for files/images/yourdream.jpg (errno=13 - Permission denied) in /home/staywea/public_html/includes/image.inc on line 83.
I am not sure what has happened but it seems several of my pictures has been affected and only a few remains working.
Hi everybody. I try to install phpfreeChat. I read the install file did it whatever it said but It didn't work. They say that you can run a demo at: /sites/YOURSITE/modules/phpfreechat/phpfreechat/demo/
I did it but I get the next error message (any idea of how to solve it):
_Error: the chat cannot be loaded! two possibilities: your browser doesn't support javascript or you didn't setup correctly the server directories rights - don't hesitate to ask some help on the forum_ www.phpfreechat.net/forum
require_once dirname(__FILE__)."/../src/phpfreechat.class.php";
$params["serverid"] = md5(__FILE__); // calculate a unique id for this chat
$chat = new phpFreeChat($params);
Quick question on how to get Clean URLs working on my site again... I set the site up on a subdomain for testing... which went fine, and now I've moved my site to the main domain, Clean URLs don't work! I don't know why they dont as it was fine on teh subdomain... anyway, I dissabled Clean URLs, but when I run the test to find out if Clean URLs work, the page I get redirected to is just blank... any ideas? Has this anything to do with moving from the subdomain to the root domain - some setting screwed up? Any input on this would be appriciated!
I'm trying to make a classified ads section on my site using CCK and contemplates. On the node template I'm trying to insert a bit of code so that the contact email address of the ad remains anonymous. Something like "Click here to contact this seller". From this post http://drupal.org/node/60530 I used the following code