Post by tpearman » Tue Oct 11, 2016 11:51 am

Hello,

I did a fair amount of searching both the web and this forum before posting and found some things that are probably close to the solution, but may apply to an older version. Ok so here is what has happened. My domain is laceherup.com and I am running journal theme. I am running latest version of both which are of this writing 2.3.0.2 for opencart. The error happened after going through the localization settings in the admin area and selecting language. I noticed en_gb and thought I would see if there was anything else, so I clicked edit. I then selected the drop down menu and found english as an option under the code section, and I clicked it and hit save.

Now I am kicking myself in the butt. I mean GB english vs US english...who cares right, especially if it causes an issue like this lol. Anyways now I see certain buttons like extension install page, and all labels and tabs in the site settings, as well as the order status showing things like this "text_no_results", rather than the order status list pulling from the db. I checked the db to make sure it was in fact there it is. I am not sure what the issue is.

Upon researching threads and results from the web, I came to believe it was the language file and somehow it was messed up, or at the very least something to do with the language and the change i made. I tried changing it back to no and it did not fix it. SO I found that some had suggested the english.php file may be messed up and to delete it and reupload it. SO I went to FTP and discovered there is no english.php in opencart 2.0.3.2 in the admin/language/english folder. In fact it is empty except for a modules folder, which contains a journal2 file.

Just in case I deleted it and reuploaded it. No changes. I logged out and logged back in to admin.. No difference. Can anyone help me figure out what is going on with my site? I am killing myself trying to figure it all out, and it is so discouraging after spending so much time trying to get a new store running.

Thanks everyone for your assistance.

Newbie

Posts

Joined
Tue Oct 11, 2016 11:38 am

Post by cyclops12 » Tue Oct 11, 2016 11:10 pm

My 2.3.0.2 default clean version has this
english.JPG

english.JPG (28.42 KiB) Viewed 1874 times

If that helps at all

Make sure you refresh all caches after making changes

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by cyclops12 » Tue Oct 11, 2016 11:14 pm

And this is whats in the default en-gb folder

Attachments

english2.JPG

english2.JPG (62.67 KiB) Viewed 1874 times


Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by tpearman » Wed Oct 12, 2016 5:48 am

Thanks Cyclops! I have a clean install on my dev environment, and examined that myself as well. I have ensured that the language folder is a clean version, as well as the language settings in localization, which both show exactly what you have there. I also went in to the db table and noticed after I changed the language which initially caused this problem, the language table had been mucked up a bit.....maybe some more details would be best, so I changed it to english from en_gb and then saw it caused a problem, and changed it back. After realizing that it did not fix it I deleted the language from settings area and re added back the en_gb again from system localization. Then AFTER all of that I looked at the db again and noticed that some values were missing from the language table so I compared it to a fresh working install and edited the row, of which there was only one, back to it's original form. SO still no changes I see that none of my order status which come with opencart and are located in the opencart order status db are not being displayed on the order status page or the system settings page, which also means that I cant save the settings page, since I cannot select a order status. I am also seeing the tabs and labels for most pages and sections of the admin as being things like text_pagination, text_no_results, tab_general, tab_store, tab_local, tab_option, tab_image, tab_ftp, tab_mail, tab_server


Just to clarify, the db changes neither fixed, nor aggravated the situation and the bug is the same as initially changing the language.

Now to also further avoid confusion, I have noticed that the english folder, which is not in opencart 2.3.0.2, actually came from journal theme. So that is why there was more than one option I guess in the drop down, since I never installed any language extensions, it must come from the journal theme. Now what I cannot figure out is why it is causing issues on the admin especially when I corrected the issue on the system localization settings menu and set it back to en_gb, and also the database. Is there a cache for the admin that I need to clear, or can anyone come up with any reason or rhyme or better yet a way to fix it?

Newbie

Posts

Joined
Tue Oct 11, 2016 11:38 am

Post by tpearman » Wed Oct 12, 2016 7:13 am

Ok so more information. I just downloaded an older version of open cart that still included the english folder in the admin/language/ and uploaded the english folder to the server and now the unnamed tab_general and label issues are corrected, however come things are still not being pulled correctly from the db for instance the order status and return status lists, i am not talking about actual orders but the lists that appear under settings localization. Does this extra info help narrow it down any?

Newbie

Posts

Joined
Tue Oct 11, 2016 11:38 am

Post by cyclops12 » Wed Oct 12, 2016 10:56 pm

It appears that if the journal language file has an "english" folder instead of "en-gb" folder then it may be for older version and not 2.3.0.2
Compare the journal language folder and files to the default en-gb folder.

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by sinfulshotx » Thu Nov 03, 2016 12:52 am

I am having the same issue and I have taken almost all of the same steps and still with no anvil any help would be appreciated

Newbie

Posts

Joined
Thu Nov 03, 2016 12:49 am

Post by EbbeC » Wed Jun 21, 2017 3:51 am

Same problem :-\ Does anyone know the newest version of opencart that doesn't have this problem?

Newbie

Posts

Joined
Mon Sep 23, 2013 9:58 am

Post by cyclops12 » Thu Jun 22, 2017 7:13 pm

Opencart doesnt have this problem, the problem is with the journal theme trying to find the "english" language folder which by default in latest oc versions is now called "en-gb"

Expert Member

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by BnetAdmin » Thu Aug 31, 2017 1:13 am

So I have this same issue, started with the same situation. Tried changing language settings from en-gb to english and now my admin side of the site is a mess. Now I understand there being a potential issue with a specific layout or theme, but i'm using the Default store theme and this is still a problem for me. I can look at orders and whatnot, all the dates are not coded properly they are raw data not converted to the English units. But the biggest problem is I can't see ANY of my products to edit them. I need this resolved ASAP.

Newbie

Posts

Joined
Sun Mar 22, 2015 9:15 am

Post by BnetAdmin » Thu Aug 31, 2017 2:51 am

After screwing around for hours uploading different language folders, running the install option, I finally found this edit to the sql DB that fixed it...

viewtopic.php?t=166985#p641571

I found the Config_language and Config_admin_language settings and changed both from "english" to en-gb and boom works fine.

Newbie

Posts

Joined
Sun Mar 22, 2015 9:15 am
Who is online

Users browsing this forum: No registered users and 1 guest