Wizbits Posted January 19, 2010 Posted January 19, 2010 I have transfered my hosting and made a clean install. After the clean install I copied over my template and files..., perfect. However when I went into the OSCommerce Admin I received a 1146 error and could not log in. I found a fix and was able to get the login page. Once I logged in I received the following error:- Fatal error: Call to undefined function: tep_hide_session_id() in /catalog/admin/login.php on line 115 Line 115 shows:- <td class="pageHeading" align="right"><?php echo tep_draw_form('adminlanguage', FILENAME_DEFAULT, '', 'get') . tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"') . tep_hide_session_id() . '</form>'; ?></td> Please help with a suggestion fix. Thanks
germ Posted January 19, 2010 Posted January 19, 2010 I have transfered my hosting and made a clean install. After the clean install I copied over my template and files..., perfect. However when I went into the OSCommerce Admin I received a 1146 error and could not log in. I found a fix and was able to get the login page. Once I logged in I received the following error:- Fatal error: Call to undefined function: tep_hide_session_id() in /catalog/admin/login.php on line 115 Line 115 shows:- <td class="pageHeading" align="right"><?php echo tep_draw_form('adminlanguage', FILENAME_DEFAULT, '', 'get') . tep_draw_pull_down_menu('language', $languages_array, $languages_selected, 'onChange="this.form.submit();"') . tep_hide_session_id() . '</form>'; ?></td> Please help with a suggestion fix. Thanks Intructions to fix it here If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Wizbits Posted January 20, 2010 Author Posted January 20, 2010 Many thanks for this..., I tried your suggestion. I copied the code from the includes/functions to the admin/includes/functions (same named file). On refreshing the Admin page I got the Login okay but once the password is given I get the following page -------------------------- Page Not Found The page you tried to access does not exist on this server. This page may not exist due to the following reasons: You are the owner of this web site and you have not uploaded (or incorrectly uploaded) your web site. For information on uploading your web site using FTP client software or web design software, click here for FTP Upload Information. The URL that you have entered in your browser is incorrect. Please re-enter the URL and try again. The Link that you clicked on incorrectly points to this page. Please contact the owner of this web site to inform them of this situation. --------------------------- So what am I doing incorrect - I am very puzzled where to go!
germ Posted January 20, 2010 Posted January 20, 2010 Impossible for me to say for sure since I don't know what page it's trying to access. Could be an admin config file problem or a problem in /admin/includes/filenames.php If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.