nikhil.pa@gmail.com
Member
Hi,
I am trying to use form-SMS plugin. I created a new file textlocal.php under JROOT/libraries/fabrik/fabrik/Helpers/sms_gateways because I am using textlocal as my sms provider (http://api.textlocal.in/docs/sendsms).
But the plugin is giving me the following error
0 - Class 'StringHelper' not found
Call stack
# Function Location
1 () JROOT/plugins/fabrik_form/sms/sms.php:83
I looked at JROOT/plugins/fabrik_form/sms/sms.php file and at line 83 I saw the following line.
require_once JPATH_ROOT . '/libraries/fabrik/fabrik/Helpers/sms_gateways' . StringHelper::strtolower($gateway);
This file StringHelper is indeed not avaibale under JROOT/libraries/fabrik/fabrik/Helpers/sms_gateways directory But it is available under JROOT//libraries/fabrik/fabrik/Helpers.
I then modified the path to
require_once JPATH_ROOT . '/libraries/fabrik/fabrik/Helpers' . StringHelper::strtolower($gateway);
But I am still getting the same error. I am a PHP beginner so my debugging skills are not that great.
Any pointers will be of great help.
Thanks,
Nikhil
I am trying to use form-SMS plugin. I created a new file textlocal.php under JROOT/libraries/fabrik/fabrik/Helpers/sms_gateways because I am using textlocal as my sms provider (http://api.textlocal.in/docs/sendsms).
But the plugin is giving me the following error
0 - Class 'StringHelper' not found
Call stack
# Function Location
1 () JROOT/plugins/fabrik_form/sms/sms.php:83
I looked at JROOT/plugins/fabrik_form/sms/sms.php file and at line 83 I saw the following line.
require_once JPATH_ROOT . '/libraries/fabrik/fabrik/Helpers/sms_gateways' . StringHelper::strtolower($gateway);
This file StringHelper is indeed not avaibale under JROOT/libraries/fabrik/fabrik/Helpers/sms_gateways directory But it is available under JROOT//libraries/fabrik/fabrik/Helpers.
I then modified the path to
require_once JPATH_ROOT . '/libraries/fabrik/fabrik/Helpers' . StringHelper::strtolower($gateway);
But I am still getting the same error. I am a PHP beginner so my debugging skills are not that great.
Any pointers will be of great help.
Thanks,
Nikhil