Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help , Not working


Guest

Recommended Posts

Posted

I just added the edit order module , and Im getting a error when trying to open the page when in the admin.

 

------------------------------Error message -------------------------------------------

Warning: main(includes/languages/english/FILENAME_CREATE_ORDER_PROCESS): failed to open stream: No such file or directory in /home/aboutyou/public_html/store/admin/create_order.php on line 49

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_CREATE_ORDER_PROCESS' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aboutyou/public_html/store/admin/create_order.php on line 49

 

Im not sure if I did something wrong when adding the module or if there is something Im missing.

 

Thanks

  • 2 years later...
Posted
I just added the edit order module , and Im getting a error when trying to open the page when in the admin.

 

------------------------------Error message -------------------------------------------

Warning: main(includes/languages/english/FILENAME_CREATE_ORDER_PROCESS): failed to open stream: No such file or directory in /home/aboutyou/public_html/store/admin/create_order.php on line 49

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_CREATE_ORDER_PROCESS' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/aboutyou/public_html/store/admin/create_order.php on line 49

 

Im not sure if I did something wrong when adding the module or if there is something Im missing.

 

Thanks

 

Verify that you have the following section of lines in your /catalog/admin/includes/filenames.php file:

// ########## Ajout/edite commande et compte client ##########
// Create Order & customers
 define('FILENAME_CREATE_ACCOUNT', 'create_account.php');
 define('FILENAME_CREATE_ACCOUNT_PROCESS', 'create_account_process.php');
 define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');
 define('FILENAME_CREATE_ORDER_PROCESS', 'create_order_process.php');
 define('FILENAME_CREATE_ORDER', 'create_order.php');
 define('FILENAME_EDIT_ORDERS', 'edit_orders.php'); 

// ########## END - Ajout/edite commande et compte client ##########

 

This is a cause of several ' Warning: main ' / ' failed to open stream: ' and ' Fatal error: main(): ' line errors on various lines.

 

The filenames.php file gets rewritten when installing some mods (like PayPal Shopping Cart IPN v. 3.1.5) ... file comparing program like Beyond Compare 2 great for adding to files, instead of rewriting files with new mods.

  • 2 months later...
Posted
Verify that you have the following section of lines in your /catalog/admin/includes/filenames.php file:

// ########## Ajout/edite commande et compte client ##########
// Create Order & customers
 define('FILENAME_CREATE_ACCOUNT', 'create_account.php');
 define('FILENAME_CREATE_ACCOUNT_PROCESS', 'create_account_process.php');
 define('FILENAME_CREATE_ACCOUNT_SUCCESS', 'create_account_success.php');
 define('FILENAME_CREATE_ORDER_PROCESS', 'create_order_process.php');
 define('FILENAME_CREATE_ORDER', 'create_order.php');
 define('FILENAME_EDIT_ORDERS', 'edit_orders.php'); 

// ########## END - Ajout/edite commande et compte client ##########

 

This is a cause of several ' Warning: main ' / ' failed to open stream: ' and ' Fatal error: main(): ' line errors on various lines.

 

The filenames.php file gets rewritten when installing some mods (like PayPal Shopping Cart IPN v. 3.1.5) ... file comparing program like Beyond Compare 2 great for adding to files, instead of rewriting files with new mods.

 

I've double checked my filenames.php and it is correct, but Im still getting FILENAME_CREATE_ACCOUNT where create_account.php should be (and so on) Is there any other variables that could be incorrect and is causing this to happen?

Thanks for any advice here.

sj

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...