khalilbeat
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Reduce unused JavaScriptThank you for the help,
I was already activating cache mobile, i just activated guest mode, and I’m scoring now much better.
Have a great day.
And this is user agent detected for google chrome : User agent: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/81.0.4044.124 Mobile/15E148 Safari/604.1
i wrote an other reply, but it’s blocked by ww.wp.xz.cn 🙁
debug is working under debug.log
I found Debug.log :
[15-May-2020 02:20:49 UTC] debug is working [15-May-2020 02:20:49 UTC] debug is working [15-May-2020 02:20:55 UTC] debug is working [15-May-2020 02:20:55 UTC] User agent: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/81.0.4044.124 Mobile/15E148 Safari/604.1 [15-May-2020 02:21:03 UTC] debug is working [15-May-2020 02:21:05 UTC] debug is working [15-May-2020 02:21:49 UTC] debug is working [15-May-2020 02:21:49 UTC] debug is working [15-May-2020 02:21:51 UTC] debug is working [15-May-2020 02:21:51 UTC] User agent: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/81.0.4044.124 Mobile/15E148 Safari/604.1 [15-May-2020 02:21:55 UTC] debug is working [15-May-2020 02:21:55 UTC] User agent: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/81.0.4044.124 Mobile/15E148 Safari/604.1 [15-May-2020 02:22:05 UTC] debug is working [15-May-2020 02:35:36 UTC] debug is working [15-May-2020 02:35:36 UTC] debug is working [15-May-2020 02:35:37 UTC] User agent: Mozilla/5.0 (iPad; CPU OS 13_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/81.0.4044.124 Mobile/15E148 Safari/604.1 [15-May-2020 02:35:40 UTC] debug is workingThank you
- This reply was modified 6 years ago by khalilbeat.
Hello Jose,
I found this on my wp-config.php :
/** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. * * For information on other constants that can be used for debugging, * visit the documentation. * * @link https://ww.wp.xz.cn/support/article/debugging-in-wordpress/ */ define( 'WP_DEBUG', false ); /* That's all, stop editing! Happy publishing. */I tested paste
` define(‘WP_DEBUG’, true);
define( ‘WP_DEBUG_LOG’, true );`
Like you asked to do, but still nit working.I tested turn the original code to true, with out your code : still not working.
I tested your code alone : still not working.
Thank you.
I followed step by step your recommendations.
I actually dont see debug.php.
Maybe my hosting provider do not create the WordPress debug.log.
If so, i need to call them tomorrow.
Thank for all,
In witch file i need to add : error_log( ‘Debug is working’ ); ?
I tried functions.php = eror
wp-config.php = wiebsite not loading ?
I don’t see any wp-content/debug.log file in my rool folders ..
Thank you 🙂
Hi Jose,
I followed step by step and added the debug code and the error log too.
How can i be sur that the function is called ?
Thank you
Did you read this :
Hi Jose,
I maybe have some good news ..
It actually works when i use safari under my Ipad pro.
But it still not working in chrome.
This mean that maybe the plugin detect google chrome as mobile from ipad.
I got the idea from this page : https://www.tinywp.in/wp_is_mobile-exclude-ipad/
What do you think ?
Thank you
Hi Jose,
I maybe have some good news ..
It actually works when i use safari under my Ipad pro.
But it still not working in chrome.
This mean that maybe the plugin detect google chrome as mobile from ipad.
I got the idea from this page : https://www.tinywp.in/wp_is_mobile-exclude-ipad/
What do you think ?
Thank you
Thank you Jose for the help.
It’s actually still not working.
I’m testing it under an Ipad pro.
Do you think apple Ipad Pro have a specific user agent ?
Thank you again.
Thank you Jose !
A tried your code but didn’t work.
I have caching plugin that i turned to off to test, and still same result.
Still dont understand.
When i turn off your plugin, it works and serve me the desktop page not the mobile one.
Do yo have other suggestions ?
Thank you for helping
Hello again
I’m actually talking about the home page.
Thank you
Thank, it’s working now.
The real problem was that ‘mobile Device support was not checked’
Have a good day 🙂
Thank you for the fast answer.
I have a other issue please.
I’m using wp super cache.
When I delete cache I see correctly the specific mobile page, but few minutes later, when I refresh the home page I just see the original one…
I tried to add this list to rejected used agents but it doesn’t work:
bot
ia_archive
slurp
crawl
spider
Yandex
iPhone
iPod
Android
BB10
BlackBerry
webOS
IEMobile/7.0
IEMobile/9.0
IEMobile/10.0
MSIE 10.0
iPad
PlayBook
Xoom
P160U
SCH-I800
Nexus 7
TouchCan help me solve this ?
Thanks