tulisan
Forum Replies Created
-
Forum: Plugins
In reply to: [PHP Snippets] [Plugin: PHP Snippets] Directory is not executable! errorthose directories and everything under them are all set to 777 as well.
Forum: Plugins
In reply to: [PHP Snippets] [Plugin: PHP Snippets] Directory is not executable! errorHi! I have deactivated the plugin temporarily. Below are my responses to your questions.
1. I’m running version 0.8 of the plugin
2. I created a subfolder (snippets) right under the website’s folder, put in a PHP page that displays what getcwd() returns and put that in the plugin’s setting: /var/www/clients/client3/web22/web/snippets/
3. I’m running LinuxI have also configured the subfolder to for all kinds of access: 777 and that includes the only file there right now, which is the PHP file I mention above.
I hope that sheds light on the matter.
Forum: Plugins
In reply to: [PHP Snippets] [Plugin: PHP Snippets] Directory is not executable! errorI’m getting these errors after activating the plugin:
Warning: scandir(/var/www/clients/client3/web22/web/snippets/..) [function.scandir]: failed to open dir: Permission denied in /var/www/clients/client3/web22/web/wp-content/plugins/php-snippets/includes/PHP_Snippet_Functions.php on line 171
Warning: scandir() [function.scandir]: (errno 13): Permission denied in /var/www/clients/client3/web22/web/wp-content/plugins/php-snippets/includes/PHP_Snippet_Functions.php on line 171
Warning: Invalid argument supplied for foreach() in /var/www/clients/client3/web22/web/wp-content/plugins/php-snippets/includes/PHP_Snippet_Functions.php on line 172
Any fix for these?
i found a solution. it has something to do with how the pdf files were created. using a texture as a background image was the culprit. had to go back to ms word, remove the texture, put it back in as a watermark and then export it to pdf.
that did the trick!
Hi Kevin!
I think I have found out what’s causing the problem. GDE seems to be having a problem displaying protected PDF files properly, regardless of whether you’re using 40-bit or 128-bit encryption. When I remove the PDF file’s security settings, it gets displayed properly. Is there a way to tweak the plugin’s settings to make it display secured PDF files correctly?
Hi Kevin!
I sent you an email with two png file attachments (screenshots).
Let me know if you need anything else.
Thanks!
Hi k3davis!
It doesn’t work on Google Viewer as well.
What’s funny is that it works on my local machine using my local copy of wordpress (the links point to the online version of the pdf).