*

Arnaud

  • **
  • 8 posts
[Help] Problem connecting to login pages
« on: June 26, 2023, 11:55:43 AM »
Hello,

I've been looking for a while but I can't find the solution.
I have the impression that the login pages of the website and oc-admin are not running :

https://www.chutesdemateriaux.fr/index.php?page=login

Even when i put random ids, i don't get any error message.
Has anyone ever had the problem?

Thank you,

*

Arnaud

  • **
  • 8 posts
Re: [Help] Problem connecting to login pages
« Reply #1 on: June 28, 2023, 06:44:06 PM »
To give a bit more data, I use almalinux 8, nginx, php-fpm.

To start, here is my config.php file is it good ?

<?php

ini_set('upload_tmp_dir',dirname(__FILE__).'/oc-content/tmp'); if (
ini_get('session.save_handler') === 'files' )
ini_set('session.save_path',dirname(__FILE__).'/oc-content/tmp');

session_save_path ( ABS_PATH . 'oc-content/uploads/');


/**
 * The base MySQL settings of OSClass
 */
define('MULTISITE', 0);

/** MySQL database name for OSClass */
define('DB_NAME', '**********');

/** MySQL database username */
define('DB_USER', '***********');

/** MySQL database password */
define('DB_PASSWORD', '**************');

/** MySQL hostname */
define('DB_HOST', '**********);

/** Database Table prefix */
define('DB_TABLE_PREFIX', '**********);

define('REL_WEB_URL', '/');

define('OSC_ADMIN_FOLDER', 'oc-admin');
define('OSC_ITEM_URL', 'item');
define('OSC_BASE_URL', 'https://www.chutesdemateriaux.fr/');
define('WEB_PATH', 'https://www.chutesdemateriaux.fr/');

define('OSC_DEBUG', true);             // show PHP error logs and notices
define('OSC_DEBUG_DB', true);          // show DB queries
define('OSC_DEBUG_LOG', true);         // save PHP errors & logs to oc-content/debug.log
define('OSC_DEBUG_DB_LOG', true);      // save DB logs into oc-content/queries.log
define('OSC_DEBUG_DB_EXPLAIN', true);  // save DB explain logs into oc-content/explain_queries.log
define('OSC_DEBUG_CACHE', true);       // show cache debug information, when cache is enabled

?>

*

MB Themes

Re: [Help] Problem connecting to login pages
« Reply #2 on: June 28, 2023, 07:35:45 PM »
If no error message, then login was blocked by browser.
It usually happen on sites without ssl.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Arnaud

  • **
  • 8 posts
Re: [Help] Problem connecting to login pages
« Reply #3 on: June 28, 2023, 08:44:13 PM »
Thank you for your reply.

I have an SSL certificate and the domain name is secure with padlock.

The question I ask myself is that it is a "self-signed" certificate, we will say "lowcoast"

Is it possible that it is not secure enough to be able to access the login ?

*

MB Themes

Re: [Help] Problem connecting to login pages
« Reply #4 on: June 29, 2023, 10:13:56 PM »
No I do not think so.
What is your url?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: [Help] Problem connecting to login pages
« Reply #5 on: June 29, 2023, 10:34:27 PM »
Found it in logs.
Submitted form does not go to osclass.
Try to check with your hosting
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Arnaud

  • **
  • 8 posts
Re: [Help] Problem connecting to login pages
« Reply #6 on: July 07, 2023, 10:02:16 PM »
Thank you for your reply.

What should I ask my host?

Here is the only line that is written to default_error_log  when I try to connect. No other errors.

[Fri Jul 07 19:33:42.269127 2023] [proxy_fcgi:error] [pid 33197:tid 140645809186560] [client 77.201.35.118:58300] AH01071: Got error 'PHP message: PHP Warning:  session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/default/html/oc-includes/osclass/core/Session.php on line 59PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /home/default/html/oc-content/tmp) in /home/default/html/oc-includes/osclass/core/Session.php on line 59PHP message: PHP Warning:  session_regenerate_id(): Cannot regenerate session id - session is not active in /home/default/html/oc-includes/osclass/core/Session.php on line 60', referer: https://www.chutesdemateriaux.fr/index.php?page=login

*

MB Themes

Re: [Help] Problem connecting to login pages
« Reply #7 on: July 08, 2023, 01:29:52 PM »
That error was fixed in newer versions of osclass
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots