Guest Posted July 1, 2005 Share Posted July 1, 2005 I just installed separate_price_411. When I enter a test order, after I click "Confirm Order' I get a page with: "Fatal error: Call to undefined function: changedataout() in /var/www/html/catalog/admin/orders.php on line 198" When I look at the edit order, just above the Payment Method line is the same msg: "Fatal error: Call to undefined function: changedataout() in /var/www/html/catalog/admin/orders.php on line 198" The order seems to go through fine, but this error message is confusing to my customers. What is going on? Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted July 1, 2005 Share Posted July 1, 2005 I just installed separate_price_411.When I enter a test order, after I click "Confirm Order' I get a page with: "Fatal error: Call to undefined function: changedataout() in /var/www/html/catalog/admin/orders.php on line 198" When I look at the edit order, just above the Payment Method line is the same msg: "Fatal error: Call to undefined function: changedataout() in /var/www/html/catalog/admin/orders.php on line 198" The order seems to go through fine, but this error message is confusing to my customers. What is going on? <{POST_SNAPBACK}> A. There is no function changedataout in SPPC and also not in a "regular" osC installation.B. Pages that customers use do not call functions on the admin side of osC. Sounds scary to me, I would check your code and the security of your admin directories seriously. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 1, 2005 Share Posted July 1, 2005 (edited) A. There is no function changedataout in SPPC and also not in a "regular" osC installation.B. Pages that customers use do not call functions on the admin side of osC. Sounds scary to me, I would check your code and the security of your admin directories seriously. <{POST_SNAPBACK}> I uninstalled SPPC database and went back to my prior osCommerce and the error msg went away. It then occurred to me that the only other thing I'd added was the ECHO payment module. Sure enough changedataout() is a function in the ECHO payment module. The overlap files are: catalog/includes/functions/general.php admin/includes/functions/general.php admin/includes/languages/english.php admin/includes/boxes/customers.php The first three files, each contrib adds a BOF-EOF section. Can I just combine them? The last file admin/includes/boxes/customers.php SPPC adds a line the $contents[]: '<a href="' . tep_href_link('customers_groups.php', '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_GROUPS . '</a>'); ECHO adds a line to $contents[]: '<a href="' . tep_href_link(FILENAME_ECHO_RESULTS, '', 'NONSSL') . '" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS_PROCESS . '</a>'); Again, can I just add both of these mods to the last file? Edited July 1, 2005 by yukio Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted July 1, 2005 Share Posted July 1, 2005 The first three files, each contrib adds a BOF-EOF section. Can I just combine them? Sure, as long as they don't change the same lines of code they shouldn't interfere with each other. If they do overlap, it needs more work to make them cooperate nicely but I don't think it is impossible.Again, can I just add both of these mods to the last file? I would say: why not? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.