• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

OsCommerce error aftr upgrading to 8.1

M

meat1oaf

Guest
After upgrading, we noticed one of our hosted oscommerce sites started showing the following error:

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/httpd/vhosts/paperbacksworld.com/httpdocs/cart/includes/application_top.php on line 37

Warning: main(includes/configure.php): failed to open stream: No such file or directory in /home/httpd/vhosts/paperbacksworld.com/httpdocs/cart/includes/application_top.php on line 37

Warning: main(): Failed opening 'includes/configure.php' for inclusion (include_path='\') in /home/httpd/vhosts/paperbacksworld.com/httpdocs/cart/includes/application_top.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/paperbacksworld.com/httpdocs/cart/includes/application_top.php:37) in /home/httpd/vhosts/paperbacksworld.com/httpdocs/cart/includes/application_top.php on line 52

I have made sure Globals is turned on (which I believe the app requires, and even temporarily changed the permissions on configure.php to 777 - still no luck. Get the exact same error.
 
Hi,

This is my line 37 in includes/application_top.php
// define the project version
define('PROJECT_VERSION', 'osCommerce 2.2-MS2');

What is yours?

Also, make sure there are no blank lines at the end of application_top.php or the configure.php file.

What are your values on these in the includes/configure.php?

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/var/www/vhosts/domain/httpdocs/ms2/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

You should make the DIR_FS_CATALOG value to be the absolute path instead of define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');
 
Back
Top