Undefined index: quick_login_dec

Started by lesmond, Jul 10, 2021, 05:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lesmond

Jul 10, 2021, 05:16 AM Last Edit: Jul 16, 2021, 10:24 AM by lesmond
Just updated to RC4 on my forum, but seem to be having problems with login on my themes.

When on my own theme and I click the login at the top I get an error..


When clicking the login link it send me to a page not found


with these errors


This has I say only happens on my themes and not default theme.

Backtrace info

The only person who got all his work done by Friday was Robinson Crusoe

Les.  Can you test something for me pleas.  try turning off the TP User block, or just make it unviewable to guests please, and see if those errors stop.

Bigguy

Maybe your themes need a bit of updating. :???

lesmond

Quote from: Bigguy on Jul 10, 2021, 06:29 AMMaybe your themes need a bit of updating. :???
Maybe, just don't know where  :dontknow  :emb

The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

Do you have that program called Winmerge....It will give you a side by side comparison of two files and show all the differences between the two. It would probably be useful here. :rgton

lesmond

Jul 10, 2021, 07:01 AM #4 Last Edit: Jul 16, 2021, 10:24 AM by lesmond
QuoteDo you have that program called Winmerge....It will give you a side by side comparison of two files and show all the differences between the two. It would probably be useful here. :rgton

Yes I do, and it fixed the login problem, but still showing the tinyportal errors


I found a few places that needed changing

Note* I am using TinyPortal 2.0.1

The only person who got all his work done by Friday was Robinson Crusoe

Bigguy

I use the same version I think and do not have any errors at all. Do you have any mods that play around with that area of the code. :???

lurkalot

Les.  Can you test something for me pleas.  try turning off the TP User block, or just make it unviewable to guests please, and see if those errors stop.

lesmond

Quote from: lurkalot on Jul 10, 2021, 08:48 AMLes.  Can you test something for me pleas.  try turning off the TP User block, or just make it unviewable to guests please, and see if those errors stop.
Yup, errors have gone :rgton now whats the fix :???   :dontknow  :emb

The only person who got all his work done by Friday was Robinson Crusoe

lesmond

I was wondering why BigGuy don't have the error here, but he dont have the user block turned on.

The only person who got all his work done by Friday was Robinson Crusoe

lesmond

QuoteLes.  Can you test something for me pleas.  try turning off the TP User block, or just make it unviewable to guests please, and see if those errors stop.

As a test I put this line back in index.english.php and that fixed it too
$txt['quick_login_dec'] = 'Login with username, password and session length';

The only person who got all his work done by Friday was Robinson Crusoe

lurkalot

Jul 10, 2021, 10:24 AM #10 Last Edit: Jul 10, 2021, 10:29 AM by lurkalot
QuoteAs a test I put this line back in index.english.php and that fixed it too
$txt['quick_login_dec'] = 'Login with username, password and session length';


I did it the other way around and hard coded the text back in the user block. lol.. https://cctestsite.info/testsite3/index.php

But yes they removed the string as it was apparently unused.

You'll also find in some of your old custom themes, the avatar in the profile top bar has gone massive, I had to change that on mine.  I will have to update all my themes from scratch at some point, as there's several changes since I made them. ;)

lesmond

Quote from: lurkalot on Jul 10, 2021, 10:24 AMYou'll also find in some of your old custom themes, the avatar in the profile top bar has gone massive, I had to change that on mine.  I will have to update all my themes from scratch at some point, as there's several changes since I made them. ;)
I did have that happen on another test site, but not had it on my main site.
On the test site I had to change the size in Attachments and Avatars > Uploadable avatars

The only person who got all his work done by Friday was Robinson Crusoe

lurkalot

QuoteI did have that happen on another test site, but not had it on my main site.
On the test site I had to change the size in Attachments and Avatars > Uploadable avatars

I did it by changing the css, in index.css,

From this,

#profile_menu_top > img.avatar {
    max-height: 18px;
    max-width: 18px;
    margin: 2px 5px 0 0;
    float: left;
}

To This.

#profile_menu_top > img.avatar {
    height: 18px;
    width: 18px;
    margin: 2px 5px 0 0;
    float: left;
}

lurkalot

QuoteNote* I am using TinyPortal 2.0.1

Les, no doubt you've seen the post over on the main TP site regarding that User block error. You could test TP2.1.0 instead as that has the fix already included.  It's working well here as far as I can tell, we also have it on the TP site, Docs site and running on my TGMF site without issues. ;)

lesmond

Jul 11, 2021, 06:25 AM #14 Last Edit: Jul 11, 2021, 07:19 AM by lesmond
Quote from: lurkalot on Jul 11, 2021, 04:33 AMYou could test TP2.1.0 instead as that has the fix already included
Done  :rgton On my live site https://forum.my-leicester.com/index.php

The only person who got all his work done by Friday was Robinson Crusoe