CoreBOSBB

Full Version: [solved] Message security error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
coreBOS security error, try reloading page

What does this message mean?

How to prevent this?
This should be telling you that your session on screen has expired. You have to reload the page.

As usual, security getting in the way of productivity
Ok, thanks.

I cleaned cache browser and works now.
Hello:

I am trying to migrate a CoreBos to another server, but when I try to log in, appears the next message:

coreBOS security error, please try reloading the page

I turn on debug mode and Databade debug and this is the results:

(mysqli): SELECT id FROM vtiger_users WHERE is_admin='On' and status='Active' limit 1 (mysqli): select 1 FROM vtiger_globalvariable INNER JOIN vtiger_crmentity ON vtiger_crmentity.crmid = vtiger_globalvariable.globalvariableid where vtiger_crmentity.deleted=0 and gvname='Debug_Calculate_Response_Time' limit 1

coreBOS security error, please try reloading the page

The original code have a .htacess flie, created by cPanel, like this:

# 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)
<IfModule php7_module>
php_flag display_errors Off
php_value max_execution_time 50000
php_value max_input_time -1
php_value max_input_vars 5000
php_value memory_limit -1
php_value post_max_size 64M
php_value session.gc_maxlifetime 21600
php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off
php_value serialize_precision -1
</IfModule>
<IfModule lsapi_module>
php_flag display_errors Off
php_value max_execution_time 50000
php_value max_input_time -1
php_value max_input_vars 5000
php_value memory_limit -1
php_value post_max_size 64M
php_value session.gc_maxlifetime 21600
php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
php_value upload_max_filesize 64M
php_flag zlib.output_compression Off
php_value serialize_precision -1
</IfModule>
# END cPanel-generated php ini directives, do not edit

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php71” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php71 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Whit this file, login screen dont appears. Then, I delete this file, and change it for the this one:

Options -Indexes

<FilesMatch "(?i)\.(gif|jpe?g|png)$">
Allow from all
Satisfy Any
</FilesMatch>

<FilesMatch "^(sync|Pay|processSendNotification|capture|webservice|ping|TrackAccess)\.php$">
Allow from all
Satisfy Any
</FilesMatch>

Now, the login screen appears, and works, but I can´t log in. Any idea? Thaks!
migrating like that is all about changing config.inc.php file

review all the settings that file, your problem is most probably there
Joe:
Thanks for your quick response.
The file config.inc.php have the right values, in the database configuration, and the $root_directory and $site_url too.

Any idea?
is it really PHP 7.1? maybe that is the issue. Try with 7.4
Thanks, Joe. I change the php version to 7.4, and the issue repeats again.

I finally solved it comparing the files in the root directory of this Corebos with a clear instalation, and I discover that cPanel create three custom files, .htaccess, user.ini and php.ini. When I delete the three files, it works. I can log in and the security error disapear. Now, I try to update to last version

Regards, and Merry Christmas!
Great!

Merry Christmas :-D