Jump to content

Emsanator

New Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Emsanator

  1. I am using the Nginx server on ISPconfig. When I get an Internal 500 error, I can't see the error in the error.log file. I was using Apache before and could see errors, Nginx unfortunately I can't see it. I honestly don't know very well about Nginx. I currently have an Error 500 but I can't find where the error is. The file is empty; What can I do to be able to log the 500 Error? PHP 7.4 PHP-FPM - Nginx 1.14.2
  2. Yes, I'm sure because without logging in, the application running on the subdomain cannot be accessed. Anyway, I'll keep researching, thanks for your help.
  3. Yes, I realized I spelled it wrong. I meant that the member's ID is not saved with the form data in the database. Although the member's session is active, it does not see the member's ID when POSTing to the other subdomain. While the `a.example.com` member logs in and can use the `b.example.com` site without any problems since he logs in; Unfortunately, the information of the member is not recorded in the form submission among the subdomains, but when the member logs in, the session are active in all subdomains.
  4. I am sharing sessions between two subdomains and I can see the member's information in their different subdomains. If the member logs out, all subdomains are logged out. All is good so far. However, for example, a.example.com the form information is POSTed to b.example.com. This form information is saved in the database, but the member's ID is not registered. No information is registered to the database with the member. What could be the reason for this? ini_set('session.cookie_domain', substr($_SERVER['SERVER_NAME'], strpos($_SERVER['SERVER_NAME'], "."), 100)); setcookie("MID", $_SESSION['uID'], 60 * 60 * 24 * 100, '/', '.example.com'); session_set_cookie_params(60 * 60 * 24 * 100, '/', '.example.com', false, false); ini_set('session.save_path', $pathStorageMembers . 'sessions'); ini_set('session.cookie_lifetime', 60 * 60 * 24 * 100); ini_set('session.gc_maxlifetime', 60 * 60 * 24 * 100); session_start(); Thank you.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.