web-connected Posted December 6, 2002 Posted December 6, 2002 Receiving error when trying to update order status when HTML email is enabled. Uncheck "Notify Customer" or disable HTML emails and everything works fine. Any have any ideas... I did see one post about checking admin/includes/configure.php. All of my information is correct and has been double checked. Error: Fatal error: Call to undefined function: is_null() in /usr/local/etc/httpd/htdocs/catalog/admin/includes/classes/email.php on line 363 configure.php "Note my server is a virtual server so it uses some symlinks": <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'https://www.stateamind.com'); // eg, http://localhost - should not be NULL for productive servers define('HTTPS_SERVER', 'https://stateami.securesites.com'); // eg, https://localhost - should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'https://stateami.securesites.com'); define('HTTPS_CATALOG_SERVER', 'https://stateami.securesites.com'); define('ENABLE_SSL', 'true'); // secure webserver for administration tool define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/www/htdocs'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/catalog/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DISPLAY_PRICE_WITH_TAX', true); // Display prices with tax (true) or without tax (false) Any help would be great Regards, John
Jan0815 Posted December 6, 2002 Posted December 6, 2002 The function is_null() was introduced in PHP at version 4.0.4. So my educated guess is that you are using a version of PHP that is older as 4.0.4. A wrapper function to handle this situation was added a while ago. So here are your possibilities: 1. Update PHP 2. Update osCommerce HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.
web-connected Posted December 6, 2002 Author Posted December 6, 2002 Thank you for your quick insight. It appears that the hosting company I have been working with is still running 4.0 for some reason. Kind of makes me wonder what else is outdated on the server.....Hmmmmm. Hopefully they will upgrade and life will be good. :wink: Cheers, John
Jan0815 Posted December 6, 2002 Posted December 6, 2002 It appears that the hosting company I have been working with is still running 4.0 for some reason. That makes me shiver. 4.0.0 has some serious security flaws and should not be used. If your ISP hasn't upgraded yet I would look for someone more reliable ;-) HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.