sin Posted January 29, 2003 Share Posted January 29, 2003 I just installed the newest snapshot, and the categories & products do not show up in the admin panel. The data is entered into the tables of the database, and in the application_top the categories and product tables are set correctly. Anyone have some advice or... ? suggestions? Thanks in advance, Mark Link to comment Share on other sites More sharing options...
sin Posted January 29, 2003 Author Share Posted January 29, 2003 The categories actually show up in the catalog portion of the application.. just not the admin. Link to comment Share on other sites More sharing options...
sin Posted January 29, 2003 Author Share Posted January 29, 2003 I believe I found the problem.. in application_top.php: if ( (!$language) || ($HTTP_GET_VARS['language']) ) { if (!$language) { tep_session_register('language'); tep_session_register('languages_id'); } include(DIR_WS_CLASSES . 'language.php'); $lng = new language($HTTP_GET_VARS['language']); if (!$HTTP_GET_VARS['language']) $lng->get_browser_language(); $language = $lng->language['directory']; $languages_id = $lng->language['id']; } admin/classes/language.php does not exist. I simply set $language = "english" & $language_id = "1" ... because I'm not going to use any other language. Link to comment Share on other sites More sharing options...
kokkie Posted August 30, 2007 Share Posted August 30, 2007 I had the same problem. The last hack actually worked for me too (thanks sin!) ... with 2 minor changes. Just added the following after the if block: else { $language = 'english'; $languages_id = 1; } Note the omission of quotes on the 1 (it's a number not a string) and the "s" in $languages_id. Works like a charm now. Just doublecheck the languages_id is actually 1, it may be a different number in your install, change above code accordingly. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.