#1466 new
peters@slx-online.biz

Exponent 2.6.0 Unexpected Error

Reported by peters@slx-online.biz | June 15th, 2022 @ 06:04 PM

Hi Dave. Development work on the new site has been going well. Template is near enough done and I'm waiting for new content now. Thanks for all the help you gave me, the tabs code was a game changer.

A few days ago when I last accessed the site it was working fine. Today I loaded the site to see these two messages. Nobody with access admits to having done anything, so it's a mystery where it's come from. Please can you help? Thank you. Peter.

Warning: session_start(): open(/var/cpanel/php/sessions/ea-php70/sess_073c2aeb2d2ad4a7ec7e5c08ba0e4e17, O_RDWR) failed: No such file or directory (2) in /home/britisht/public_html/2-6-0/framework/core/subsystems/expSession.php on line 126

Warning: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php70) in /home/britisht/public_html/2-6-0/framework/core/subsystems/expSession.php on line 126

Comments and changes to this ticket

  • peters@slx-online.biz

    peters@slx-online.biz June 16th, 2022 @ 07:25 AM

    Thanks Dave. I'll open a ticket with UK2. Peter.

  • peters@slx-online.biz

    peters@slx-online.biz June 16th, 2022 @ 03:33 PM

    Hi Dave. So first response from UK2, after opening a live chat after no response to ticket,was that it's our fault! I pushed them some more, and they eventually came back with .htaccess has some function that's no longer used. They replaced it and the problem went away. The strange thing is it's the .htaccess on the live site root folder they updated, not the one in the development folder /2-6-0. The live site is still at down level, I've not updated as I'm hoping to go live soon with the new site.

    I got a notice that 2.6.1 is available today, but it's not there when I click the link to download. I'm guessing it's on your to do list. I'll check back in a day or two!

    Thanks again for your help.

    Peter.

  • peters@slx-online.biz

    peters@slx-online.biz June 16th, 2022 @ 04:10 PM

    :-))

    I did attach a copy of the .htaccess, but here's what's in it:

    Don't show directory listings.

    Options -Indexes

    Route requests to Exponent.

    DirectoryIndex index.php

    Various rewrite rules.


    RewriteEngine On

    # you may have to edit/uncomment the next line if running eXp from a subfolder
    

    RewriteBase /subfolder-name

    # if moving eXp from a subfolder to root, edit/uncomment ONLY one of the next 3 lines
    

    Redirect 301 /testfolder http://yourdomain.org/

    RedirectMatch 301 ^/testfolder/$ http://yourdomain.org/

    RewriteRule ^testfolder/(.*)$ /$1 [R=301,NC,L]

    # To redirect all users to access the site WITH the 'www.' prefix,
    # (http://example.com/... will be redirected to http://www.example.com/...)
    # uncomment and adapt the following:
    

    RewriteCond %{HTTP_HOST} ^example.com$ [NC]

    RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]

    # To redirect all users to access the site WITHOUT the 'www.' prefix,
    # (http://www.example.com/... will be redirected to http://example.com/...)
    # uncomment and adapt the following:
    

    RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]

    RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]

    # To force the domain to serve the site securely using HTTPS,
    # (http://www.example.com/... will be redirected to https://www.example.com/...)
    # uncomment and adapt the following:
    

    RewriteCond %{HTTPS} !=on

    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    RewriteRule ^.*\.git.* - [R=404]
    

    the next two lines will dish out .html pages if they exist, which may not be a desired effect!

    RewriteRule ^$ index.html [QSA]
    RewriteRule ^([^.]+)$ $1.html [QSA]
    
    # RewriteRule ^login.php$ login/showlogin
    
    # Kludge out certain file types that we don't want to try to route thru the eXp router.
    # Kludge out image files that we don't want to try to route thru the eXp router.
    # Kludge out media files that we don't want to try to route thru the eXp router.
    # Kludge out certain other misc files that we don't want to try to route thru the eXp router.
    
    # These rules basically state if it isn't an existing file, directory or symlink, route it to index.php
    RewriteCond %{REQUEST_URI} !\.(css|js|pdf|shtml|htc|map)$ [NC]
    RewriteCond %{REQUEST_URI} !\.(jp?g|gif|png|tiff)$ [NC]
    RewriteCond %{REQUEST_URI} !\.(mp3|mp4|webm|ogv|flv|f4v)$ [NC]
    RewriteCond %{REQUEST_URI} !^/robots\.txt$ [NC]
    RewriteCond %{REQUEST_URI} !^/favicon\.ico$ [NC]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l
    RewriteRule ^(.*)$ index.php [QSA,L]
    

    ErrorDocument 403 /index.php?controller=notfound&action=handle_not_authorized&error=403
    ErrorDocument 404 /index.php?controller=notfound&action=handle&error=404
    ErrorDocument 500 /index.php?controller=notfound&action=handle_internal_error&error=500

    BEGIN cPanel-generated php ini directives, do not edit

    Manual editing of this file may result in unexpected behavior.

    To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)

    For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)


    php_flag engine On php_flag short_open_tag On php_value precision 14 php_value output_buffering Off php_flag zlib.output_compression Off php_flag implicit_flush Off php_value serialize_precision 100 php_flag zend.enable_gc On php_value max_execution_time 10000 php_value max_input_time 10000 php_value max_input_vars 10000 php_value memory_limit 10000M php_value error_reporting E_ALL & ~E_NOTICE php_flag display_errors Off php_flag display_startup_errors Off php_flag log_errors Off php_value log_errors_max_len 1024 php_flag ignore_repeated_errors Off php_flag ignore_repeated_source Off php_flag report_memleaks On php_flag html_errors On php_value error_log "error_log" php_value variables_order "GPCS" php_value request_order "GP" php_flag register_argc_argv On php_flag auto_globals_jit On php_value post_max_size 10000M php_value default_mimetype "text/html" php_value default_charset "UTF-8" php_value upload_max_filesize 10000M php_value default_socket_timeout 60 php_flag cli_server.color On php_value date.timezone "Europe/London" php_flag mail.add_x_header On php_value odbc.defaultlrl 4096 php_value odbc.defaultbinmode 1 php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S" php_value ibase.dateformat "%Y-%m-%d" php_value ibase.timeformat "%H:%M:%S" php_value mysqli.default_port 3306 php_value pgsql.ignore_notice 0 php_value pgsql.log_notice 0 php_value bcmath.scale 0 php_value session.save_handler "files" php_value session.save_path "/var/cpanel/php/sessions/ea-php74" php_flag session.use_strict_mode Off php_flag session.use_cookies On php_flag session.use_only_cookies On php_value session.name "PHPSESSID" php_flag session.auto_start Off php_value session.cookie_lifetime 0 php_value session.cookie_path "/" php_value session.serialize_handler "php" php_value session.gc_probability 0 php_value session.gc_divisor 0 php_value session.gc_maxlifetime 1500 php_value session.cache_limiter "nocache" php_value session.cache_expire 180 php_flag session.use_trans_sid Off php_value session.hash_function "0" php_value session.hash_bits_per_character 5 php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry" php_flag tidy.clean_output Off php_flag soap.wsdl_cache_enabled On php_value soap.wsdl_cache_dir "/tmp" php_value soap.wsdl_cache_ttl 86400 php_value soap.wsdl_cache_limit 5

    php_flag engine On php_flag short_open_tag On php_value precision 14 php_value output_buffering Off php_flag zlib.output_compression Off php_flag implicit_flush Off php_value serialize_precision 100 php_flag zend.enable_gc On php_value max_execution_time 10000 php_value max_input_time 10000 php_value max_input_vars 10000 php_value memory_limit 10000M php_value error_reporting E_ALL & ~E_NOTICE php_flag display_errors Off php_flag display_startup_errors Off php_flag log_errors Off php_value log_errors_max_len 1024 php_flag ignore_repeated_errors Off php_flag ignore_repeated_source Off php_flag report_memleaks On php_flag html_errors On php_value error_log "error_log" php_value variables_order "GPCS" php_value request_order "GP" php_flag register_argc_argv On php_flag auto_globals_jit On php_value post_max_size 10000M php_value default_mimetype "text/html" php_value default_charset "UTF-8" php_value upload_max_filesize 10000M php_value default_socket_timeout 60 php_flag cli_server.color On php_value date.timezone "Europe/London" php_flag mail.add_x_header On php_value odbc.defaultlrl 4096 php_value odbc.defaultbinmode 1 php_value ibase.timestampformat "%Y-%m-%d %H:%M:%S" php_value ibase.dateformat "%Y-%m-%d" php_value ibase.timeformat "%H:%M:%S" php_value mysqli.default_port 3306 php_value pgsql.ignore_notice 0 php_value pgsql.log_notice 0 php_value bcmath.scale 0 php_value session.save_handler "files" php_value session.save_path "/var/cpanel/php/sessions/ea-php74" php_flag session.use_strict_mode Off php_flag session.use_cookies On php_flag session.use_only_cookies On php_value session.name "PHPSESSID" php_flag session.auto_start Off php_value session.cookie_lifetime 0 php_value session.cookie_path "/" php_value session.serialize_handler "php" php_value session.gc_probability 0 php_value session.gc_divisor 0 php_value session.gc_maxlifetime 1500 php_value session.cache_limiter "nocache" php_value session.cache_expire 180 php_flag session.use_trans_sid Off php_value session.hash_function "0" php_value session.hash_bits_per_character 5 php_value url_rewriter.tags "a=href,area=href,frame=src,input=src,form=fakeentry" php_flag tidy.clean_output Off php_flag soap.wsdl_cache_enabled On php_value soap.wsdl_cache_dir "/tmp" php_value soap.wsdl_cache_ttl 86400 php_value soap.wsdl_cache_limit 5

    END cPanel-generated php ini directives, do not edit

    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{HTTP_HOST} ^britishtrolley.org.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www.britishtrolley.org.uk$
    RewriteRule ^(.*)$ "https:\/\/www.britishtrolley.org.uk\/$1" [R=301,L]
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP:X-Forwarded-SSL} !on
    RewriteCond %{HTTP_HOST} ^britishtrolley.org.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www.britishtrolley.org.uk$
    RewriteRule ^amember\/?(.*)$ "https:\/\/www.britishtrolley.org.uk\/amember$1" [R=301,L]
    RewriteCond %{HTTP_HOST} ^britishtrolley.org.uk$ [OR]
    RewriteCond %{HTTP_HOST} ^www.britishtrolley.org.uk$
    RewriteRule ^2-6-0\/?(.*)$ "https:\/\/britishtrolley.org.uk\/2-6-0$1" [R=301,L]

  • peters@slx-online.biz

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Attachments

Tags

Pages