Ciao121
Forum Replies Created
-
Blanston,
have you tried to change the value in that code:
@ini_set(‘memory_limit’, ‘128M’);
in wp-content/plugins/wordfence/wordfence.php?Sorry, the last sentence had to be:
That code, for some reason, seems to be fired also if I have 512M as memory_limit both as LOCAL and MASTER VALUE in phpinfo().
So in wordpress I’m stuck at 128.Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedThank you for your assistance and patience π
Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedFIND OUT!!!!
I’m using a plugin that has those lines:if(! defined('WORDFENCE_VERSIONONLY_MODE')){ //Used to get version from file. if((int) @ini_get('memory_limit') < 128){ if(strpos(ini_get('disable_functions'), 'ini_set') === false){ @ini_set('memory_limit', '128M'); //Some hosts have ini set at as little as 32 megs. 64 is the min sane amount of memory. } } require_once('lib/wordfenceConstants.php'); require_once('lib/wordfenceClass.php'); wordfence::install_actions(); }
For some reason I’ll find, @ini_set(‘memory_limit’, ‘128M’) is fired also if @ini_get(‘memory_limit’) > 128)…
Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedYes, wordpress can send email. Anyway I tried your script and email was succesfully sent. So I have no error in email log. I just have sent confirmation:
“Feb 8 21:06:08 xxxxxxxxxx postfix/smtp[24258]: AA341A02CF: to=<xxxxxx@xxxxxxxx.com>, relay=smtp-in.xxxxxx.it[xxx.xxx.xxx.xxx]:25, delay=0.78, delays=0.09/0/0.17/0.53, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 2CCFD251474)”I don’t think the error is related to the plugin. The problem is why isn’t WP taking my memory limit changes? O_o
Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedI don’t think it’s not related to sending rate. The error shows up with no email been sent. Anywy actual setting is very low (30 mail per minute). And I used it with 30.000 email with no problem. I think it’s related to the initial queueing with >100.000 receivers.
I tried another thing; I have a plugin that I allow to execute php in a page/post.
I made a single page that only executes phpinfo(). Everything is like the standalone phpinfo. BUT again, memory_limit LOCAL VALUE is 128 if executed in the wordpress page and 512 in the standalone version.Tried also
<IfModule mod_php5.c>
php_value memory_limit 512M
</IfModule>But no luck :/
Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedThis is really driving me crazy π
phpinfo tells me:
Configuration File (php.ini) Path: /etc/php5/cgi
Loaded Configuration File: /var/www/conf/web1/php.ini
Tried to change memory_limit in both but wordpress always uses 128.Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedI have 32 GB. It happens with a newsletter plugin. I think it happens when it tries to build the email to sens queue. Maybe becaue many users (I have > 100.000).
[Mon Feb 08 19:09:59.584654 2016] [fcgid:warn] [pid 10971] [client 87.11.220.121:59960] mod_fcgid: stderr: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /var/www/clients/client1/web1/web/wordpress/wp-content/plugins/myMail/classes/queue.class.php on line 121.
Tried .htaccess tip but didn’t worked
Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedIt’s a dedicated server. I manage it.
It seems (strange) like wordpress is loading settings from a different php.ini than phpinfo(). I’m looking for a way to get the php.ini file used inside wordpress (ifit is possible it uses a different one…)
Forum: Fixing WordPress
In reply to: WP_MEMORY_LIMIT not appliedYes I cleared my cache.
I display WP limit value from a pluging debugger. It uses ini_get( ‘memory_limit’ ). Don’t know if phpinfo() uses does it same way.
I think it’s related to my hosting CP (IspConfig). I’m going to try php ini edits directly.And this is for sure the value WP is using (because I get “Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes)” errors).
Forum: Plugins
In reply to: [Frontend Uploader] AJAX Progress BarThis plugin dos exactly what i need π
But I also need the progress bar πForum: Plugins
In reply to: [Wordpress File Upload] Allowed memory sizeYes it’s installed; the problem is if I try to edit a WFU instance.
When I installed the plugin I probably had 20/30k users and I had no problems. After that I updated the plugin with no problem. If you think it’s useful I can uninstall it and try to reinstall…Forum: Plugins
In reply to: [Wordpress File Upload] Allowed memory sizeHi nick. I have 3.7.1. The problem started not recently but I had no time to ask before. So probably it was also with a previous version.
I saw I had the proble with another plugin (maybe due the registered users growth… I have 100.000).
Changing the memory_limit value to 512M solved the probleb for the other plugin… but not for this one.Forum: Plugins
In reply to: [Ad Blocker Notify Lite] AdBlock plus user filtersSorry to bother you, but I did not understand your answer. Or maybe my question was not clear… I try to explain better.
If I (logged in or not.. this makes not difference) add to AdBlocker plus a custom filter (“example.com#@##adsense”), when I load a page the ads it’s not displayed but Adblock Notify does not thake any action (popup or redirect). I do not understand how this is related to current_user_can( ‘manage_options’ ).
Forum: Plugins
In reply to: [Ad Blocker Notify Lite] Compiant… to what?Thanks!