UAP 4 Beta Login Problem

Views 300
Sweets 1
Images 0

6 months ago Topic
Posted: December 13, 2016 @ 05:30 PM
Hi guys, I have a problem with a complete new and clean install of UAP. I installed it like instructed in the Video without Composer (so the full version). Everything went well, no errors and stuff. But when i created the first account and tried to login into it, I got an error which just says "There is an error on this Page". Since this is my first usage of this product I don't know what intel you could need, so please tell me. Furthermore I think there is a problem in the email-confirmation on this very site. The content of the mail is messed up: regi_email_hello Motakl regi_email_recently_registered SITE_TITLE regi_email_to_activate regi_email_act_my_acc regi_email_you_may_copy: SITE_URLActivate/username/Motakl/key/7IMXy6khMSRu75V Hope you can help me and could help you :D Edit: The user is in the database, so there seems to be everything alright
Reply By: sitchi
6 months ago #1
Posted: December 13, 2016 @ 05:41 PM
hi, view errors/php-error.log
Reply By: sitchi
6 months ago #2
Posted: December 13, 2016 @ 05:41 PM
what is written there ?
Reply By: Motakl
6 months ago #3
Posted: December 14, 2016 @ 05:47 AM
It says the 3rd parameter of setcookie() must be an integer, but it is a float. Error thrown in app\System\Libraries\Auth\Cookie.php on line 39
Reply By: DaVaR
6 months ago #4
Posted: December 20, 2016 @ 05:36 PM
I have not had a chance to dig into the cookie issue. However I have not had that error with WAMP or LAMP servers. I will put that on my list of fixes, but you can try editing the Cookie.php file and change COOKIE to SESSION. But doing that will disallow the remember me feature from working. As for this mother site, I have yet to upgrade the system. It still runs on UAP3. I have been in the process of moving and have not had much time to work on UAP4 the past couple weeks. Should be able to get some coding done soon. Thanks sitchi for helping out with troubleshooting while I have been overwhelmed.
Signature
MmMmmm... Apple Pie!
Reply By: DaVaR
6 months ago #5
Posted: December 20, 2016 @ 05:37 PM
Maybe also try commenting out app\System\Libraries\Auth\Cookie.php on line 39 and see if that works.
Signature
MmMmmm... Apple Pie!
Reply By: DaVaR
5 months ago #6
Posted: December 26, 2016 @ 06:59 PM
I fixed the errors with the Account Activation Email on this site. Thanks for pointing that out. Was also able to duplicate the error and fix it. There will be improvments to come, but for now it should be good. Download the new Cookie helper from github. https://github.com/UserApplePie/UserApplePie-v4/blob/master/app/System/Libraries/Auth/Cookie.php
Signature
MmMmmm... Apple Pie!
Forum Permissions
You cannot post in this forum.
You cannot moderate this forum.
You cannot administrate this forum.
Search Forums
Forum Recent Posts