CMS MADE SIMPLE FORGE

Orders

 

[#10353] Preferences page unavailable, checkout cannot be done on new installation

avatar
Created By: Stuart Pinfold (spinfold)
Date Submitted: Thu Jan 08 09:51:13 -0500 2015

Assigned To: Robert Campbell (calguy1000)
Version: 1.16.5
CMSMS Version: 1.11.11
Severity: Critical
Resolution: Fixed
State: Open
Summary:
Preferences page unavailable, checkout cannot be done on new installation
Detailed Description:
Calguys' Orders Module v1.16.5 has an issue in CMSMS v1.11.11 whereby neither
the Orders module Preferences page can be visited, and no-one can checkout on a
new installation because the option to allow anonymous checkout cannot be
changed.

Tracked down to lines 39-43 in lib/class.orders_address.php:

// a dumb class that just extends cge_address to change the name
public function __construct()
{
parent::__construct();
}

Removing all these lines seems to make the module work. I still need to test
fully checking out and payment, but at least now I can use the Preferences page
and see the checkout form.


History

Comments
avatar
Date: 2015-01-08 11:09
Posted By: Robert Campbell (calguy1000)

Just did a fresh installation of CMSMS 1.11.11, with all of the e-commerce
modules.  could not reproduce this issue.
      
avatar
Date: 2015-01-08 12:36
Posted By: Robert Campbell (calguy1000)

Just did a fresh installation of CMSMS 1.11.11, with all of the e-commerce
modules.  could not reproduce this issue.
      
avatar
Date: 2015-01-13 15:58
Posted By: jac (jdoming)

Preferences page unavailable, checkout cannot be done on new installation.
same problem as Stuart Pinfold .
new installation of CMSMS 1.11.11 with only of the e-commerce
modules and and french pack.

      
avatar
Date: 2015-01-22 03:37
Posted By: Franck (knarf)

When trying to reach the page where {orders} is included, I have the following
error in php error log: Fatal error:  Cannot call constructor in
/srv/data/web/vhosts/www.autun-tourisme.com/htdocs/modules/Orders/lib/class.orders_address.php
on line 42

And I can't access to preferences admin page either, like Stuart and Jac.

CMSMS 1.11.12, latest e-commerce suite modules.
      
avatar
Date: 2015-01-22 03:38
Posted By: Franck (knarf)

Oh, forgot to mention this is a french/english/german install. I tested only in
french, as the shop is not available in english on this site.
      
avatar
Date: 2015-01-28 16:40
Posted By: Chris Taylor (chrisbt)

I've found the same issue, with CMSMS 1.11.12 a suite of the latest ecommerce
modules + plus a good number of others.

If I used an old install from approx Aug 2013, it would all work fine installing
older versions of the ecommerce modules. The issue would reproduce as soon as
CGExtensions was upgraded to 1.45.

Still investigating.
      
avatar
Date: 2015-01-28 16:56
Posted By: Robert Campbell (calguy1000)

it's fixed in svn.
release due within the next week or so.
in the mean time commenting out that one line in the cge_address constructor
will solve the problem.
      
avatar
Date: 2015-02-18 10:15
Posted By: Franck (knarf)

Thanx Robert.
      
avatar
Date: 2015-08-17 12:20
Posted By: Thijs (Teezii)

It is still not fixed! But it is not smart to remove above lines, because it can
be handy. Better is too add a function in CGE.

CGE adress is missing the construct, so the problem is in CGE I assume.

Go to class.cge_adress.php and add on line 114 

    function __construct() {
    } 


      
Updates

Updated: 2015-01-28 16:56
resolution_id: 11 => 7

Updated: 2015-01-08 11:09
resolution_id: 10 => 11

Updated: 2015-01-08 09:51
resolution_id: => 10
severity_id: 12 => 1
cmsms_version_id: -1 => 30542