Hi! if don’t mind can you post your solution to implement a print button. Many thanks.
Hi! i have the same problem . when i add an element it keeps showing the loading circle and i cant do anything . Did you solve the problem?
I have all theme requirement checked.
i have the latest version of theme installed.
-
This reply was modified 7 years by
virjik.
Hi! where is located td_exchange.php?
Great ! Thank You!
Hi Chris !
Do you have any protection/special firewall config on your server to prevent that?
Hi!
I’ve not posted for a while because i’ve runned many tests.
Anyway the problem is far from resolved on my site.
I installed, at Chris recommendation, php 5.6, The site runs a bit quicker, but still the cpu load is high. Is not as high as with php 5.4.16 when it sky rocketed to 100% almost instantly. Now it stays on 84-92 % and after 5-10 seconds with f5 key pressed it throws 500 internal server error like before.
Any thoughts, any ideas are very welcomed.
-
This reply was modified 9 years by
virjik.
Hi Bogdan!
Until then, can you help me fix my issue?
What about php 7 Chris? Did you have the chance to test it with a live site?
-
This reply was modified 9 years by
virjik.
I’ve tried to use BETA “TD COmposer” but with same results.
Hi Chris!
I am on php 5.4.16.
Hi Bogdan!
I followed the guide and this are my settings:
max_input_vars = 5000
max_execution_time = 300
post_max_size = 50M
WP Memory Limit 128 MB/request
I’ve decativated all plugin except visual composer and wp super cache and cleared the cache.
Same as before, 500 internal server error and the cpu load is very high.
Any ideas why this is happening?
done that. Keeps crashing the server.
Thanks for your help Chris.
Over the past 3 days i’ve tried to fix that but no results.
I hope you can help me!
in wp-config i’ve set to 64mb
and on the server side 8 gb
Hi!
yep, the quotes was the problem for me. Now it works!
Did you resolve your problem?
I’ve done same modifications like in the post above but the “chinese” strange characters won’t dissapear.
Could you help me?
My site is realitateaoltului.ro
I don’t use CDN.
Hi!
After i tried for past 2 weeks to find a solution i give up. My cpu is overloaded when someone hit any news title or menu very quickly (is clicking very fast) or spam the refresh button.
Hi !
Thank you very much!
With your help and this forum post i manage to resolved it.
In WP Super Cache/ Advanced tab, untick the first option: Cache hits for faster site acces.
That’s all you have to do to fix the counter in mobile version.
I have only installed wp super cache, speed boster amd social counter, of course and VC
Lso i used in .htacces Chris code
# END WordPress
AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
ExpiresByType font/truetype "access plus 2500000 seconds"
ExpiresByType font/opentype "access plus 2500000 seconds"
ExpiresByType application/x-font-woff "access plus 2500000 seconds"
ExpiresByType image/svg+xml "access plus 2500000 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 2500000 seconds"
</IfModule>
# END Expire headers
# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</IfModule>
# END Cache-Control Headers
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
Hi Andrei!
I’ve deactivate wp super cache and post view counter works on mobile. Strangelly is i have another configuration like that only is newspaper theme and with wp super cache activated counter works both on desktop and mobile version!
Hi !
Thanks!
I dont use jetpack. I tested on my phone both sites. Anyway i created a topic in the forums. Thanks for your time CHRIS and good luck.
Great optimizations tips!
Hi!
Great Tips!
I have a problem/
I’ve installed 2 versions of newsmag. In one i use your optimizations, on the second i don’t. Post view counter in both desktop versions of template, on both domains are working, but in the site which i use your optimizations on the mobile version post view counter doesn’t work. Can you please tell me what line of code must remove to work?
Thanks! It worked!
Hi i have same problem. I have installed only wp super cache plugin. please help me. I have deactivated all plugins, i have done all the things that Prezla have done but nothing happened. My vps server meets all the requirements and newspaper theme has the latest plugins installed and its latest version of the theme.