e-football Posted November 10, 2008 Share Posted November 10, 2008 Hi I was trying to do a mod, and all was going OK, until the end. Now I can't get to my admin at all, I get the error "Fatal error: Call to undefined function tep_catalog_href_link() in /home/efootbal/public_html/catalog/admin/includes/header.php on line 20" I have restored all the files to the original state, but still no good. Can anyone help? Thanks Link to comment Share on other sites More sharing options...
Guest Posted November 11, 2008 Share Posted November 11, 2008 Then you haven't restored the files correctly - try again from a decent backup Link to comment Share on other sites More sharing options...
e-football Posted November 11, 2008 Author Share Posted November 11, 2008 Then you haven't restored the files correctly - try again from a decent backup That is obvious, however I have restored the whole site from a backup of a week ago, and I have used that backup before with no issue. I am guessing its my database that is corrupt? Does that seem the most likely? If so, is there a way of fixing it without restoring the database? Cheers Link to comment Share on other sites More sharing options...
germ Posted November 11, 2008 Share Posted November 11, 2008 That error can be caused if you uploaded the /includes/functions/html_output.php from the catalog side into the admin side. 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 > Link to comment Share on other sites More sharing options...
e-football Posted November 11, 2008 Author Share Posted November 11, 2008 That error can be caused if you uploaded the /includes/functions/html_output.php from the catalog side into the admin side. Thanks, are you saying that the file shouldn't be in the admin side? Link to comment Share on other sites More sharing options...
germ Posted November 11, 2008 Share Posted November 11, 2008 No. I'm saying the files are not the same. The admin one has (or is supposed to have) that function, while the catalog one doesn't. There may be other differences in the files as well. 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 > Link to comment Share on other sites More sharing options...
e-football Posted November 11, 2008 Author Share Posted November 11, 2008 No. I'm saying the files are not the same. The admin one has (or is supposed to have) that function, while the catalog one doesn't. There may be other differences in the files as well. I'll take a look. I appreciate your help. Link to comment Share on other sites More sharing options...
e-football Posted November 14, 2008 Author Share Posted November 14, 2008 I'll take a look. I appreciate your help. Just like to add (Sorry for delay in getting back to you). That the file you mentioned was the issue. Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.