Iām new on this community and the use of CRMSuite.
Iām trying to upgrade from the version 7.14.xx to 8.5.xx but after recommandation displayed in this page (SuiteCRM 7.12.x+ migration to SuiteCRM 8.x :: SuiteCRM Documentation) and at the execution of the following command under xampp console :
I think you could try to move ahead, but make sure you have backup of all your data and custom code files from previous CRM system. So, if anything went wrong, you could go back to previous version.
@fbigare thatās a protection that SuiteCRM has against security attacks. So that is SuiteCRM itself āquittingā from doing its job.
I donāt have the slightest idea why that should happen in an upgrade. Probably a bug. There must be something specific to XAMP that isnāt tested and is causing something to go wrong.
If you are technical enough to explore the code causing the error, that would be helpful. The message exists in (line numbers may vary a bit):
public/legacy/include/utils.php : line 2533
and
public/legacy/include/utils.php : line 2783
If you can find out which one of the two it is, and if you can print the value of the offending string, that would be great. The string is a variable called $str in the first one, and $value in the other.
Hi rsp,
thanks for your advice, Iām working on a test version that I can recreate and reinstallā¦
I have tried to move ahead but Iām blocked later wih another error ā¦
pgr is asking me to check the utils.php file, I will keep in touch you and pgr about the progressā¦
Thank you verry much for your help ā¦
@pgr
Thanks for your feedback, I will come back to you with the detailed call stack ā¦ may be it could help you to find my mistake ā¦
But I will send the post tomorrow ā¦
Regards
Fabrice
Hi pgr,
Sorry to answer you only now (hollidays and jobs )
Thanks for your help .
I found the problem and resolve it based on your comment.
I have displayed parameters used in the āpreg_matchā php function used in the āutils.phpā file and I have noticed in the regexp parameter that the character \ is not treated. In fact the preg_match function return false when Iām using \\ to determine the path of the php file āconsoleā at the execution of the command prompt.
My solution is to simply call the php āconsoleā file like a unix command and use the character / as below