We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51502
    • 1 Posts
    description of the problem:
    I built a website on a web hosting with modx2.4.2.
    Everything runs so far wonderful.
    To enable users a automatic registration i installed the package " Login ".
    So far everything runs fine, but the registrated users can not activate there account using the confirmation email link - they get a blank page - the account is not activated .
    If they click the link a the second time , they come depending on the configuration the start or error page.
    The error log contains the following error message :
    [2015-12-20 18:17:58] (ERROR @ /home/www/web211/html/modx-2.4.2-pl/core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set

    I thried to comment out the line in config_check.inc.php, no error message but also a blank page.
    If i call PHPinfo i get for open_basedir:
    open_basedir /home/www/web211/html:/home/www/web211:/usr/share/php:/usr/share/php55/lib/php:/usr/share/php56/lib/php:/usr/bin/convert:/usr/bin/ffmpeg:/tmp:/dev/urandom:/dev/random

    In order to limit the error better I reinstalled modx2.4.2 only with the package "login" and " formit " . An interaction with other packages I exclude therefore and suspect that it is due to the basic configuration ( server ).
    Steps to Reproduce:
    New istalled Modx2.4.2
    New istalled login and formit.
    Create register site (Index2):
    [[!Register?
        &submitVar=`registerbtn`
        &activationResourceId=`5`
        &activationEmailSubject=`Thanks for Registering!`
        &submittedResourceId=`3`
        &usergroups=`mitglied`
        &validate=`nospam:blank,
      username:required:minLength=^6^,
      password:required:minLength=^6^,
      password_confirm:password_confirm=^password^,
      fullname:required,
      email:required:email`
        &placeholderPrefix=`reg.`
    ]]......

    create thanks site (Index 3)
    Thanks for register<br />
    you'll get a email.

    create confirm (Index 5)
    [[!ConfirmRegister? &redirectTo=`4`]]
    Confirmed

    create confirmed site (Index 4)
    You are registed !!!

    The link in the confirm-e-mail looks like:
    http://domain.de/index.php?id=5&lp=andmZzJyYmQ&lu=dGVzdDAwOQ
    Desired result:
    A user can activate his account by e -mail link.
    Would be great someone could help me or tells me what my provider must change ?

    [ul]
    [li]MODX Version: 2.4.2[/li]
    [li]PHP Version: 5.4.45[/li]
    [li]Database (MySQL, SQL Server, etc) Version: 5.5.46[/li]
    [li]installed MODX Extras: login, formit[/li]
    [li]Error Log:
    [2015-12-20 18:17:58] (ERROR @ /home/www/web211/html/modx-2.4.2-pl/core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set
    [/li]
    [/ul]
    [ed. note: tmauser last edited this post 8 years, 4 months ago.]