CMS MADE SIMPLE FORGE

promotions

 

[#4466] Fatal Error: 'product_ops' not found

avatar
Created By: Kenneth Griffith (kendo451)
Date Submitted: Thu Dec 17 20:27:48 -0500 2009

Assigned To: Robert Campbell (calguy1000)
Version: None
CMSMS Version: None
Severity: Critical
Resolution: None
State: Open
Summary:
Fatal Error: 'product_ops' not found
Detailed Description:
I can create promotions with certain conditions, but get an error when trying to
do a promotion for a specific product.  I get a fatal error when trying to add
the promotion.  I've uninstalled and re-installed the Promotions and Products
module several times to make sure this isn't a corrupt file.

Conditions that cause the Error:

1. Go to Extensions->Promotion Mgr
2. Click "Add a New Promotion"
3. Fill in name "Test"
4. Leave date settings alone.
5. Set conditions to "Require purchase of specific product".  I use product
number 4 (have verified it is there).
6. Click Add.  It appears now under the conditions.
7. Use default discount (percentage off, .1)
8. Click "Submit"

The following Error is Produced:
Fatal error: Class 'product_ops' not found in
/var/www/vhosts/cagt.org/subdomains/test/httpdocs/modules/Promotions/action.admin_addpromo.php
on line 126

Versions:
OS Linux
PHP 5.9
MySQL 5.2
CMSMS 1.6.6
CGExtensions 1.17.6
FEU 1.6.11
Products 2.4.6
Promotions 1.0.5
Orders 1.6.12

Other Notes:
I have verified that the class.products_ops file does exist in the Products
module.  Permissions are correctly set for modules folder.  Normally at 775, but
I've been testing with 777, and get identical problem.


History

Comments
avatar
Date: 2009-12-24 09:35
Posted By: Kenneth Griffith (kendo451)

I set up a test install on XAMPP and get similar behavior, however no error
message is displayed.
      
Updates

Updated: 2009-12-24 09:35
resolution_id: => 5