Comments (9)
Thanks for the tips.
What is the advantage of using array() instead of [] ?
from self-service-password.
array() allows support for php < 5.4 and it's the traditional way. I don't
think there is other differences.
@coudot what is the minimum php version required for ssp ?
I assumed it's 5.4 based on the travis file.
Is it possible that op is using php <= 5.2 and also edited the recaptcha
lib to make it work on its platform ? (no short notation, no namespace)
On Fri, Nov 11, 2016, 13:53 Clément OUDOT [email protected] wrote:
Thanks for the tips.
What is the advantage of using array() instead of [] ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArKrZ33ZWpI_PbCDDI6u5vm0P4Q-_avks5q9GVXgaJpZM4KvpEI
.
from self-service-password.
I did not test SSP for PHP versions under 5.4, but this version should be enough for most of people. Do you need to use SSP with older PHP version?
from self-service-password.
I use php 5.2.10 and I am not sure if the correction for recaptcha files I proposed is correct! It just worked! When it was "\Recaptcha\Recaptcha..." I was getting a syntax error. If a php >= 5.4 is needed then the developper should mention it on a "Requirements" section.
from self-service-password.
I will test your change to see if it works also for php >= 5.4
from self-service-password.
It will not work. The recaptcha will be unresolved with this change (i
think i can safely assume op is not using recaptcha). the recaptcha needs
5.4 because it uses namespaces.
On Fri, Nov 11, 2016, 14:59 Clément OUDOT [email protected] wrote:
I will test your change to see if it works also for php >= 5.4
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AArKrfeUMmrOqHMCxu8uak6AlSLyd05hks5q9HSqgaJpZM4KvpEI
.
from self-service-password.
Seems Recaptcha patch does not work:
[Fri Nov 11 15:18:29.258129 2016] [:error] [pid 3340] [client 127.0.0.1:52290] PHP Fatal error: Uncaught Error: Class 'ReCaptcha' not found in /home/clement/dev/self-service-password/pages/change.php:68\nStack trace:\n#0 /home/clement/dev/self-service-password/index.php(206): include()\n#1 {main}\n thrown in /home/clement/dev/self-service-password/pages/change.php on line 68, referer: http://ssp.example.com/index.php
So I will not apply it.
from self-service-password.
Sorry for being too fast to propose the recaptcha tip and too slow to
answer your posts! :-)
Indeed all depended on me having an old php version (5.2). I switched to
5.4 and everything worked out of the box! Again, sorry for your time!
Nikos Asimos
2016-11-11 16:20 GMT+02:00 Clément OUDOT [email protected]:
Seems Recaptcha patch does not work:
[Fri Nov 11 15:18:29.258129 2016] [:error] [pid 3340] [client 127.0.0.1:52290] PHP Fatal error: Uncaught Error: Class 'ReCaptcha' not found in /home/clement/dev/self-service-password/pages/change.php:68\nStack trace:\n#0 /home/clement/dev/self-service-password/index.php(206): include()\n#1 {main}\n thrown in /home/clement/dev/self-service-password/pages/change.php on line 68, referer: http://ssp.example.com/index.php
So I will not apply it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#48 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWUMMrxBFoW-oYzyeeHQlLROm70xAqvBks5q9HnBgaJpZM4KvpEI
.
from self-service-password.
Thanks for the feedback.
from self-service-password.
Related Issues (20)
- RPM spec file cleanup HOT 10
- update defuse-crypto library HOT 1
- Update bundled php/javascript libs versions HOT 4
- Update to smarty4 HOT 5
- deb cleanup HOT 4
- provide webserver configuration example as separate packages
- Password policy javascript checker HOT 9
- Remove criteria depending on old password when unavailable HOT 1
- SMS sending option error when encryption is not activated
- Bug in max_attempts for token in `sendsms`
- "syntax error, unexpected token class" on Debian 10 HOT 3
- Cannot access the web page using apache web server HOT 2
- feature: ability to change custom password fields HOT 4
- https URLs in messages HOT 1
- pwd_diff_last_min_chars is not evaluated the same way in backend and in frontend HOT 1
- Ppolicy javascript applied to extra help div HOT 2
- Getting errror -1 HOT 1
- use new ltb-ldap v0.2 HOT 3
- Use POST instead of GET in check entropy module
- Please add arm architecture HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-service-password.