rd1000 Posted January 25, 2006 Posted January 25, 2006 I have searched everywhere I could find and can't seem to find and answer. Any help from you fine folks would be greatly appreciated. I recently changed hosts. My store was functioning well with the former host, but had "register globals" on. The new host had it off by default, so I installed the contribution "register_globals_v1.3.tar". Everything is working so far except when I enter "admin - customers - orders" and there is an order that was paid through paypal. At the top of the body, I get the following errors: Warning: main(): open_basedir restriction in effect. File(/catalog/includes/modules/payment/paypal/functions/general.func.php) is not within the allowed path(s): (/home/httpd/vhosts/jessicasonline.com/httpdocs:/tmp) in /home/httpd/vhosts/jessicasonline.com/httpdocs/admin/orders.php on line 471 Warning: main(/catalog/includes/modules/payment/paypal/functions/general.func.php): failed to open stream: Operation not permitted in /home/httpd/vhosts/jessicasonline.com/httpdocs/admin/orders.php on line 471 Warning: main(): Failed opening '/catalog/includes/modules/payment/paypal/functions/general.func.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/jessicasonline.com/httpdocs/admin/orders.php on line 471 Fatal error: Call to undefined function: paypal_payment_status() in /home/httpd/vhosts/jessicasonline.com/httpdocs/admin/orders.php on line 472 line 471 in admin/orders.php points to this: //begin PayPal_Shopping_Cart_IPN if (strtolower($oInfo->payment_method) == 'paypal') { include_once(DIR_FS_CATALOG_MODULES . 'payment/paypal/functions/general.func.php'); $contents[] = array('text' => TABLE_HEADING_PAYMENT_STATUS . ': ' . paypal_payment_status($oInfo->orders_id) ); } //end PayPal_shopping_Cart_IPN My admin/includes/configure.php is: // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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/'); ?> I am not sure what else could be related. If anybody has any ideas and needs more information, please just let me know. Thank you for any help. Rob
Recommended Posts
Archived
This topic is now archived and is closed to further replies.