axilaris
Forum Replies Created
-
Hi,
I am using version 2.9.5.
Here is the screenshot of my discount code setting.
As you can see in Billing Amount, there is a value 50. It will have the paypal button. But if I change this to 0, then the paypal button disappears.
What I would like is that I give a 12 months free period and then charge 50 every month. Because it is FREE for 12 months, how can I disable the Paypal button ? After that 12 months expires, then it should kick in the payment.
Thanks.
Forum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisitei noticed i can activate it as “network activated” after installing the plugins from controlpanel.
There is no need for “mu-plugins” if it can be network activated ?
Seems to me there is a bug somewhere, basically with $wpmu = 3.
Forum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisiteAfter further debugging, I found out why in wp-recaptcha.php
first it sets to $wpmu = 1 but then it notice “is_multisite”, then it sets to 3.My question is why you set to 3?? There is no installation instruction for 3? or should i be using 1? if so, how to ?
Thanks. Check the code below:
$wpmu = 0;
if (basename(dirname(__FILE__)) == “mu-plugins”) // forced activated
$wpmu = 1;
else if (basename(dirname(__FILE__)) == “plugins” && function_exists(‘is_site_admin’)) // optionally activated
$wpmu = 2;if (function_exists(‘is_multisite’))
if (is_multisite())
$wpmu = 3;Forum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisiteI found out where line 45 is in wp-recaptcha.php
if ($wpmu == 1)
require_once(dirname(__FILE__) . ‘/wp-recaptcha/recaptchalib.php’);
else
require_once(dirname(__FILE__) . ‘/recaptchalib.php’); <–line 45so after printing out $wpmu, it appears to be 3.
Shouldnt it be 1 instead of 3? What is wrong ?
// WORDPRESS TYPE DETECTION
// WordPress MU settings – DON’T EDIT
// 0 – Regular WordPress installation
// 1 – WordPress MU Forced Activated
// 2 – WordPress MU Optional Activation
// 3 – WordPress MS Network ActivatedForum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisiteI have migrated to cpanel instead of kloxo. Still it does not work.
If I did this:
2- Move the wp-recaptcha.php file out of the wp-recaptcha folder so that it is in /wp-content/mu-plugins
3- Now you should have /wp-content/mu-plugins/wp-recaptcha.php and /wp-content/mu-plugins/wp-recaptcha/It will cause this:
Warning: require_once(/home/domain1/public_html/wp-content/mu-plugins/recaptchalib.php) [function.require-once]: failed to open stream: No such file or directory in /home/domain1/public_html/wp-content/mu-plugins/wp-recaptcha.php on line 45
Fatal error: require_once() [function.require]: Failed opening required ‘/home/domain1/public_html/wp-content/mu-plugins/recaptchalib.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/domain1/public_html/wp-content/mu-plugins/wp-recaptcha.php on line 45
mu-plugins is giving me the problem, but if i download into plugins directory, it ok.
I am really curious, how did you get recaptcha working with wordpress MU???
Forum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisiteIm quite sure my site might not work with other mu-plugins.
Can you recommend a simple plugin to debug this issue ? some debugging method word help me solve this issue.
Thanks!
Forum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisiteYes, i confirmed i did that.
After that the whole site didnt work.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.Here is how the content looks like:
[root@ns1 mu-plugins]# pwd
/home/admin/domain.com/wp-content/mu-plugins
[root@ns1 mu-plugins]# ls -al
total 56
drwxr-xr-x 3 root root 4096 Dec 11 04:16 .
drwxr-xr-x 6 root root 4096 Dec 10 18:45 ..
drwxr-xr-x 2 root root 4096 Dec 11 04:16 wp-recaptcha
-rw-r–r– 1 root root 44556 Dec 11 04:16 wp-recaptcha.phpDeleting those files got the site working again. What went wrong ?
Forum: Plugins
In reply to: [WP-reCAPTCHA] [Plugin: WP-reCAPTCHA] recaptcha doesnt work for multisitenow if i put wp-recaptcha folder and wp-recaptcha.php into mu-plugins, the mainpage doesnt even load.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Forum: Networking WordPress
In reply to: cannot install recaptcha plugin for multisitethere is no recaptcha on *super admin* menu.
I have tried several things like
– chmod 755 on mu-plugins
– chmod 777 -R wp-content (this is serious, nothing works now. now if i change mode -R to others also doesnt work at all. I have to now reinstall the wholething again.Please help, how can i install recaptcha on wordpress Multiuser ?