Username
Forgot password?
Welcome to our site!
Or Join with FTTF

Error when completing registration

1

2678 views

When I click sign up and enter my user name and email and submit, I get this error:

Error occurred. Administrator has been notified of the error. We will fix this as soon as possible


Here is the error log:

ERROR April 4, 2014 15:21:03 Lampcms\WebPage->handleException()

/var/www/html/lampcms/lib/Lampcms/WebPage.php line: 962 Exception caught in: /var/www/html/lampcms/lib/!inc.php on line: 214 MongoCollection::insert(): The 'safe' option is deprecated, please use 'w' instead in /var/www/html/lampcms/lib/Lampcms/Mongo/DB.php on line: 288 trace: #0 [internal function]: LampcmsErrorHandler(8192, 'MongoCollection...', '/var/www/sogeti...', 288, Array)

#1 /var/www/html/lampcms/lib/Lampcms/Mongo/DB.php(288): MongoCollection->insert(Array, Array)

#2 /var/www/html/lampcms/lib/Lampcms/Mongo/Doc.php(595): Lampcms\Mongo\DB->insertData('USERS', Array)

#3 /var/www/html/lampcms/lib/Lampcms/Mongo/Doc.php(509): Lampcms\Mongo\Doc->insert()

#4 /var/www/html/lampcms/lib/Lampcms/Controllers/Register.php(241): Lampcms\Mongo\Doc->save()

#5 /var/www/html/lampcms/lib/Lampcms/Controllers/Register.php(156): Lampcms\Controllers\Register->createNewUser()

#6 /var/www/html/lampcms/lib/Lampcms/WebPage.php(284): Lampcms\Controllers\Register->main()

#7 /var/www/html/lampcms/www/index.php(123): Lampcms\WebPage->__construct(Object(Lampcms\Registry))

#8 {main}

 
asked April 4, 2014 at 4:04 PM

 us

1 Answer

0
 
Thank you. Looks like I have to update mongo class and not use 'safe' option anymore. It's deprecated in the latest mongo driver. 
flag
answered April 9, 2014 at 6:42 PM

Your answer

Join with account you already have

FTTF

Preview

Alert