Hey all,
I have just installed the Mobile Front End extension. But for some reason I am just pulling up a blank page on the Mobile side only. I have tried disabling all other plugins but it still would just show a blank page.
Here is the information about my setup: (PHP & NGINX errors will be displayed below setup information)
- MediaWiki 1.22 (Upgrade DB from 1.15)
- PHP 5.3.3 (cli) (built: Feb 22 2013 02:51:11)
- Memory Limit set to 512MB
- Zend Engine v2.3.0
- MySQL 5.1.69
- Memcache is enabled with the following settings:
- $wgMainCacheType = CACHE_MEMCACHED;
- $wgParserCacheType = CACHE_MEMCACHED; # optional
- $wgMessageCacheType = CACHE_MEMCACHED; # optional
- $wgMemCachedServers = array( "misc-XXXXX.ajnafo.cfg.XXXX.cache.amazonaws.com:11211" );
- $wgSessionsInMemcached = true;
- $wgUseFileCache = false;
- Installed Extensions Include:
- MsUpload
- googleAnalytics
- MobileFrontend
- WikiEditor
- add-to-any-share-save
- SpamBlacklist
- AkismetKlik
- Nuke
Nginx Settings:
server {
listen 80;
server_name xxx.com xxx.com www.xxx.com beta.xxx.com betad.xxx.com stat.xxx.com;
root /site/xxx.com;
access_log /site/logs/access.xxxx.log main;
error_log /site/logs/error.xxxxx.log notice;
# redirect server error pages to the static page /40x.html
#
error_page 404 /404.html;
location = /40x.html {
root /usr/share/nginx/html;
}
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location ^~ /(cache|includes|maintenance|languages|serialized|tests|images/deleted)/ {
deny all;
}
location ^~ /(bin|docs|extensions|includes|maintenance|mw-config|resources|serialized|tests)/ {
internal;
}
location @rewrite {
rewrite ^/(.*)$ /index.php?title=$1&$args;
}
location / {
try_files $uri $uri/ @rewrite;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
try_files $uri /index.php;
access_log off;
log_not_found off;
expires 14d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
location = /_.gif {
access_log off;
log_not_found off;
expires 14d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
empty_gif;
}
#location /dumps {
# root /var/www/mediawiki/local;
# autoindex on;
#}
location ~ \.php$ {
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
fastcgi_cache XXXX;
fastcgi_cache_valid 200 302 30m;
fastcgi_cache_valid 301 1d;
fastcgi_cache_valid any 15m;
fastcgi_cache_min_uses 1;
fastcgi_cache_use_stale error timeout invalid_header http_500;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi.conf;
}
}
Errors:
- PHP
[16-Jan-2014 12:14:53 America/Denver] PHP Fatal error: Out of memory (allocated 5505024) (tried to allocate 262144 bytes) in /site/XXXXX.com/includes/AutoLoader.php on line 1191
[16-Jan-2014 12:11:41 America/Denver] PHP Fatal error: Call to undefined function mb_convert_encoding() in /site/XXXXX.com/includes/HtmlFormatter.php on line 66
- NGINX
2014/01/16 17:05:47 [warn] 14031#0: *4305 a client request body is buffered to a temporary file /var/lib/nginx/tmp/client_body/0000000601, client: 69.198.41.161, server: XXXXXX.com, request: "POST /api.php HTTP/1.1", host: "betad.XXXXX.com", referrer: "http://betad.XXXXX.com/index.php?title=Category:Air_Canada&action=edit"