Moderator: moderators
SparkyRih wrote:But your users still have to register an account?
The whole point of an FB login is instant access with only your FB account...
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: php.java.bridge.http.FCGIConnectException: Could not connect to server
php.java.servlet.fastcgi.FastCGIServlet.init(FastCGIServlet.java:133)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:722)
root cause
php.java.bridge.http.FCGIConnectException: Could not connect to server
php.java.bridge.http.SocketChannelFactory.test(SocketChannelFactory.java:58)
php.java.servlet.fastcgi.FastCGIServlet.init(FastCGIServlet.java:131)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:722)
root cause
java.io.IOException: java.net.ConnectException: Connection refused
php.java.bridge.http.FCGIConnectException.<init>(FCGIConnectException.java:37)
php.java.bridge.http.SocketChannelFactory.test(SocketChannelFactory.java:58)
php.java.servlet.fastcgi.FastCGIServlet.init(FastCGIServlet.java:131)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:722)
root cause
java.io.IOException: PHP not found. Please install php-cgi. PHP test command was: [php-cgi, -v]
php.java.bridge.Util$Process.start(Util.java:1145)
php.java.servlet.fastcgi.FCGIProcess.start(FCGIProcess.java:68)
php.java.bridge.http.SocketChannelFactory.doBind(SocketChannelFactory.java:125)
php.java.bridge.http.FCGIConnectionFactory.runFcgi(FCGIConnectionFactory.java:88)
php.java.bridge.http.FCGIConnectionFactory$1.run(FCGIConnectionFactory.java:109)
gurutech wrote:The last lines suggest to install php-cgi.
I would install that, and also check to ensure MySQL is running, as well as PHP. You may also require cURL to be installed and running as well.
asian flavor wrote:This is a cool mod and thanks for your hard work. Got this to work internally but cannot get the captcha to show on the login screen externally. Also have to figure out the SMTP portion, but I think I know what that issue is. Just need help with the captcha code not showing up outside of my network. I have this mod running on a Server 2k3 VM with WAMP 2.0. Just cannot figure out what is blocking the captcha code. Thanks again!
Notice: Undefined variable: username in C:\wamp\www\lib\mailconf.php on line 18
Notice: Undefined variable: spassword in C:\wamp\www\lib\mailconf.php on line 18
Notice: Undefined variable: username in C:\wamp\www\lib\mailconf.php on line 23
Notice: Undefined variable: spassword in C:\wamp\www\lib\mailconf.php on line 23
Notice: Undefined variable: username in C:\wamp\www\lib\mailconf.php on line 32
Notice: Undefined variable: hash in C:\wamp\www\lib\mailconf.php on line 23
<?php
$cwd = getcwd();
$cwd = scandir($cwd);
$checkdir = array_search('lib', $cwd);
if($checkdir=='') {
$mailtemplates = "../lib/mail";
}else{
$mailtemplates = "lib/mail";
}
$fromname = "Asian Flavor";
$sender = "asianflavor@";
$nohash = 'None';
//Auto register mail
$subject = "Registration on Subsonic";
$open1 = file_get_contents($mailtemplates.'/regmail.txt', false);
$message = adddata($open1,$username,$spassword,$email,$nohash);
//Pass reset mail
$subject2 = "Password reset request on Subsonic";
$open2 = file_get_contents($mailtemplates.'/passresetmail.txt', false);
$message2 = adddata($open2,$username,$email,$password,$hash);
//adminmail
$adminemail = "asianflavor@";
$adminsubject = "Registration on Subsonic";
if($woa==true) {
$rquri = folder($_SERVER['REQUEST_URI']);
$adminmessage = $username." is registered on the server.\n Approve: http://".$_SERVER['HTTP_HOST']."".$rquri."?user=".$username;
}else{
$adminmessage = $username." is registered on the server.";
}
Return to Subsonic Registration Engine
Users browsing this forum: No registered users and 5 guests