The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
Another login.php isue - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Another login.php isue (/showthread.php?tid=869)



Another login.php isue - rock1 - 12-03-2017

Hello, I have applied the patches
[*]434to435
</li>434to438</li>
[*]438to439

I can login but this message apears:
Quote:</strong>Notice: Undefined property: stdClass::$twofa in C:\wamp64\www\us4\users\login.php on line 29

this is my line 29: if($settings->twofa == 1){

this happen in the login and register`s page.


Another login.php isue - mudmin - 12-03-2017

Did you run the update.php file between 438 and 439? If not, copy that one over your existing one and run it and it will fix your issue.




Another login.php isue - rock1 - 12-03-2017

I`ve been looking for that file without success, could you tell me please where a can find it?


Another login.php isue - mudmin - 12-03-2017

It should be users/update.php

Basically open the zip file of the 434to438 patch and go into the users folder. Copy update.php to users/update.php on your server. Run that.

Then reapply your 4.3.9 patch and run that update.php


Another login.php isue - rock1 - 12-03-2017

The issue it's solved now, thank you very much for your help and your time.


And I apologise, becouse that's on me, I've read again the instruction for the update and it's clear that the 'update.php' most be run,but i didn't, sorry for that.


This software it's great, thanks again.