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

Unable to create a second user

3

978 views
This the latest we have pulled from the master branch from github.

Once i have  filled the registration form and click on Register, it gives me the following traceback:
I have checked by manually inputting debugs, the application is able to connect to db.


Error: Unable to get nextID for collection USERS after 100 tries

Exception Class: RuntimeException

Error code: 0

File: /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php

Line: 111

Trace:
#0 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 101)
#1 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 100)
#2 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 99)
#3 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 98)
#4 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 97)
#5 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 96)
#6 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 95)
#7 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 94)
#8 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 93)
#9 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 92)
#10 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 91)
#11 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 90)
#12 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 89)
#13 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 88)
#14 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 87)
#15 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 86)
#16 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 85)
#17 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 84)
#18 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 83)
#19 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 82)
#20 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 81)
#21 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 80)
#22 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 79)
#23 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 78)
#24 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 77)
#25 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 76)
#26 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 75)
#27 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 74)
#28 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 73)
#29 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 72)
#30 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 71)
#31 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 70)
#32 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 69)
#33 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 68)
#34 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 67)
#35 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 66)
#36 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 65)
#37 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 64)
#38 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 63)
#39 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 62)
#40 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 61)
#41 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 60)
#42 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 59)
#43 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 58)
#44 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 57)
#45 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 56)
#46 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 55)
#47 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 54)
#48 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 53)
#49 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 52)
#50 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 51)
#51 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 50)
#52 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 49)
#53 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 48)
#54 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 47)
#55 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 46)
#56 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 45)
#57 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 44)
#58 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 43)
#59 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 42)
#60 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 41)
#61 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 40)
#62 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 39)
#63 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 38)
#64 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 37)
#65 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 36)
#66 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 35)
#67 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 34)
#68 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 33)
#69 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 32)
#70 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 31)
#71 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 30)
#72 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 29)
#73 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 28)
#74 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 27)
#75 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 26)
#76 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 25)
#77 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 24)
#78 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 23)
#79 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 22)
#80 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 21)
#81 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 20)
#82 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 19)
#83 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 18)
#84 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 17)
#85 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 16)
#86 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 15)
#87 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 14)
#88 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 13)
#89 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 12)
#90 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 11)
#91 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 10)
#92 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 9)
#93 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 8)
#94 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 7)
#95 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 6)
#96 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 5)
#97 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 4)
#98 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 3)
#99 /var/www/html/lampcms/lib/Lampcms/Mongo/Incrementor.php(187): nextValue('USERS', 1, 2)
#100 /var/www/html/lampcms/lib/Lampcms/Mongo/Doc.php(587): nextValue('USERS', 1)
#101 /var/www/html/lampcms/lib/Lampcms/Mongo/Doc.php(509): insert()
#102 /var/www/html/lampcms/lib/Lampcms/Controllers/Register.php(242): save()
#103 /var/www/html/lampcms/lib/Lampcms/Controllers/Register.php(156): createNewUser()
#104 /var/www/html/lampcms/lib/Lampcms/WebPage.php(283): main()
#105 /var/www/html/lampcms/www/index.php(123): __construct(Lampcms\Registry)
 
asked November 11, 2014 at 3:43 AM

 in

1 Answer

1
 
reinstalled mongoDB php extension and it started working.
Sorry false alarm!!!!
flag
answered November 12, 2014 at 1:10 AM

Your answer

Join with account you already have

FTTF

Preview

Alert