jamestang995
Forum Replies Created
-
moreover, now commiting a post give a fix amount of point(s)
could give point(s) depends on how much words in the post???could add this function in mycred?? i think it is quite important coz I real need cash flow via the shop instead of virtual money only
I mark it manually and accidently
coz there are a lot of spam in my testing site and I wrongly mark my comment to spam and found thisyes, the path problem is resolved in new version
I see
It is my account do not have enough points.But it is strange to hidden the payment method…
If I am using myCred to be my only payment method, there will be nothing to select and user with checkout with an error saying did not select payment methodI continue to test without the ABSPATH in get_path function.
I am enabled myCred payment gateway in woocommerce
Then I buy something to checkout and there is no myCred for me to choosemy WP_DEBUG is still turns on but there are no errors
Idk it is related to windows 7 or not.
Coz your plugin is what I need to do
It is better to fix the bugs than write the whole plugin by myself. ??BTW, the code cannot fix the problem
I print the path
ABSPATH
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress/$installed[$key][‘folder’]
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\mycred/addons/gateway/And I dont know why the ABSPATH has a slash, HAHA
I am not familiar with PHP, hope this could help uyes, when i deactive Gateway plugin, the warning exists
when i look into your code, in file \wp-content\plugins\mycred\modules\mycred-module-addons.php
line 225
return ABSPATH . $installed[$key][‘folder’] . $file;
will return a strange path like ‘C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress/C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\mycred/addons/gateway/myCRED-addon-gateway.php‘
with a duplicated wordpress location
I tried to remove ‘ABSPATH .’ and it works! ??seems the path generate functions have something wrong in windows 7
pls fix it ??Warning: include_once(C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress/C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\mycred/addons/gateway/myCRED-addon-gateway.php): failed to open stream: Invalid argument in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\mycred\modules\mycred-module-addons.php on line 99 Warning: include_once(): Failed opening ‘C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress/C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\mycred/addons/gateway/myCRED-addon-gateway.php’ for inclusion (include_path=’.;C:\php\pear’) in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\wordpress\wp-content\plugins\mycred\modules\mycred-module-addons.php on line 99
i got this error that PEAR is not installed.
i will install it and test again
THXlet me show u the screen cap of the gateway page
it is in green color
yes, i tried that but no “Pay with Points” under payment gateways tab
i check the gateways directory under woocommerce \wordpress\wp-content\plugins\woocommerce\classes\gateways and cannot find mycred gateway
Is there problem of installing the gateway to woocommerce??I test this on a Windows7 machine