Uploaded image for project: 'CMS CONTENIDO'
  1. CMS CONTENIDO
  2. CON-2315

Protected area form in example client is broken

    Details

      Description

      Please make sure to fix CON-2323 first

      Protected area form of example client is slightly broken.

      Sometimes a different form to login is rendered with php tags in output. The template $cfg["templates"]["front_loginform"] is related to this.

      This problem consists of two bugs:

      • In contenido/includes/frontend/include.front_crcloginform.inc.php the template $cfg['path']['contenido'] . $cfg["path"]["templates"] . $cfg["templates"]["front_loginform"] is generated if no redirect through a location header happens before. This generation or template is incorrect.
      • $err_cat    = trim(getEffectiveSetting('login_error_page', 'idcat', ''));

        returns an empty string after code cache is deleted. 2nd call $errcat returns "41".

      Steps to reproduce:
      Install example client
      Login at backend
      Delete the code cache for all client under Administration / System / Purge
      Go to Content / Articles / Main Navigation / Features / Protected Area / Properties
      Select "Article link" to article only.
      Click open
      template.front.loginform.html is displayed first time
      Reload
      Usual login mask using $err_cat is displayed correctly

        Attachments

          Activity

            People

            • Assignee:
              frederic.schneider Frederic Schneider
              Reporter:
              thomas.stauer thomas.stauer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: