Page 1 of 1

Orders & CGExtensions error [solved]

Posted: Mon Jan 26, 2015 12:58 pm
by chrisbt
I'm getting a php error when trying to access Order Manager > Preferences. I just get shown a blank page with the text 'Address Handling' & 'Preferences'.

In the server error log I get have the error:
[Mon Jan 26 12:47:14 2015] [error] [client 89.241.55.108] PHP Fatal error: Cannot call constructor in .../modules/Orders/lib/class.orders_address.php on line 42, referer: .../moduleinterface.php?_sx_=c419e540612baaf0&module=Orders

code generating the error in Orders/lib/class.orders_address.php is:

Code: Select all

class orders_address extends cge_address
{
  // a dumb class that just extends cge_address to change the name
  public function __construct()
  {
    parent::__construct();
  }    
Does anyone else have the latest version of Orders & CGExtensions added and does Order Manager > Preferences function correctly?

I'm using php 5.4.33. I've installed a separate test installation and getting the same errors.

Thanks

Chris

Cms Version: 1.11.11
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
CGExtensions: 1.45
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
CGSimpleSmarty: 1.7.4
CGPaymentGatewayBase: 1.3.1
Captcha: 0.4.6
CGSmartImage: 1.16.2
FormBuilder: 0.7.3
Gallery: 2.0.1
SiteMapMadeSimple: 1.2.8
CustomGS: 2.1
ECB: 1.6
GBFilePicker: 1.3.3
ListIt2: 1.4.1
TinyMCE: 2.9.12
CGFeedMaker: 1.0.20
TemplateExternalizer: 2.1.3
ListIt2XDefs: 1.2
ListIt2Widgets: 1.4.1
MicroTiny: 1.2.7
JQueryTools: 1.2.6
Products: 2.21
CGGoogleMaps2: 0.99
ListIt2Testimonials: 1.4.1
CGEcommerceBase: 1.5.2
Cart2: 1.1.3
FrontEndUsers: 1.25.1
Orders: 1.16.5

Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.33
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 1
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 32M
upload_max_filesize: 32M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.34
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found

Re: Orders & CGExtensions error

Posted: Fri Mar 20, 2015 10:12 pm
by Rolf
Looks like a bug to me. You have tried latest versions? If it still fails there please add a detailed bug report in the Forge how to reproduce the error.

Re: Orders & CGExtensions error [solved]

Posted: Sat Mar 21, 2015 9:21 am
by chrisbt
Hi Rolf, Thanks for the reply. It is a bug. I later came across this: http://dev.cmsmadesimple.org/bug/view/10353 So solved the current issue and will be fixed with next release. :)