Open xzegga opened 9 years ago
I have another one:
If I make a self contained app, any of cruds will show me an error:
Constant FM_TYPE_UNKNOWN already defined in FieldMap.php at line 5
Note that I just only created the app, without any modifications. I'm using xampp 5.6.8 in Win 7 Ultimate 64 bits. This is the stack trace:
#0 [internal function]: ExceptionThrower::HandleError(8, 'Constant FM_TYP...', 'C:\\xampp\\htdocs...', 5, Array)
#1 C:\xampp\htdocs\phreeze\libs\verysimple\Phreeze\FieldMap.php(5): define('FM_TYPE_UNKNOWN', 0)
#2 C:\xampp\htdocs\phreeze\libs\verysimple\Phreeze\IDaoMap2.php(5): require_once('C:\\xampp\\htdocs...')
#3 C:\xampp\htdocs\leodash\libs\Model\DAO\StatusItemAcaoMap.php(6): require_once('C:\\xampp\\htdocs...')
#4 C:\xampp\htdocs\leodash\libs\Model\DAO\StatusItemAcaoDAO.php(6): require_once('C:\\xampp\\htdocs...')
#5 C:\xampp\htdocs\leodash\libs\Model\StatusItemAcao.php(5): require_once('C:\\xampp\\htdocs...')
#6 C:\xampp\htdocs\leodash\libs\Controller\StatusItemAcaoController.php(6): require_once('C:\\xampp\\htdocs...')
#7 phar://C:/xampp/htdocs/leodash/libs/phreeze-3.3.phar/verysimple/Phreeze/Dispatcher.php(79): include_once('C:\\xampp\\htdocs...')
#8 C:\xampp\htdocs\leodash\index.php(28): Dispatcher::Dispatch(Object(Phreezer), Object(SmartyRenderEngine), '', NULL, Object(GenericRouter))
#9 {main}
If I select no to the self contained question, it's working ok.
This happens because the current .phar package of phreeze is outdated. You can either just delete the file live/phreeze.phar, or you can build a new phar (see phreeze/phar/).
I'll try to fix the distro version this weekend.
Hi, I have problem with self package of phreeze libraries, when generate app and set this option with yes, the app show me this error:
I have enable phar extension and run php 5.5, have any idea of the problem?
this is the configuration in _app_config.php
Thanks