Fatal Error after data-migration in Frontend
Fatal Error after data-migration in Frontend
I Installed the newest Version of CE Phoenix and migrated old Data from an OSCommerce-Installation. Backend works fine and the Migration Utility was finished without an Error.
But since that my Frontend shows me:
Fatal error: Uncaught Error: Undefined constant "TITLE" in [Server-Path]/catalog/includes/classes/application.php:65 Stack trace: #0 [Server-Path]/catalog/includes/system/versioned/1.0.8.1/hooks.php(160): Application->set_template_title(Array) #1 [Server-Path]/catalog/includes/application_top.php(30): hooks->generate('startApplicatio...') #2 [Server-Path]/catalog/index.php(13): require('[SerPath]...') #3 {main} thrown in [Server-Path]/catalog/includes/classes/application.php on line 65
But since that my Frontend shows me:
Fatal error: Uncaught Error: Undefined constant "TITLE" in [Server-Path]/catalog/includes/classes/application.php:65 Stack trace: #0 [Server-Path]/catalog/includes/system/versioned/1.0.8.1/hooks.php(160): Application->set_template_title(Array) #1 [Server-Path]/catalog/includes/application_top.php(30): hooks->generate('startApplicatio...') #2 [Server-Path]/catalog/index.php(13): require('[SerPath]...') #3 {main} thrown in [Server-Path]/catalog/includes/classes/application.php on line 65
Re: Fatal Error after data-migration in Frontend
... found out, that the problem is located in - lets say the "translation"
is there a Complete Pac for german shops allready?
is there a Complete Pac for german shops allready?
-
- VIP Member
- Posts: 1996
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 26 times
- Been thanked: 175 times
Re: Fatal Error after data-migration in Frontend
Look in Addons (linked in your admin and here on the forum, e.g. app.php/addons/free/language-23
Re: Fatal Error after data-migration in Frontend
Hello, I have a similar problem.
CE Phoenix current version under PHP 8.0.25.
CE Phoenix has been completely reinstalled. In English, the backend and frontend work flawlessly.
After installing from the German localisation (app.php/addons/free/language-23) I can log in as admin, but only see a blank screen.
The frontend works normally, but remains in English localisation.
The setup was made to the German localisation according to the following specification: https://github.com/cupidare/PhoenixCart-German-Language
Who can help here?
Best regards,
CE Phoenix current version under PHP 8.0.25.
CE Phoenix has been completely reinstalled. In English, the backend and frontend work flawlessly.
After installing from the German localisation (app.php/addons/free/language-23) I can log in as admin, but only see a blank screen.
The frontend works normally, but remains in English localisation.
The setup was made to the German localisation according to the following specification: https://github.com/cupidare/PhoenixCart-German-Language
Who can help here?
Best regards,
- Kofod95
- VIP Member
- Posts: 605
- Joined: Sat Feb 06, 2021 7:38 pm
- Has thanked: 80 times
- Been thanked: 141 times
Re: Fatal Error after data-migration in Frontend
For the problem in admin: a white screen usually means that there is something to find in the error-log - the translation most likely needs some updating done, which would allow admin to function in German as well - the error-log would point you in the direction of which files needs updating, but alternatively, you could compare the versions on GitHub to find the relevant changes to make.
For the frontend:
Is it unable to switch to German, or does it just default to English? If it is just the default that is wrong, clearing cookies and cache may help, but only if your browser is set up as German.
//Daniel
For the frontend:
Is it unable to switch to German, or does it just default to English? If it is just the default that is wrong, clearing cookies and cache may help, but only if your browser is set up as German.
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
Re: Fatal Error after data-migration in Frontend
Hello Daniel, Thank you for your reply.
The cache has been deleted. Logging into the English backend works.
As soon as I log into the backend in German, I only see a white screen.
Question: Where and how can I do the localisation (only for the frontend) myself?
The cache has been deleted. Logging into the English backend works.
As soon as I log into the backend in German, I only see a white screen.
Question: Where and how can I do the localisation (only for the frontend) myself?
- Kofod95
- VIP Member
- Posts: 605
- Joined: Sat Feb 06, 2021 7:38 pm
- Has thanked: 80 times
- Been thanked: 141 times
Re: Fatal Error after data-migration in Frontend
To fix the German backend you can do as I described previously, or you could simply copy all the English files for admin and rename the main file as well as the directory to German.
To manage languages, check the User Guide: https://phoenixcart.org/phoenixcartwiki ... =Languages
If you mean how you could make your own translation, then you should copy all English files, rename the main (english.php) and the directory and then start translating (that can be done from the admin->tools->define language)
//Daniel
To manage languages, check the User Guide: https://phoenixcart.org/phoenixcartwiki ... =Languages
If you mean how you could make your own translation, then you should copy all English files, rename the main (english.php) and the directory and then start translating (that can be done from the admin->tools->define language)
//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
Here are a lot of corns: Phoenix user guide
-
- VIP Member
- Posts: 1996
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 26 times
- Been thanked: 175 times
Re: Fatal Error after data-migration in Frontend
Looking at that Language Addon, it can be seen it has not been updated by the author since PhoenixCart v1.0.8.15 so there might be problems if you are using v1.0.8.20.
It is likely that the German Language Pack will be updated very soon with thanks to @raiwa.
-
- VIP Member
- Posts: 1996
- Joined: Mon Oct 07, 2019 4:39 am
- : Buy Me A Beverage
- Has thanked: 26 times
- Been thanked: 175 times
Re: Fatal Error after data-migration in Frontend
It is possible that it will be available after a few days so check the Addons Library again for update.