[solved] Gregwar Captcha problem

On registration/forgot password pages, I´am getting:

PHP Fatal error: Class ‘Gregwar\Captcha\CaptchaBuilder’ not found in /var/www/html/sms/plugin/core/auth/forgot.php on line 105

I think composer was installed correctly, files are at:

# pwd
/var/www/html/sms/lib/composer/vendor/gregwar/captcha
# ls
autoload.php  CaptchaBuilderInterface.php  CaptchaBuilder.php  composer.json  demo  Font  ImageFileHandler.php  LICENSE  PhraseBuilderInterface.php  PhraseBuilder.php  README.md

Any ideas?

Thanks,

Edilson

Probably your PHP version is too old.

Don´t think so…

PHP 5.3.3 (cli) (built: Feb 9 2016 10:36:17)
Copyright © 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.4.3, Copyright © 2002-2013, by ionCube Ltd.

Linux centos-1gb-nyc3-01 2.6.32-573.8.1.el6.x86_64 #1 SMP Tue Nov 10 18:01:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

try to run again the ./composer.phar update from playSMS source code directory

and then replace your /var/www/html/sms/lib with web/lib from playSMS source code directory (which should have the updated version of composer’s libs)

anton

It worked!

Thank you very much, Anton, for your time and attention!