
Unable to login
Reported by Peter | September 23rd, 2022 @ 10:43 AM | in User issues
Suddenly I can no longer log into the site https://www.britishtrolley.org.uk/logmein.php . I created a standalone page yesterday, which I accessed today after logging in. At some point I logged out then went to the standalone page https://www.britishtrolley.org.uk/ShopProductsOther . The I tried to log in again, but after entering login details I am not logged in. I have tried other logins than my own without success, including the one I set up for you. You should still have lighthouse2 and pwd begins sU........
I have cleared site cache and done a restart. Weird (and worrying). I've asked another user to see if he can login, not heard back yet. Any ideas please?
Peter.
Comments and changes to this ticket
-
Peter September 23rd, 2022 @ 10:51 AM
Just remembered, UK2 made a change as I was getting cron job errors from the membership system on the same domain. They said:
""I have decreased the PHP ini Editor resources for your server, this was far beyond a normal limitation, which could cause the issue with the cron job to fail, as such I've set these back down to a normal range and applied compression. This will hopefully assist with your cron job.
This is related to the 500 error provided previously, please let us know if you face any further issues. ""
I see the .htaccess had been changed, I've re-uploaded the original but I still can't log in.
-
Peter September 23rd, 2022 @ 10:56 AM
Here's what they added to .htaccess, right now I'm back on the original one but still locked out:
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 480 php_value max_input_time 420 php_value max_input_vars 1000 php_value memory_limit 1000M 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-php70" 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 480 php_value max_input_time 420 php_value max_input_vars 1000 php_value memory_limit 1000M 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-php70" 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 5END cPanel-generated php ini directives, do not edit
-
dleffler September 23rd, 2022 @ 12:02 PM
- State changed from new to open
- Milestone set to User issues
Do you know what the setting was before/after this change?
In the above php.ini I see
memory_limit 1000M
-
Peter September 23rd, 2022 @ 12:17 PM
Sorry, I'm getting confused... (not unusual :-) ). UK2 claims they didn't change .htaccess. It certainly doesn't match the file I had locally. So I've put it back as I think it was. UK2 say they have reverted the changes.
I'm assuming from what you've just said that the extra php.ini stuff was UK2's work. So, here's my own reset so far:
-
I have put back what I thought was the original .htaccess without all that php.ini stuff. Please can you verify it's the right one?
-
I still can't log in. Neither can one of my colleagues. So it's a site not local problem.
-
Given UK2 messed around about the same time, it's probably their fault.
-
Except they have supposedly reverted to as before (see 1.)
-
I don't know what the memory_limit value was before.
Peter.
-
-
dleffler September 23rd, 2022 @ 12:52 PM
I'm not sure how UK2 operates in regards to server settings. They seem to dump ALL PHP system variables into the .htaccess instead of only the non-default ones (found in the system's php.ini file)...or using a server user profile file (phprc).
Is it possible to get a web server (apache) error log? If Exponent error reporting is not already turned on, you can manually turn it on by editing the /framework/conf/config.php file and changing 1 line from a '0' to '1'
define("DEVELOPMENT",'1');
-
Peter September 23rd, 2022 @ 01:01 PM
Thanks Dave. I've switched errors on. Login screen:
Warning: session_start(): open(/var/cpanel/php/sessions/ea-php70/sess_c917b29fcbd57798d2e1ef76e17def7e, O_RDWR) failed: No such file or directory (2) in /home/britisht/public_html/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/framework/core/subsystems/expSession.php on line 126
Same after attempting login.
-
dleffler September 23rd, 2022 @ 01:05 PM
Report that to UK2. There's a server setup issue on their end where Exponent can manage PHP sessions because their web server isn't saving files due to a PHP setting where the path doesn't exist or the drive is full (no space left for the server (not Exponent) to save session files.
-
Peter September 23rd, 2022 @ 01:13 PM
I suspected they had broken something. Just looking at the latest error logs on cPanel. There are no errors shown since last Saturday, when it looks like somebody with finger trouble trying to login. I'll continue to rattle their cage... Thanks. I'll let you know how we get on. Peter.
-
Peter September 24th, 2022 @ 10:39 AM
After lots of nagging UK2 has finally fixed the problem. Thanks for your help and advice. Peter.
-
dleffler November 10th, 2022 @ 11:35 AM
- State changed from open to resolved
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.