Sparanoid
Forum Replies Created
-
Forum: Alpha/Beta/RC
In reply to: 3.5 RC3 New media uploader doesn't work with Google mod_pagespeedHere it is:
https://postholic.com/wp-admin/load-scripts.php,qc=1,aload,5B,5D=admin-bar,,hoverIntent,,common,,wp-ajax-response,,jquery-color,,wp-lists,,quicktags,,jquery-query,,admin-comments,,jquery-ui-core,,jquery-,aload,5B,5D=ui-widget,,jquery-ui-mouse,,jquery-ui-sortable,,postbox,,dashboard,,customize-base,,customize-loader,,thickbox,,plugin-install,,underscor,aload,5B,5D=e,,shortcode,,media-upload,,backbone,,media-models,,plupload,,plupload-html5,,plupload-flash,,plupload-silverlight,,plupload-html4,,wp-plu,aload,5B,5D=pload,,media-views,,media-editor,,word-count,,jquery-ui-resizable,,jquery-ui-draggable,,jquery-ui-button,,jquery-ui-position,,jquery-ui-,aload,5B,5D=dialog,,wpdialogs,,wplink,,wpdialogs-popup,aver=3.5.pagespeed.jm.s7BQkxZ53Z.js
Forum: Alpha/Beta/RC
In reply to: 3.5 RC3 New media uploader doesn't work with Google mod_pagespeedThanks for all your replies.
@j_marantz Yes, here’s the full URL in console:
load-scripts.php,qc=1,aload,5B,5D=admin-bar,,hoverIntent,,common,,wp-ajax-response,,jquery-color,,wp-lists,,quicktags,,jquery-query,,admin-comments,,jquery-ui-core,,jquery-,aload,5B,5D=ui-widget,,jquery-ui-mouse,,jquery-ui-sortable,,postbox,,dashboard,,customize-base,,customize-loader,,thickbox,,plugin-install,,underscor,aload,5B,5D=e,,shortcode,,media-upload,,backbone,,media-models,,plupload,,plupload-html5,,plupload-flash,,plupload-silverlight,,plupload-html4,,wp-plu,aload,5B,5D=pload,,media-views,,media-editor,,word-count,,jquery-ui-resizable,,jquery-ui-draggable,,jquery-ui-button,,jquery-ui-position,,jquery-ui-,aload,5B,5D=dialog,,wpdialogs,,wplink,,wpdialogs-popup,aver=3.5.pagespeed.jm.s7BQkxZ53Z.js:32
And I also got a workaround solution by disable
rewrite_javascript
in pagespeed.conf:ModPagespeedDisableFilters rewrite_javascript
I know it’s one of the core functions but this works for me.
Forum: Alpha/Beta/RC
In reply to: 3.5 RC3 New media uploader doesn't work with Google mod_pagespeedHi Drew,
Sorry for my late reply. I upgraded to 3.5 release and added
define('SCRIPT_DEBUG', true);
to mywp-config.php
, the media uploader works as expected. But when I commented out the debug code. I got the same error again.Forum: Themes and Templates
In reply to: How to upload a theme like LaunchPad?Read what I said. I found LaunchPad, which only has these files:
-rw-r--r--@ 1 sparanoid staff 3.0K Apr 8 2010 functions.php -rw-r--r--@ 1 sparanoid staff 27B Apr 8 2010 ie.css drwxr-xr-x@ 4 sparanoid staff 136B May 24 06:46 images/ -rw-r--r--@ 1 sparanoid staff 2.9K Apr 8 2010 index.php -rw-r--r--@ 1 sparanoid staff 2.2K Apr 8 2010 readme.txt -rw-r--r--@ 1 sparanoid staff 13K Apr 8 2010 screenshot.png -rw-r--r-- 1 sparanoid staff 3.5K Apr 8 2010 style.css
However, I uploaded a theme like that but failed, so how LaunchPad passed the theme validator?
Forum: Themes and Templates
In reply to: How to upload a theme like LaunchPad?@esmi Sorry, I mean, upload it to www.remarpro.com
Thanks Donncha, I converted it to nginx version:
if ($http_host ~* domain.tld) { rewrite ^/files/(.+) /wp-content/blogs.dir/X/files/$1 break; }
Add this before $cachetest in wp-ms-subdir.conf, it works but I think there should be a better and more effective method.
I got it, I’m running a multisite instance for some of my friends. Could you share your rules? Thanks.
Recently I upgrade WP Super Cache to development version. It has a debug mode in this version so I can see what WP Super Cache does. Then I just found this problem:
If someone sets his own domain in Domain Mapping, Images uploaded by users won’t bypass PHP. Here’s the log:
07:56:36 /files/2011/05/student-work-s2-02.jpg supercache dir: /srv/www/mysite.tld/public_html/wp-content/cache/supercache/customdomain.tld/files/2011/05/student-work-s2-02.jpg/ 07:56:36 /files/2011/05/student-work-s2-02.jpg No wp-cache file exists. Must generate a new one.
Any good idea?
UPDATE: #1. Later I went to
/srv/www/mysite.tld/public_html/wp-content/cache/supercache/customdomain.tld/
, actually no folder namedfiles
was created.#2. I’ve enabled Domain Mapping plugins in WP Super Cache Plugin tab.
Forum: Plugins
In reply to: [ThreeWP Activity Monitor] [Plugin: ThreeWP Activity Monitor] PHP Fatal errorGreat, and I’ll translate this plugin into my language if I have any spare time.
Forum: Plugins
In reply to: [BackWPup – WordPress Backup & Restore Plugin] Multisite Blogs not allowed?Finally it works in 2.1.0, cheers!
Hi, bigsite, I found a serious problem, when I try to delete cache from WP Super Cache, All files uploaded to ./wp-content/blogs.dir will be deleted.
@bigsite – The new rewrite rule works great, now correct trailing slash added to all visitors. Thank you!
The second problem, I got the point, I created a wp-ms-symbolic.php in root directory, and then run it with crontab (I think it’s better run it as a plugin and create a hook when new site are created). but it only created symblic link to the latest added site? so I have to manually added old sites by using the following command:
# Go to wp-content/cache/ms-filemap/domain.tld/ first ln -s /srv/www/domain.tld/public_html/wp-content/blogs.dir/BLOG_ID/ username
Then uploaded files bypass the php and follow
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$
corrently. cheers.@bigsite Great and finally get FPM+APC+nginx on my vps. but now there’re some minor problems:
1. I’m using WP Super Cache and permalink structure
/%post_id%/
for my blogs. as logged in users who access domian/blog/post_id will be redirected to domian/blog/post_id/, that’s what we expected. right? but as visitors no redirects applied to urls without trailing slash. I think maybe somehing wrong with wp-super-cache rewrite?2. How to bypass requests for uploaded files to php-fpm by runing that php script? Could you please tell me a little more?
Big thanks to your this post. It saves my time, and money too.
FYI. This post have an easy way to setup nginx + php-fpm + apc, but it’s centos only: https://rob.olmos.name/2010/08/centos-5-5-php-5-3-3-php-fpm-nginx-rpms
This post is so great. but any good tutorial how to set nginx + php-fpm + PHP APC environment? I tried a lot but still have some problems ??
Thanks a lot! the problem fixed!