Fork me on GitHub

Upgrade from 1.1.2 --> 1.2.4 Problem  Bottom

Go to page 1 - 2 [+1]:

  • I've encountered a strange problem, I've upgraded to 1.2.4 and I can't no longer log-in to my site.

    Code

    Sorry! Unrecognised user name or password. Please try again.

    Although in the database the nickname is there.
    I have a feeling the Profile module has something to do with it, but I just can't pinpoint it...

    Code

    Unknown column 'pn_prop_modname' in 'field list'

    is also a common error I get...

    - Igor
  • Sorry, The title is not accurate, I first upgraded from 1.1.2 to 1.2.3 which went fine, it was after upgrading from 1.2.3 to 1.2.4 the problem appeared.

    - Igor
  • 1 Problem solved so far...
    it seems the upgrade deleted two columns in the table _PREFIX_user_property, the 'pn_prop_modname' and 'pn_prop_attribute_name', after adding them again with a back-up, the Profile module works OK.
    However I noticed on a fresh 1.2.4 install the table _user_property has no column 'pn_prop_modname' anymore.

    Logging still not working however...

    - Igor
  • Change the following code in the function pnVarValidate

    Code

    if ($type == 'uname') {
            // check for invalid characters
            if (preg_match('/[^\p{L}\p{N}_\.]/u', $var)) {
                return false;
            }
        }


    back to the one which is used for v1.2.3

    Code

    if ($type == 'uname') {
            // check for invalid characters
            if (strstr($var, chr(160)) || strstr($var, chr(173))) {
                return false;
            }
        }


    That worked for me.
  • Please report all bugs, so they can be properly tracked and addressed:

    http://code.zikula.org/core/newticket

    Also, read the post "Submitting Bug Report Tickets That Get Results":

    http://]http://blog.…Get-Results.71.html

    Thanks.
  • TkdAndi

    Change the following code in the function pnVarValidate

    Code

    if ($type == 'uname') {
            // check for invalid characters
            if (strstr($var, chr(160)) || strstr($var, chr(173))) {
                return false;
            }
        }
    That worked for me.
    That did the trick indeed! Thank you, never occured to me to check there icon_smile



    AllKnightAccess

    Please report all bugs, so they can be properly tracked and addressed:
    Thanks.
    I understand, but it takes ages to load just one page on the tracker, and now I got this when I try to log-in:

    Code

    Traceback (most recent call last):
    etc...
    and blank......

    - Igor
  • Quote

    That did the trick indeed!

    In which file do we have to do the change?
  • includes\pnAPI.php
    line 890

    - Igor
  • It does not help in my case: no chance to log in!
  • We have problems on support.zikula.de, too. The user "Petzi-Juist" cannot log in.
  • I created a ticket (#2502).
  • Grrr....
    Can't login at the Cozi at the moment.
    Maybe it help someone to fix it...

    Code

    <?php
    $c = 'Petzi-Juist';
    echo "Petzi-Juist = ";
    echo preg_match('/[^\p{L}\p{N}_\.]/u', $c); // 1
    echo "< br />";
    $c = 'PetziJuist';
    echo "PetziJuist = ";
    echo preg_match('/[^\p{L}\p{N}_\.]/u', $c); // 0
    echo "< br />";
    $c = 'Petzi-Juist';
    echo "Petzi-Juist = ";
    echo preg_match('/[^\p{L}\p{N}_\.\-]/u', $c); // 0
    ?>


    Regards Petzi winke



    Edited by Petzi-Juist on Aug 25, 2010 - 06:46 PM.

    --
    Petzi-Juist :: ... welcome to my digital world ...
  • thilowitt

    It does not help in my case: no chance to log in!

    I have no clue either then, but maybe you could try delete all files in
    pnRender/xxx_compiled
    pnRender/xxx_cache
    and delete the cookies for your site...
    Maybe, just maybe also empty your table .PREFIX._session_info

    - Igor
  • I am looking into Ticket #2502. I might have some questions for those of you who have run into this issue. I will be using the ticket to ask these questions, so if you have been affected, please monitor #2502 if possible.

    Petzi: The hyphen (a.k.a. the dash, the '-' character) was specifically discussed when we were determining what characters to allow. Unfortunately, the decision was made to not allow it—although we were "on the fence" about it. I will add it as a legal character either under #2502 or under a separate ticket depending on whether the actual root issue with #2502 affects 1.3 as well.

    --
    - Robert

    Ohloh profile for Robert Burkhead

    Stack Overflow profile for RobertB at Stack Overflow, Q&A for professional and enthusiast programmers
  • rmburkhead

    The hyphen (a.k.a. the dash, the '-' character) was specifically discussed when we were determining what characters to allow.


    What characters are on the allowed list? I've got lots of users with either/both periods, dashes and maybe other punctuation type characters in their usernames.

    --
    Damon
    Catamaran Sailing at TheBeachcats.com

Go to page 1 - 2 [+1]:

This list is based on users active over the last 60 minutes.