cyclonecode
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom PHP Settings] WordPress Memory SizeThe above settings is what is set in WordPress and this does not mean that this is what is being used.
The “Memory limit” above comes from the following constant WP_MEMORY_LIMIT defined in wp-includes/default-constants.php.
To change the memory limit you should add something like this in the editor and make sure you have checked the “Update configuration file” checkbox before saving:memory_limit=64M
Try going to wp-admin/tools.php?page=custom-php-settings&tab=settings and see what memory_limit is set to in the table.
Would also be good if you could copy the entire configuration from the status page and not only the “WordPress” section and email me, which would make it easier for me to help you with this.
Forum: Plugins
In reply to: [Custom PHP Settings] max_execution_time not workingThis seems very strange? What PHP version are you running?
Can you please go to the status page and copy you settings and add them to this issue.Forum: Plugins
In reply to: [Custom PHP Settings] Set PHP Time Limit to 600Hello
You should be able to add the following value in the editor and save your settings:
max_execution_time=600
The above will set the time limit to 600 (10 minutes).
Forum: Plugins
In reply to: [Cision Block] Can’t set max count higher than 100@doghustler Now I have released a Pro version which support fetching all news Cision during a specific cron interval. This also comes with alot of extended functionalities and improvments as well as support for PUSH events from Cision.
Let me know if this is something you would be interested in.Regards,
KristerNope, here is why this is not working as it should in cases where max_execution_time is set to -1 the configuration:
https://www.ads-software.com/support/topic/the-plugin-wont-work-2/#post-14535451
Forum: Plugins
In reply to: [String locator] The plugin won’t workThe reason this is not working is because the max_execution_time is set to -1 and the following code:
$this->max_execution_time = absint( ini_get( 'max_execution_time' ) );
will parse this as 1 and not -1.
Then later in the code you have this:
function nearing_execution_limit() { // Max execution time is 0 or -1 (infinite) in server config if ( 0 === $this->max_execution_time || - 1 === $this->max_execution_time ) { return false; }
Of course the condition above will never be true when max_execution_time is set to -1.
This is exactly the same problem:
https://www.ads-software.com/support/topic/the-maximum-time-your-server-allows-a-script-to-run-1-is-too-low-for-the-plugi/Forum: Plugins
In reply to: [Custom PHP Settings] max_execution_time = -1Try adding some other setting like memory_limit=128M or similar and see if this works. If you add some other setting and it works as it should, then most probably the max_execution_time is set to (-1) somewhere else, perhaps in another plugin?
Also, the -1 means that there is not limit for the execution time at all.You can also join my slack channel and I might be able to help you more with this:
slackForum: Plugins
In reply to: [Custom PHP Settings] max_execution_time = -1Check if this file is updated:
/home/aimvastc/public_html/ecatalog/.user.ini
You can also try to ask your hosting provider if you are allowed to override PHP ini directives.
You could also try to just add a set_time_limit(300); in you wp-config.php and see if this has any effect.
Forum: Plugins
In reply to: [Custom PHP Settings] max_execution_time = -1When you click “Save settings” in the editor do you get a notification box at the top of the page with a message like “Settings updated and stored in /usr/local/var/www/wp/.htaccess.”?
It would also be good if you could tell me which version of Custom PHP Settings you are currently using and also copy the information from the status page located at:
wp-admin/tools.php?page=custom-php-settings&tab=status
Forum: Plugins
In reply to: [Custom PHP Settings] max_execution_time = -1Hello
Can you verify that you .htaccess file is being updated as it should e.g you should have a section in this file looking something like this:
# BEGIN CUSTOM PHP SETTINGS php_value max_execution_time 300 # END CUSTOM PHP SETTINGS
Looking on you screenshot it seems like the changes doesn’t take effect. Perhaps you have some other override for
max_execution_time
for instance in youwp-config.php
file?The max_execution_time can be changed by doing
set_time_limit(-1);
So I am thinking perhaps that this is done in you wp-config.php file or perhaps by some other plugin?
Forum: Plugins
In reply to: [Cision Block] Dom engelska inl?ggen kommer inte med i feedenAfter looking on the feed I realised that no LanguageVersions for ‘en’ was available so I told that they should ask Cision if they had a separate id for the english feed wich was correct.
Forum: Plugins
In reply to: [Cision Block] Category not showing up in WPIf this is really important for you, try contacting me via email and perhaps we can figure out some solution for this: [email protected] you can also join the slack channel and send me a PM and I’ll probably respond much quicker than on the support issues here: https://join.slack.com/t/cyclonecode/shared_invite/zt-6bdtbdab-n9QaMLM~exHP19zFDPN~AQ
Forum: Plugins
In reply to: [Custom PHP Settings] Error instalar plugin WooCommerceHello
I guess you can try to install custom-php-settings and then in the editor try to increase the max_execution_time like so:
max_execution_time=240
Although it seems pretty strange that you should not be able to install/update the plugin during 2 minutes? Thinking that something else might be misconfigured in your environment.
Regards
Forum: Plugins
In reply to: [Cision Block] Category not showing up in WPHello
At this point, no categories is created in WordPress, but this could be a nice feature to add. Should be pretty easy to add a checkbox in the configuration page which can be used to enable creation of categories based on the JSON response from Cision, but I will most likely add this at the same time as I add support to create custom posts for each feed item in WordPress.
I will open a ticket for this in github: https://github.com/Cyclonecode/cision-blockRegards
Forum: Plugins
In reply to: [Custom PHP Settings] Locked Out!closing ticket due to lack of response