nickmobmethod
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Post name edit: all zeros (“0”) replaces by ones (“1”)Yes, It’s because i disabled all plugins to debug this problem. Everything except post name editing works just fine.
Forum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeChanging to http://dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js doesn’t help.
But anyway thanks a lot for your time!
Good luck, Frank!Forum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeAfter setting CDN in AO settings and changing WP_CONTENT_URL still the same:
[20-Apr-2016 10:51:18] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 10:51:18] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:51:18] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 10:51:18] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:51:18] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/search.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 10:51:18] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:51:18] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 10:51:18] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:51:18] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 10:51:18] autoptimize debug: getpath URL before normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 10:51:18] autoptimize debug: getpath URL after normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 10:51:18] autoptimize debug: http://counter.rambler.ru/top100.jcn does not match host in counter.rambler.ru [20-Apr-2016 10:51:18] autoptimize debug: getpath got multidomains but no dice for http://counter.rambler.ru/top100.jcn [20-Apr-2016 10:51:18] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/css/all.css [20-Apr-2016 10:51:18] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css [20-Apr-2016 10:51:18] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:51:18] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.cssForum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeAfter setting CDN http://m.dev2.kuponarama.ru:
[20-Apr-2016 10:26:22] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 10:26:22] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:26:22] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/search.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 10:26:22] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:26:22] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 10:26:22] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:26:22] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 10:26:22] autoptimize debug: getpath URL before normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 10:26:22] autoptimize debug: getpath URL after normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 10:26:22] autoptimize debug: http://counter.rambler.ru/top100.jcn does not match host in counter.rambler.ru [20-Apr-2016 10:26:22] autoptimize debug: getpath got multidomains but no dice for http://counter.rambler.ru/top100.jcn [20-Apr-2016 10:26:22] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/css/all.css [20-Apr-2016 10:26:22] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css [20-Apr-2016 10:26:22] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 10:26:22] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.cssForum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeGot some debug info:
[20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js [20-Apr-2016 09:18:41] autoptimize debug: https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js does not match host in ajax.googleapis.com [20-Apr-2016 09:18:41] autoptimize debug: getpath got multidomains but no dice for https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 09:18:41] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:41] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 09:18:41] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:41] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/search.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 09:18:41] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:41] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 09:18:41] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:41] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 09:18:41] autoptimize debug: http://counter.rambler.ru/top100.jcn does not match host in counter.rambler.ru [20-Apr-2016 09:18:41] autoptimize debug: getpath got multidomains but no dice for http://counter.rambler.ru/top100.jcn [20-Apr-2016 09:18:41] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/css/all.css [20-Apr-2016 09:18:41] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css [20-Apr-2016 09:18:41] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:41] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js [20-Apr-2016 09:18:43] autoptimize debug: https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js does not match host in ajax.googleapis.com [20-Apr-2016 09:18:43] autoptimize debug: getpath got multidomains but no dice for https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 09:18:43] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:43] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/jquery.main.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 09:18:43] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:43] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/libs/sly.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/search.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 09:18:43] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:43] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/search.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 09:18:43] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:43] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/js/loadStyles.js [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: http://counter.rambler.ru/top100.jcn [20-Apr-2016 09:18:43] autoptimize debug: http://counter.rambler.ru/top100.jcn does not match host in counter.rambler.ru [20-Apr-2016 09:18:43] autoptimize debug: getpath got multidomains but no dice for http://counter.rambler.ru/top100.jcn [20-Apr-2016 09:18:43] autoptimize debug: getpath URL before normalization: /wp-content/themes/mobile/css/all.css [20-Apr-2016 09:18:43] autoptimize debug: getpath URL after normalization: http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css [20-Apr-2016 09:18:43] autoptimize debug: path for http://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css is ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.css using tmp_ao_root ://dev2.kuponarama.ru [20-Apr-2016 09:18:43] autoptimize debug: getpath considers not local as path still starts with :// ://m.dev2.kuponarama.ru/wp-content/themes/mobile/css/all.cssForum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeStill no luck. Tried changing default theme to mobile version – no optimization on mobile domain (m.dev2.kuponarama.ru/).
Then using desktop domain dev2.kuponarama.ru – everything works fine even with mobile theme.Nick.
Forum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeI’ve enabled inline code optimization. You can see optimized JS file.
My CSS and JS links are located in wrapper.php in mobile theme. They are plain text, no PHP code.
Forum: Plugins
In reply to: [Autoptimize] Cannot optimize mobile themeJust added filter, no luck.
I have relative css URLs like this: “/wp-content/themes/mobile/css/all.css” without domain.