Xarigami

project tracker

Xarigami Core [key: xgami]

All trackers
Summary
Issue List
Road Map
Changelog

Issue xgami-000582

Issue summary Details
Project:
Xarigami Core
Key:
xgami-000582
Type:
Bug
Reporter:
Lakys
Priority:
High
Severity:
Blocker
Status:
Resolved
Resolution:
Fixed
Owner:
Lakys
Due:
- xarigami cumulus 1.2.0
Milestone:
None

Installer error on core 1.2.0

Reported:  Jun 19, 2010 03:50 PM    Updated: Jun 19, 2010 04:46 PM by

Version affected: - xarigami cumulus 1.2.0

Error: 2048: PHPException
Normal Xaraya error processing has stopped because of an error encountered.

The last registered error message is:

Mode     : developer
File     : C:inetpubvhostsxardev.comsubdomainscu120httpdocsincludesxarMLS.php
Line     : 937
Code     : 2048
Message  : Declaration of xarMLS__ReferencesBackend::bindDomain() should be compatible
           with that of xarMLS__TranslationsBackend::bindDomain()
Variables: $dp:
             .includes.xarMLS
           $ext:
             .php

Backtrace: #0 C:inetpubvhostsxardev.comsubdomainscu120httpdocsincludesxarPreCore.php(330): ExceptionHandlers::phperrors(2048, 'Declaration of ...', 'C:inetpubvhos...', 937, Array)
           #1 C:inetpubvhostsxardev.comsubdomainscu120httpdocsincludesxarPreCore.php(330): sys::once()
           #2 C:inetpubvhostsxardev.comsubdomainscu120httpdocsincludesxarPreCore.php(362): sys::once('.includes.xarML...', '.php')
           #3 C:inetpubvhostsxardev.comsubdomainscu120httpdocsinstall.php(62): sys::import('xaraya.xarMLS')
           #4 {main}
Actions
Quick fix Lakys Jun 19, 2010 04:02 PM

Using at line 776, in xarMLS.php,

function bindDomain($dnType, $dnName = '')
{ die('abstract'); }

instead of

function bindDomain($dnType, $dnName)
{ die('abstract'); }

fixes the issue.

Question: should the die('abstract') not be replaced by

throw new Exception('method is abstract? (todo)');
like in the in inherited class below?

#

Done Lakys Jun 19, 2010 04:16 PM

Both things done in committed revision 72845ab40553cd702f6ac7366aa757d48d8ab01d in com.2skies.xarigami.core

#

Resolved: Installer error on core 1.2.0 Lakys Jun 19, 2010 04:17 PM

Issue resolved by by Lakys

#