Skip to content

LoginUser custom validation is not working on blog tutorial (v 4.3.1) #1006

@aurelio1811

Description

@aurelio1811

Hello, my name is Aurelio Martinez, from Venezuela (South America). first all all, sorry for my bad english because my native language is spanish.
I am learning web development with php and prado framework, using php version 8.3.27 on linux mint 22.1 (xia), an prado 4.3.1.
but I have problems with blog tutorial. I installed prado using: "composer create-project pradosoft/prado-app blog", and then: "composer update", adding "pradosoft/prado-wsat": "^4" in the "require" section of composer.json. I am using mysql instead of sqlite as database.
Problem arises when testing LoginUser page: custom validator not working. Any input in the Username and Password control always generate same exception: "[Unknown Error] base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated (@line 68 in file /var/www/html/blog/protected/vendor/pradosoft/prado/framework/Web/UI/TPageStateFormatter.php). (Error Code: 0)", as shown in attached file: "LoginUser_Exception.png".

I attached some other files. Any help will be appreciated. Thanks.

Image

application.xml

other_files.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions