Page 17 of 18

Re: Subsonic registration engine

PostPosted: Sat Oct 27, 2012 5:14 pm
by SparkyRih
Maybe it's better to create new topics the next time since we have our own section now...

If I create some kind if installation script it would make everything a whole lot easier, but I'm so short of time lately :S I'm going to try to make somethign like that as soon as possible...

Re: Subsonic registration engine

PostPosted: Sat Oct 27, 2012 6:01 pm
by pir8radio
is there any easy install for IIS yet? i have php installed...

thanks.

Re: Subsonic registration engine

PostPosted: Sat Oct 27, 2012 10:57 pm
by SparkyRih
pir8radio wrote:is there any easy install for IIS yet? i have php installed...

thanks.


IIS shouldn't be much different from Apache... Only difference is that you have to set it up in a different way... my script should work fine on IIS if it's setup correctly...

Re: Subsonic registration engine

PostPosted: Mon Oct 29, 2012 3:09 pm
by asian flavor
I'm not sure if this post was pointing towards my asking for help for this mod... if it is, thanks. I'm done with this mod. Maybe locked this topic down and post another topic saying to create new topics for help. I hate board ppl and rarely post. I see now why. Thanks for the great response....


SparkyRih wrote:Maybe it's better to create new topics the next time since we have our own section now...

If I create some kind if installation script it would make everything a whole lot easier, but I'm so short of time lately :S I'm going to try to make somethign like that as soon as possible...

Re: Subsonic registration engine

PostPosted: Wed Nov 21, 2012 3:44 am
by Digitaldreamer7
Any word on the install script? I'm stuck on set up. Thanks!

Re: Subsonic registration engine

PostPosted: Sun Dec 02, 2012 12:45 pm
by SparkyRih
Digitaldreamer7 wrote:Any word on the install script? I'm stuck on set up. Thanks!


No I'm sorry, I cna't say when I have time for it...

Tell me where you're stock...

Re: Subsonic registration engine

PostPosted: Sun Dec 16, 2012 5:31 am
by dsync89
Something weird is going on. Whenever I tried to register user, the data is inserted into the database correctly. But it is NOT in the user list when I view it via the web interface. Likewise, any user that I created using the web interface doesn't show up in the database.

This happens after I update the MusicCabinet mod to the latest version 0.7.16b.

Further inspection shows that the following code was never executed, this is very weird.
Code: Select all
if($subsonicreg==true) {
$url = $protocol."://".$subsonicdomain."/rest/createUser.view?u=".$admin."&p=".$pass."&v=1.1.0&c=remoteregister&username=".$username."&password=".$spassword."&email=".$email."&settingsRole=".$settingsRole."&streamRole=".$streamRole."&jukeboxRole=".$jukeboxRole."&downloadRole=".$downloadRole."&uploadRole=".$uploadRole."&playlistRole=".$playlistRole."&coverartRole=".$coverartRole."&commentRole=".$commentRole."&podcastRole=".$podcastRole."&shareRole=".$shareRole;
open_https_url($url,"",true,"");

}

Re: Subsonic registration engine

PostPosted: Sun Dec 16, 2012 5:27 pm
by gurutech
The code I have after "&v=" for mine is 1.5.0, not 1.1.0. Try changing that to the 1.5.0 and see if it works.

Re: Subsonic registration engine

PostPosted: Mon Dec 17, 2012 4:32 am
by dsync89
Actually the code that I posted earlier works when I enter the full link manually at the browser URL.

I'm thinking that the following function: open_https_url($url,"",true,""); doesn't work because there is no HTTP POST that is sent after that.

After changing it to using cURL instead of the function everything works just as it should.

Re: Subsonic registration engine

PostPosted: Mon Jan 28, 2013 1:10 am
by gurutech
Trying to get this working again, this time with Madsonic build 4.8 beta 3 (build 3320). Replaced the original "login.jsp" with the one I had backed up prior to upgrading, and the login page works - it allows me to click "register" and fill in the appropriate information (username, email, password, confirm pw, and captcha), then redirects to the appropriate place after clicking OK.

However, I do NOT see a new entry in my SQL database, and do NOT see a new user created in Madsonic.

I have tried downloading the latest version of the Subsonic Registration Engine, basically "starting from scratch", but that did not work either.

Looking for ideas on what to look for while troubleshooting!

Re: Subsonic registration engine

PostPosted: Mon Mar 11, 2013 11:11 pm
by gurutech
I can get the registration to go through now, but only if I copy the URL from the code and manually "enter" the appropriate information.

Using the line from the code:
Code: Select all
$url = "http://".$subsonicdomain."/rest/createUser.view?u=".$admin."&p=".$pass."&v=1.9.0&c=remoteregister&username=".$username."&password=".$spassword."&email=".$email."&settingsRole=".$settingsRole."&streamRole=".$streamRole."&jukeboxRole=".$jukeboxRole."&downloadRole=".$downloadRole."&uploadRole=".$uploadRole."&playlistRole=".$playlistRole."&coverartRole=".$coverartRole."&commentRole=".$commentRole."&podcastRole=".$podcastRole."&shareRole=".$shareRole;

will NOT work, but manually entering the line:
Code: Select all
http://domain.com:4040/rest/createUser.view?u=admin&p=adminpassword&v=1.9.0&c=remoteregister&username=usertocreate&password=password&email=email@address.com&settingsRole=true&streamRole=true&jukeboxRole=true&downloadRole=true&uploadRole=true&playlistRole=true&coverartRole=true&commentRole=true&podcastRole=true&shareRole=true

will actually work.

Any ideas?

Re: Subsonic registration engine

PostPosted: Wed Mar 13, 2013 7:14 pm
by pixxlad
i have some questions about moving the database to a sql server host (xampp as an example) and then use that server host / sql host to host the db files? possable? please assist me in this matter!

skype: mrpucko91
mail: admin@snappsiz.com

Re: Subsonic registration engine

PostPosted: Sun Mar 24, 2013 1:59 am
by gurutech
I have narrowed the issue down to the "register.php" file - apparently IE thinks there's a "programming" error in the file. I have re-downloaded the package from the SubReg website, and copied the files over my existing ones (made a backup first), and reconfigured them, but still having an issue where the register.php will only load a blank page in Firefox, or give me the "programming" error in IE.

I've reinstalled PHP-MySQL on my server, and have the same issues.

Anyone know what else I can check for?

Re: Subsonic registration engine

PostPosted: Wed Nov 27, 2013 4:15 am
by Excessive
I have the very same code errors with everything working fine, though I'm using WAMP 2.0i as before I was using WAMP 2.0c and did not have this issue with windows machines/browsers though it apparently still showed on a linux machine. How do we fix this?

PS: read my post elsewhere abt redoing ur registration engine setup and login.jsp

Cheers :)

Re: Subsonic registration engine

PostPosted: Wed Nov 27, 2013 10:57 pm
by gurutech
This is an old thread. I've since created my own registration engine. I just haven't had any luck integrating it with Facebook (yet)