Hi.
By setting a keyword for Admin Panel with Maitenance Mode "ON" and upon logout, getting this error:
Notice: Use of undefined constant HTTPS_CATALOG - assumed 'HTTPS_CATALOG' in /home/myhost/public_html/system/library/user.php on line 60

I tried to add the constant to root folder's define.php:
define('HTTPS_CATALOG',(!empty($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . rtrim(dirname($_SERVER['SCRIPT_NAME']), '/.\\') . '/');

But browser returns "too many redirects" error.

Any tip?
In General
Friday, August 28 2015, 02:14 AM
Share this post:

Accepted Answer

Tuesday, September 08 2015, 04:05 PM - #Permalink
Thanks Gedielson, confirmed and fixed https://github.com/arastta/arastta/issues/193
The reply is currently minimized Show
Responses (3)
  • Accepted Answer

    Friday, August 28 2015, 02:31 PM - #Permalink
    Hi Gedielson,

    Is this happening in the admin panel or catalog?

    Regards
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, August 29 2015, 12:37 AM - #Permalink
    Hi Denis,

    In the catalog.

    Thanks.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, September 09 2015, 01:26 AM - #Permalink
    Now, works like a charm!

    Thank you for the proptitude!

    Best regards.
    The reply is currently minimized Show
Your Reply