Post by dragon17 » Wed Apr 07, 2010 3:29 pm

My dear OC staff/tech support,

it is really the time you make little bit order in this upgrade to 1.4.6 ... all info are really confused, I "smeal" a lot of problems and, in fact, I'll not upgrade right now ... there are missing information and the risk that it will not work is high ... so then it needs to spend a week to fix it...

I dont understand the reason to release so complicate updates. Maybe for programmers, not for users that are based on the OC simpleness like me.

You all continue to ask, answer and talk on this forum but, unfortunately, now it is going for nothing ... it is impossible to follow it... The line is lost...

I hope my message is clear and someone can really take stock of the situtation!

Thanks for your support.

New member

Posts

Joined
Thu Mar 25, 2010 7:15 pm

Post by fraser » Wed Apr 07, 2010 4:52 pm

japanees wrote:As soon as I start the upload the following message appears in the admin section

Error: Could not load language !

Any ideas how to fix this?

My store front is fine however, just admin www. ja pa n e e s .(NET)

I had the same problem and fixed it by manually adding the config_admin_language setting via phpMyAdmin. The SQL statement to do this must have been overlooked in the upgrade instructions.

Seems to be working for me now.

Newbie

Posts

Joined
Mon Nov 09, 2009 2:50 pm

Post by japanees » Wed Apr 07, 2010 8:59 pm

I am getting very uncomfortable with the way this forum is answering legit questions and where a lot of people struggle with keeping up. Let me be clear, I love the cart and all.... and will soon donate more, but for now I need to get some stuff working and there is not one guide that tells the same thing,

I am uploading the latest version 1.4.6 files, I get the problem with Error: Could not load language and your suggestion is to look at another thread, which explains that I need to update my language files. But I just uploaded the 1.4.6 files which are the latest and it is these that give me the above error.
fraser wrote: I had the same problem and fixed it by manually adding the config_admin_language setting via phpMyAdmin. The SQL statement to do this must have been overlooked in the upgrade instructions.

Seems to be working for me now.
Thank you so much for your reply, I will test this on my dev server.

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by japanees » Wed Apr 07, 2010 9:57 pm

Ok,

I overwrote the 1.4.6 with 1.4.5 and all works fine, I overwrite 1.4.5 with 1.4.6 and the language issue pops up.

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by japanees » Wed Apr 07, 2010 10:13 pm

OK the problem is as follows

in /admin/ the file index.php is messed up.
remove it, upload the rest and it works fine.

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by rph » Wed Apr 07, 2010 10:28 pm

Delete it entirely? You definitely don't want to do that.

The language problem is because there's no config setting for admin language. This SQL query needs to be run:

Code: Select all

INSERT INTO `setting` (
`setting_id` ,
`group` ,
`key` ,
`value`
)
VALUES (
NULL , 'config', 'config_language', 'en'
);

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by japanees » Wed Apr 07, 2010 10:40 pm

No,

The index.php is breaking my site.
Thank you for the sql insert, it did however not fix my issue.

Why would I not want to remove the index.php from admin? It is fine to use the 1.4.5 index.php which is not broken in the current download.

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by i2Paq » Wed Apr 07, 2010 11:09 pm

japanees wrote:
I am getting very uncomfortable with the way this forum is answering legit questions and where a lot of people struggle with keeping up.

I am uploading the latest version 1.4.6 files, I get the problem with Error: Could not load language and your suggestion is to look at another thread, which explains that I need to update my language files. But I just uploaded the 1.4.6 files which are the latest and it is these that give me the above error.
If you upload only the English language and you get this error then there is something wrong with your install of with one of the uploaded language files.
If you get this error while your Admin has the language set to anything else then English your language files are:

1. Outdated
2. Corrupt
3. Wrongly installed

In most cases it is an outdated version, or incomplete version, therefore I point you towards that topic.
That topic says everything there can be said about there error you have if you use another language then English for your admin.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by japanees » Wed Apr 07, 2010 11:13 pm

I have already pointed out what the problem is,

/admin/index.php and only that file,

I know it is this file as my site is working wonderful now that I changed the 1.4.6 downloaded /admin/index.php with the one from 1.4.5

Nothing else is wrong with the site, it was just that 1 file. I wget the latest version of OC and guess there might be something wrong with the current version of the 1.4.6 /admin/index.php file it is about 50% shorter than the 1.4.5 or 1.4.4 one.

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by rph » Wed Apr 07, 2010 11:45 pm

japanees wrote:I have already pointed out what the problem is,

/admin/index.php and only that file,
No it's not! Instead of fixing the language files you've simply removed the functionality that loads them altogether!

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by japanees » Thu Apr 08, 2010 1:01 pm

Oh my,

so your telling me that the language files in the newest download 1.4.6 are the problem, and they should be fixed?
Because it is either, or.

The only difference in these two files

1.4.5
$config->set('config_language_id', $languages[$config->get('config_language')]['language_id']);

$language = new Language($languages[$config->get('config_language')]['directory']);
$language->load($languages[$config->get('config_language')]['filename']);
$registry->set('language', $language);

1.4.6
$config->set('config_language_id', $languages[$config->get('config_admin_language')]['language_id']);

$language = new Language($languages[$config->get('config_admin_language')]['directory']);
$language->load($languages[$config->get('config_admin_language')]['filename']);
$registry->set('language', $language);

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by i2Paq » Thu Apr 08, 2010 10:28 pm

Nobody has this issue, so it MUST be related to your server/setup.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by hireconor » Fri Apr 09, 2010 6:42 am

I'm having the same issue has him as I am upgrading from 1.4.3 to 1.4.6.

User avatar
New member

Posts

Joined
Mon Mar 15, 2010 9:31 am

Post by japanees » Fri Apr 09, 2010 7:48 am

All I did to fix it was change the

/admin/index.php 1.4.6 with the /admin/index.php from 1.4.5 and it worked

New member

Posts

Joined
Sat Mar 20, 2010 12:34 am

Post by rph » Fri Apr 09, 2010 8:04 am

I posted the wrong SQL query before. That's what I get for a mindless copy-paste. It should have been:

Code: Select all

INSERT INTO `setting` (
`setting_id` ,
`group` ,
`key` ,
`value`
)
VALUES (
NULL , 'config', 'config_admin_language', 'en'
);
That's the source of all the problems. It's not included with the upgrade instructions and Admin won't load without it.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska
Who is online

Users browsing this forum: No registered users and 5 guests