jake,
you are a funny guy. i admire your resourcefulness.
#1 - your database is screwed up. someone did that. someone with access to your database. perhaps you accidentally did it; or someone before you. it does NOT strike me as a hacker. it does strike me as an admin making a mistake.
#2 - perhaps this link will shed some light on the situation you are in:
https://www.zen-cart.com/showthread....fter-upgrading
#3 - great people over at stackoverflow. some of us here are even over there. your reputation of 1 suggests you are not an avid user of that site. and your question getting downvoted is indicative of that.
#4 - you will have better odds of getting your problem resolved here on the ZC forum than there. but again, props to u for trying over there.
now back to your problem at hand. your db is screwed up. hopefully you read the link i provided above and perhaps you understood it. the question to me is whether there are other zen_cfg_* functions that were replaced or not. you can compare the count my running this sql statement:
Code:
SELECT count(*) FROM `configuration` WHERE `set_function` LIKE 'cfg_%';
you can compare to the count of 385 to see if there are other problems. again, this total should be 0.
if there are more functions that got removed in the database, then i would suggest to you to fix the database. not an easy process, although doable for sure. that is probably the ideal method. if it is just this one function that is screwed up in the database, ie the above query came up with 385, then you can create a file here:
/YOUR_ADMIN/includes/extra_datafiles/admin_mods.php
with the following code:
PHP Code:
function cfg_select_option($select_array, $key_value, $key = '') {
return zen_cfg_select_option($select_array, $key_value, $key);
}
good luck.
Bookmarks