session access error

Discussion in 'Installation/Configuration' started by sou19, Feb 2, 2023.

  1. sou19

    sou19 New Member

    After the migration all users can't connect to a wordpress site
    #Ispcofig3.2.9
    #PhP 7.3
    #ubuntu 22
    #web server : Apache

    I get this error on the site :

    Code:
    Warning: session_start(): open(/var/www/clients/xxx/xxx/tmp/sess_xxxxx, O_RDWR) failed: No such file or directory (2) in /www/clients/xxx/xxxx/web/req.php on line 5
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Delete all files in folder /var/www/clients/xxx/xxx/tmp/ and try again. And take care that website settings are correct PHP mode should be php-fpm and suexec checkbox must be enabled.
     
  3. sou19

    sou19 New Member

    The folder /var/www/clients/xxx/xxx/tmp/ does not exist on my new server
    The php mode is php-frm
    suexec is enabled
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Then you must have configured that folder somewhere outside of ISPConfig, e.g. in the config of that cms or in a .htaccess file or similar. Find the place where you set it and change it to the correct new location for the site.
     
  5. sou19

    sou19 New Member

    Thank you Till for your answer

    I have solved my problem:

    Code:
    chattr -Vi /var/www/clients/xxx/webxx/
    
    Flags of webxx set as --------------e-------
    
    chattr -i /var/www/clients/xxx/webxx
    
    mkdir -p /var/www/clients/webxx/tmp
     
    ahrasis likes this.

Share This Page