[Plugin: W3 Total Cache] – 500 Internal Server Error..
-
Hi, fredericktownes
First of all thanks for your support on W3TC.I like it a lot !My site is : Ezzal – Free Online Games
I was using the W3 Total Cache Beta version with WordPress 3 that I got from your mail.And just today I noticed the new version notice, so I tried to upgrade it automatically and It asked me to overwrite the .htaccess file. So I did..
but now I’m getting “500- Internal Server Error” all around my site.
Then I tried to change the .htaccess back to default and used Disk Cache for page cache and it works normally.
It shows error only when I use “Disk Enhanced” method.I tried to edit the contents of .htacess manually too.. same problem.
Can you please help me to solve this ? I used “Disk Enhanced” method without any problem with the “beta” version.. so I want to use the “Enhanced” method again.I know that my server supports it. I use a VPS from https://www.vps.net
Please help.
Thank you.
I noticed this block in htaccess is giving error (used for Enhanced mode ?)
# BEGIN W3TC Page Cache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_USER_AGENT} (iPhone|iPad|iPod|Android|BlackBerry9530|LG-TU915 Obigo|LGE VX|webOS|Nokia5800) [NC] RewriteRule .* - [E=W3TC_UA:_touch] RewriteCond %{HTTP_USER_AGENT} (2.0 MMP|240x320|ASUS|AU-MIC|Alcatel|Amoi|Audiovox|AvantGo|BenQ|Bird|BlackBerry|Blazer|CDM|Cellphone|DDIPOCKET|Danger|DoCoMo|Elaine/3.0|Ericsson|EudoraWeb|Fly|HP.iPAQ|Haier|Huawei|IEMobile|J-PHONE|KDDI|KONKA|KWC|KYOCERA/WX310K|LG|LG/U990|Lenovo|MIDP-2.0|MMEF20|MOT-V|MobilePhone|Motorola|NEWGEN|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Novarra|O2|Opera Mini|Opera.Mobi|PANTECH|PDXGW|PG|PPC|PT|Palm|Panasonic|Philips|Playstation Portable|ProxiNet|Proxinet|Qtek|SCH|SEC|SGH|SHARP-TQ-GX10|SPH|Sagem|Samsung|Sanyo|Sendo|Sharp|Small|Smartphone|SoftBank|SonyEricsson|Symbian|Symbian OS|SymbianOS|TS21i-10|Toshiba|Treo|UP.Browser|UP.Link|UTS|Vertu|WILLCOME|WinWAP|Windows CE|Windows.CE|Xda|ZTE|dopod|hiptop|htc|i-mobile|nokia|portalmmm|vodafone) [NC] RewriteRule .* - [E=W3TC_UA:_mobile] RewriteCond %{HTTPS} =on RewriteRule .* - [E=W3TC_SSL:_ssl] RewriteCond %{SERVER_PORT} =443 RewriteRule .* - [E=W3TC_SSL:_ssl] RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=W3TC_ENC:.gzip] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail)\.php|wp-.*\.php|index\.php|submit-a-game|contact-us) [NC,OR] RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC] RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC] RewriteCond "/home/ezzalco/public_html/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" -f RewriteRule (.*) "/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" [L] </IfModule> # END W3TC Page Cache
Compatibility check shows this
===============================Server Modules & Resources: PHP Version: 5.2.9 PHP Timezone: Not set Web Server: Apache FTP functions: OK (required for Self-hosted (FTP) CDN support) Multibyte String support: OK (required for Rackspace Cloud Files support) cURL extension: OK (required for Amazon S3 support) zlib extension: OK (required for compression support) Opcode cache: Not installed Memcache extension: Not installed Mime type detection: Mimetype Hash function: hash (required for NetDNA purge support) Safe mode: Off Open basedir: Off zlib output compression: Off mod_mime: Not detected mod_expires: Not detected mod_deflate / mod_gzip: Not detected mod_headers: Not detected mod_env: Not detected mod_setenvif: Not detected mod_rewrite: Not detected WordPress Resources /home/xxxx/public_html/wp-content: Write-able /home/xxxx/public_html/.htaccess Write-able Uploads directory: Write-able WP_CACHE define: OK Fancy permalinks: OK Network mode: Off
This is the htaccess code block that I before (beta version)
# BEGIN W3TC Page Cache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register|mail)\.php|wp-.*\.php|index\.php) [NC,OR] RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC] RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC] RewriteCond %{HTTP_USER_AGENT} (2\.0\ MMP|240x320|ASUS|AU-MIC|Alcatel|Amoi|Audiovox|AvantGo|BenQ|Bird|BlackBerry|Blazer|CDM|Cellphone|DDIPOCKET|Danger|DoCoMo|Elaine/3\.0|Ericsson|EudoraWeb|Fly|HP\.iPAQ|Haier|Huawei|IEMobile|J-PHONE|KDDI|KONKA|KWC|KYOCERA/WX310K|LG|LG/U990|Lenovo|MIDP-2\.0|MMEF20|MOT-V|MobilePhone|Motorola|NEWGEN|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Novarra|O2|Opera\ Mini|Opera\.Mobi|PANTECH|PDXGW|PG|PPC|PT|Palm|Panasonic|Philips|Playstation\ Portable|ProxiNet|Proxinet|Qtek|SCH|SEC|SGH|SHARP-TQ-GX10|SPH|Sagem|Samsung|Sanyo|Sendo|Sharp|Small|Smartphone|SoftBank|SonyEricsson|Symbian|Symbian\ OS|SymbianOS|TS21i-10|Toshiba|Treo|UP\.Browser|UP\.Link|UTS|Vertu|WILLCOME|WinWAP|Windows\ CE|Windows\.CE|Xda|ZTE|dopod|hiptop|htc|i-mobile|nokia|portalmmm|vodafone) [NC] RewriteRule .* - [E=W3TC_UA:_mobile] RewriteCond %{HTTP_USER_AGENT} (iPhone|iPad|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800) [NC] RewriteRule .* - [E=W3TC_UA:_touch] RewriteCond %{HTTPS} =on RewriteRule .* - [E=W3TC_SSL:_ssl] RewriteCond %{SERVER_PORT} =443 RewriteRule .* - [E=W3TC_SSL:_ssl] RewriteCond %{HTTP:Accept-Encoding} gzip RewriteRule .* - [E=W3TC_ENC:.gzip] RewriteCond "/home/amint/public_html/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" -f RewriteRule (.*) "/wp-content/w3tc/pgcache/$1/_index%{ENV:W3TC_UA}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}" [L] </IfModule> # END W3TC Page Cache
AND I noticed this sometimes in the error log.. maybe 3-4 times per day with beta release and now more often.
[23-Jul-2010 11:52:41] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 266990 bytes) in /home/xxx/public_html/wp-content/plugins/w3-total-cache/inc/define.php on line 223
Please tell me about that too.
- The topic ‘[Plugin: W3 Total Cache] – 500 Internal Server Error..’ is closed to new replies.