When I upgraded from 1.4.1.1 to 1.4.9.1, I logged into the admin site but I only get this,
Notice: Undefined index: in /home/blessedn/public_html/store1/admin/index.php on line 119Notice: Undefined index: in /home/blessedn/public_html/store1/admin/index.php on line 121Notice: Undefined index: in /home/blessedn/public_html/store1/admin/index.php on line 122Warning: Cannot modify header information - headers already sent by (output started at /home/blessedn/public_html/store1/admin/index.php:72) in /home/blessedn/public_html/store1/system/engine/controller.php on line 27
Please help!
Thanks
Sorry, I thought they were not specific to my installation, (lines 119,121, 122)
$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']);
Also this the line 72 of index.php refered to,
echo '<b>' . $error . '</b>: ' . $errstr . ' in <b>' . $errfile . '</b> on line <b>' . $errline . '</b>';
And the one in line 27 of controller.php,
header('Location: ' . str_replace('&', '&', $url));
$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']);
Also this the line 72 of index.php refered to,
echo '<b>' . $error . '</b>: ' . $errstr . ' in <b>' . $errfile . '</b> on line <b>' . $errline . '</b>';
And the one in line 27 of controller.php,
header('Location: ' . str_replace('&', '&', $url));
I found the solution provided by HKOCK regarding an earlier version, 1.4.6.
Here's the code change for index.php
//----------------------------------------------------------------------------------------------------------
// HJK
//$config->set('config_language_id', $languages[$config->get('config_admin_language')]['language_id']);
$config->set('config_language_id', 1);
//$language = new Language($languages[$config->get('config_admin_language')]['directory']);
$language = new Language('english');
//$language->load($languages[$config->get('config_admin_language')]['filename']);
$language->load('english');
//----------------------------------------------------------------------------------------------------------
and here's the topic I found it in,
http://forum.opencart.com/viewtopic.php?f=19&t=12912
Thanks HKOCK for the fix
Here's the code change for index.php
//----------------------------------------------------------------------------------------------------------
// HJK
//$config->set('config_language_id', $languages[$config->get('config_admin_language')]['language_id']);
$config->set('config_language_id', 1);
//$language = new Language($languages[$config->get('config_admin_language')]['directory']);
$language = new Language('english');
//$language->load($languages[$config->get('config_admin_language')]['filename']);
$language->load('english');
//----------------------------------------------------------------------------------------------------------
and here's the topic I found it in,
http://forum.opencart.com/viewtopic.php?f=19&t=12912
Thanks HKOCK for the fix

I have same problem as sferguson98.
If what he posted is not the fix, then what is?
Notice: Undefined index: in /homepages/46/d322660780/htdocs/admin/index.php on line 119Notice: Undefined index: in /homepages/46/d322660780/htdocs/admin/index.php on line 121Notice: Undefined index: in /homepages/46/d322660780/htdocs/admin/index.php on line 122Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d322660780/htdocs/admin/index.php:72) in /homepages/46/d322660780/htdocs/system/engine/controller.php on line 27
If what he posted is not the fix, then what is?
Notice: Undefined index: in /homepages/46/d322660780/htdocs/admin/index.php on line 119Notice: Undefined index: in /homepages/46/d322660780/htdocs/admin/index.php on line 121Notice: Undefined index: in /homepages/46/d322660780/htdocs/admin/index.php on line 122Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d322660780/htdocs/admin/index.php:72) in /homepages/46/d322660780/htdocs/system/engine/controller.php on line 27
Who is online
Users browsing this forum: No registered users and 14 guests