topquarky
Forum Replies Created
-
For debuggin the rewrite problem, take a look at the WP::parse_request method. That’s where it happens. The global $wp object has a var called $wp->matched_rule that will get set to the rule that matched. Examine that one your 404 page.
The rewrite rules match on a first-come-first-served basis, so if the rule that matched is before the self-hosted-plugins rules, then that’ll match. However, (because I found this in my testing), I added a filter called ‘shp_offending_patterns’. Look at the function shp_rewrite_rules in self-hosted-plugins.php. You can use that to move the offending pattern to the end of the rules array, thereby making the s-h-p patterns come first, thereby (hopefully) causing your extend/plugins/my-plugin page to show properly.
Cheers
TopquarkyGreat!
There’s also the readme validator. But if you’re getting an invalid plugin error, that’s in the main plugin php file.
Make sure the format is proper. == My Plugin == should be the first line there.
If you’re still having problems you can send me your readme.txt. t _at_ topquark _dot_ com.
Hi Josh,
For the first question, it takes the name of the plugin from the first line of the readme.txt file. Your file probably still has “Plugin Name” there.
For the second question, there is most likely a rewrite rule that is taking precedence over the Self Hosted Plugins rules. There’s no quick way to debug at this time – when I was developing it I put a var_dump in the wordpress core files. I’ll look up what I did when I get back to my computer (later tonight).
There is a way to turn off that rewrite. See the frequently asked questions for the plugin and try that to see if it works.
Thanks for trying the plugin out. It’s still in early stages of development and it’s great to track these issues down.
Cheers
TopquarkyForum: Plugins
In reply to: [Top Quark Architecture] broken admin pages.Hi @victomeyezr,
I saw the same post for the poMMo plugin and responded there.
I’ve not seen the invalid content type error before. I’d like to try and resolve whatever’s happening for you (it works fine on plenty of sites, trust me).
If you need to send a screen shot, you can send it to t _at_ topquark _dot_ com.
Thanks
Top QuarkForum: Plugins
In reply to: [poMMo for WordPress] broken admin pages.Hi @victomeyezr,
I’d like to try and get these fixed for you but I’m having trouble reproducing.
For the content-encoding error, where do you see that? I am able to load the above page okay in Firefox, Safari, Chrome, IE, etc. Do you get an error displaying on the screen when you try to enter poMMo, or are you looking in the error console?
For the Warning error, can you please describe what you did to get the error? I have an idea of what’s going on, but would like a little more information before proceeding.
Many thanks
Top QuarkForum: Plugins
In reply to: [Self Hosted Plugins] Is there Support for Authenticate Before Update?Hi ppg,
Authentication is not in there yet, but it’s something I definitely want for my own site as well. I just need to find a generic way to be able to pass that info along. Keep an eye out for updates. I suspect I’ll be figuring that out in the next week or so.
Cheers
Top Quark