Hey all,
Sorry in advance.. I tried to clean up my wiki formatting as much as I could :-/.
EC2 m1.medium
NGINX
MediaWiki 1.22.0
PHP 5.3.28 (fpm-fcgi)
PHP memory_limit 128M 128M - (UP from 64M)
MySQL 5.5.27-log
I keep receiving this error in my php error Log:
[25-Feb-2014 09:42:56 America/Denver] PHP Fatal error: Out of memory (allocated 1310720) (tried to allocate 14 bytes) in /site/domain.com/includes/AutoLoader.php on line 964
here are the settings in my Local Settings file:
if ( !defined( 'MEDIAWIKI' ) ) { exit; } $wgSitename = "XXXXXX"; $wgScriptPath = ""; ##Added for Freindly URLS ## START ## $wgArticlePath = "/$1"; $wgUsePathInfo = true; ##Added for Freindly URLS ## END ## $wgScriptExtension = ".php"; $wgServer = "http://XXXXXXXX.com"; $wgStylePath = "http://cdn.XXXXX.com/skins"; $wgLogo = "/skins/fg_wiki.png"; $wgGroupPermissions['*']['edit'] = false; $wgGroupPermissions['*']['createpage'] = false; $wgGroupPermissions['*']['createtalk'] = false; $wgGroupPermissions['user']['createpage'] = false; $wgGroupPermissions['user']['createtalk'] = false; $wgGroupPermissions['autoconfirmed']['createpage'] = true; $wgGroupPermissions['autoconfirmed']['createtalk'] = true; $wgGroupPermissions['autoconfirmed']['edit'] = true; $wgAutoConfirmAge = 86400 * 4; # Four days times 86400 seconds/day $wgEnableEmail = true; $wgEnableUserEmail = true; # UPO $wgEmergencyContact = "apache@XXX.com"; $wgPasswordSender = "apache@fXXX.com"; $wgEnotifUserTalk = false; # UPO $wgEnotifWatchlist = false; # UPO $wgEmailAuthentication = true; $wgMainCacheType = CACHE_MEMCACHED; $wgParserCacheType = CACHE_MEMCACHED; # optional $wgMessageCacheType = CACHE_MEMCACHED; # optional $wgMemCachedServers = array( "misc-xf-mcache.ajnafo.cfg.usw2.cache.amazonaws.com:11211" ); $wgSessionsInMemcached = true; $wgUseFileCache = false; $wgEnableUploads = true; $wgUseImageMagick = false; $wgMSU_ShowAutoKat = false; #autocategorisation $wgMSU_CheckedAutoKat = false; #checkbox for autocategorisation checked $wgMSU_debug = false; #debug mode $wgMSU_ImgParams = '400px'; #default max-size for inserted image $wgMSU_UseDragDrop = true; #show drag&drop area require_once "$IP/extensions/MsUpload/msupload.php"; $wgFileExtensions = array( 'bmp', 'doc', 'docx', 'flac', 'gif', 'ico', 'jpeg', 'jpg', 'mp3', 'mpp', 'odg', 'odp', 'ods', 'odt', 'ogg', 'pdf', 'png', 'ppt', 'pptx', 'ps', 'rtf', 'svg', 'swf', 'tif', 'tiff', 'xls', 'xlsx', 'xml' ); $wgFileBlacklist = array( # HTML may contain cookie-stealing JavaScript and web bugs 'html', 'htm', 'js', 'jsb', 'mhtml', 'mht', # PHP scripts may execute arbitrary code on the server 'php', 'phtml', 'php3', 'php4', 'php5', 'phps', # Other types that may be interpreted by some servers 'shtml', 'jhtml', 'pl', 'py', 'cgi', # May contain harmful executables for Windows victims 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' ); $wgMimeTypeBlacklist= array( # HTML may contain cookie-stealing JavaScript and web bugs 'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript', # PHP scripts may execute arbitrary code on the server 'application/x-php', 'text/x-php', # Other types that may be interpreted by some servers 'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh', # Windows metafile, client-side vulnerability on some systems 'application/x-msmetafile' ); $wgCheckFileExtensions = false; $wgStrictFileExtensions = true; $wgUploadSizeWarning = false; $wgUseInstantCommons = false; $wgShellLocale = "en_US.utf8"; $wgLanguageCode = "en"; $wgSecretKey = "2a1ca97dfXXXXXXXXXXXXXXXXXXXXXXXXXXXcf01491a0f138f4d82a06"; $wgUpgradeKey = "efc2XXXXXX2df4"; $wgDefaultSkin = "monobook"; $wgSkipSkins = array("vector", "cologneblue", "modern"); $wgRightsPage = ""; $wgRightsUrl = ""; $wgRightsText = ""; $wgRightsIcon = ""; $wgDiff3 = "/usr/bin/diff3"; require_once "$IP/extensions/googleAnalytics/googleAnalytics.php"; $wgGoogleAnalyticsAccount = "UA-XXXXXX-7"; $wgGoogleAnalyticsIgnoreSysops = false; $wgGoogleAnalyticsIgnoreBots = false; $wgGoogleAnalyticsAddASAC = false; require_once "$IP/extensions/MobileFrontend/MobileFrontend.php"; $wgMFAutodetectMobileView = true; require_once "$IP/extensions/WikiEditor/WikiEditor.php"; $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1; $wgDefaultUserOptions['wikieditor-preview'] = 1; $wgDefaultUserOptions['wikieditor-publish'] = 1; $everyPage=true; require_once("$IP/extensions/add-to-any-share-save/add-to-any-share-save.php"); require_once "$IP/extensions/SpamBlacklist/SpamBlacklist.php"; $wgSpamBlacklistFiles = array( "http://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1", "http://en.wikipedia.org/wiki/MediaWiki:Spam-blacklist" ); require_once( "$IP/extensions/AkismetKlik/AkismetKlik.php" ); $wgGroupPermissions['autoconfirmed']['bypassakismet'] = true; $wgGroupPermissions['sysop']['bypassakismet'] = true; $wgGroupPermissions['bot']['bypassakismet'] = true; require_once "$IP/extensions/Nuke/Nuke.php";
I removed most of the commented code and the Database info. I have tried upping the memory limit several times but nothing seems to help :-/. I have also tried disabling the mobile front end but no luck there either.
Thanks, -Bill