Pilou Posted July 26, 2021 Share Posted July 26, 2021 (edited) Hello, I just try to migrate fron Ps 1.6.1.26 (it's a community version with Php 7.4 support). The migration worked fine, no error message. In FO, the home page is displayed correctly. But when I wanted to see a product page, I have the error messsage "500 Server error" With Debug mode activated, the message is : What is this error please ? Can you help me please ? Kind regards, Pilou Edited July 26, 2021 by Pilou Link to comment Share on other sites More sharing options...
0 yaniv14 Posted July 26, 2021 Share Posted July 26, 2021 Try to compare your classes folder to the one in the repository: https://github.com/thirtybees/thirtybees/tree/main/classes look for Pack.php file existence Link to comment Share on other sites More sharing options...
0 Pilou Posted July 26, 2021 Author Share Posted July 26, 2021 (edited) Hi @yaniv14 Thanks for your answer. Pack.php file exist. And classes folder seems to be the same as the one in the repository. Edited July 26, 2021 by Pilou Link to comment Share on other sites More sharing options...
0 Wartin Posted July 26, 2021 Share Posted July 26, 2021 Do you have any overrides in place? you can check it installing the module 'override check' from back office. Link to comment Share on other sites More sharing options...
0 Pilou Posted July 27, 2021 Author Share Posted July 27, 2021 Hi Wartin, Thanks for your answer. I installed the module override check but there was no overrides. Link to comment Share on other sites More sharing options...
0 Pilou Posted July 27, 2021 Author Share Posted July 27, 2021 (edited) I did again the backup of my ps site. Installed it in a sub folder thirtybees, make it operationnal (good db parameters, .htaccess). And migrated it again. Error message: SQL 2.1.0.8 1064 in INSERT INTO `ps_configuration`(`name`, `value`, `date_add`, `date_upd`) SELECT 'TB_MAIL_SUBJECT_TEMPLATE', '[{shop_name}] {subject}', NOW(), NOW() WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'TB_MAIL_SUBJECT_TEMPLATE' ) = 0: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE ( SELECT COUNT(*) FROM `ps_configuration` WHERE `name` = 'T...' at line 3 I activated the Debug mode and It displayed an error message: Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Warning à la ligne 32 du fichier /home/gigapjgx/public_html/thirtybees/modules/mollie/src/Config/Env.php [2] constant(): Couldn't find constant Mollie\Config\Config::SENTRY_ENV Does anyone have an idea ? Kind regards, Pilou Edited July 27, 2021 by Pilou Link to comment Share on other sites More sharing options...
0 toplakd Posted July 27, 2021 Share Posted July 27, 2021 (edited) For the migration error message: That's nothing critical, as its only related to "Advanced Parameters/Email/Email subject template" field, which is missing "[{shop_name}] {subject}". You have to add it manually. Edited July 27, 2021 by toplakd Link to comment Share on other sites More sharing options...
0 Pilou Posted July 27, 2021 Author Share Posted July 27, 2021 Hi toplakd, Thank you for your answser, it was easy to fix it. Link to comment Share on other sites More sharing options...
0 Wartin Posted July 27, 2021 Share Posted July 27, 2021 So, Pack:isPack() error is gone? Link to comment Share on other sites More sharing options...
0 Pilou Posted July 27, 2021 Author Share Posted July 27, 2021 Yes. I continue the testing. Link to comment Share on other sites More sharing options...
Question
Pilou
Hello,
I just try to migrate fron Ps 1.6.1.26 (it's a community version with Php 7.4 support).
The migration worked fine, no error message.
In FO, the home page is displayed correctly.
But when I wanted to see a product page, I have the error messsage "500 Server error"
With Debug mode activated, the message is :
What is this error please ?
Can you help me please ?
Kind regards,
Edited by PilouPilou
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now