12-21-2022, 08:10 PM
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!
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!