After upgrading to 2.3.0.2 I'm getting this error on the frontend.
Notice: Undefined index: english in /home/www/website/catalog/controller/startup/startup.php on line 106
Everything was fine until the upgrade but this error is preventing the page from being viewed with all my products. I haven't been able to fine any topics specifically related to this and I assume its a language issue. I'm only running one language at the moment (en) even though the module install with the upgrade is (en-gb) and the previous one (english) I can no longer select under localisation.
Any help would be truly appreciated.
Notice: Undefined index: english in /home/www/website/catalog/controller/startup/startup.php on line 106
Everything was fine until the upgrade but this error is preventing the page from being viewed with all my products. I haven't been able to fine any topics specifically related to this and I assume its a language issue. I'm only running one language at the moment (en) even though the module install with the upgrade is (en-gb) and the previous one (english) I can no longer select under localisation.
Any help would be truly appreciated.
Yes, the upgrade script runs fine and I have tried from multiple computers and several that have never been the site. Cache has been cleared from all of my office computers. Under IE I also get the "Cannot modify header information" error along with the english error.
I've also tried uploading the files again via ftp (running the upgrade script once uploaded) and still the same error
I've also tried uploading the files again via ftp (running the upgrade script once uploaded) and still the same error
Something went wrong with your upgrade process. You have the language files missing. Opencart 2.3.0.2 changed the directory structure for languages and extensions. I would recommend you to check and re-upload the language folders for admin and catalog.
Maybe your language code is wrong, are you go to admin > system > localisation > language > english and updated valid language code (en-gb)?kriteach wrote:After upgrading to 2.3.0.2 I'm getting this error on the frontend.
Notice: Undefined index: english in /home/www/website/catalog/controller/startup/startup.php on line 106
Everything was fine until the upgrade but this error is preventing the page from being viewed with all my products. I haven't been able to fine any topics specifically related to this and I assume its a language issue. I'm only running one language at the moment (en) even though the module install with the upgrade is (en-gb) and the previous one (english) I can no longer select under localisation.
Any help would be truly appreciated.
Ok, I ended up deleting the old english language folder that was in the controller and admin language directories along with the en-gb folder. after removing these and then uploading the install folder again I was able to run the upgrade again. So far no errors and all the catalog is now showing up properly. Hopefully nothing changes...Thanks!!!
Spoke to soon. Even though the error message is gone. I can't see the dashboard on the admin side. The Categories and products don't show up in the admin side even though you can see them on the front end. Tried clearing cache and different browsers, but ends up withe the same thing. Also I get this strange thing through the admin side I get "text_enabled" "text_filter" "text_button"
Is this another upgrade issue?
Is this another upgrade issue?
I wanted to provide a solution for anyone facing this same issue as I had.
after a clean install of opencart 2.3.0.2 I changed the settings from the admin panel to remove UK and set my store up for USA.
upon doing this, I remember setting language to "english" from "en-gb".
suddenly my google results started showing this error:
opencart Notice: Undefined index: english in /path-to-my-opencart/public_html/catalog/controller/startup/startup.php
and every button inside of the admin panel was showing things like [text_enabled] [text_button] etc.
even after changing the language code back to "en-gb" the problem persisted.
SOLUTION:
you will need to feel comfortable editing your database directly or find someone who can do this for you if you are unable to perform direct database edits yourself.
i used phpMyAdmin via cPanel.
note: for me it was page 6 of the results in "oc_setting" table, or "setting_id" 3876 and 3877
now check your admin panel and you should see "[text_enabled]" is now simply "Enabled" and so on and so forth.
good luck!
ps. here are two sample MySQL statements you can modify and run if you know how, replace "your_db_name" with your actual opencart database name.
after a clean install of opencart 2.3.0.2 I changed the settings from the admin panel to remove UK and set my store up for USA.
upon doing this, I remember setting language to "english" from "en-gb".
suddenly my google results started showing this error:
opencart Notice: Undefined index: english in /path-to-my-opencart/public_html/catalog/controller/startup/startup.php
and every button inside of the admin panel was showing things like [text_enabled] [text_button] etc.
even after changing the language code back to "en-gb" the problem persisted.
SOLUTION:
you will need to feel comfortable editing your database directly or find someone who can do this for you if you are unable to perform direct database edits yourself.
i used phpMyAdmin via cPanel.
Code: Select all
go to the "oc_setting" table.
locate these 2 fields:
"config_language"
"config_admin_language"
Code: Select all
edit the "value" field in both "config_language" and "config_admin_language"
change "value" to "en-gb" (without the quotes) for both "config_language" and "config_admin_language"
click "Go"
good luck!
ps. here are two sample MySQL statements you can modify and run if you know how, replace "your_db_name" with your actual opencart database name.
Code: Select all
UPDATE `your_db_name`.`oc_setting` SET `value` = 'en-gb' WHERE `oc_setting`.`key` ='config_language';
UPDATE `your_db_name`.`oc_setting` SET `value` = 'en-gb' WHERE `oc_setting`.`key` ='config_admin_language';
Registered to this foum only to thank you. It worked for me. I got this error when installed additional language(ukraininan). Folders with language pack and database entries had different names an it caused to errors in both english and ukrainian languages. After editing in database values for ukrainian settings all worked fine - english and ukrainian interface.
Hi!
For me it was the config_language setting that was changed from "sv-se" to "swedish". And my error was "Undefined index swedish...". I manually changed the value in the database (back to sv-se) and the site started to work agian.
Best regards,
Mikael
For me it was the config_language setting that was changed from "sv-se" to "swedish". And my error was "Undefined index swedish...". I manually changed the value in the database (back to sv-se) and the site started to work agian.
Best regards,
Mikael
Who is online
Users browsing this forum: No registered users and 104 guests