Today I'm tried to migrate from 3.5 to 3.7.
Something wrong in paths.
<h2>404 - File not found</h2>
<p>The requested URL "/flightplans/json-data" was not found on this server.<
/p>
It fix error with clear-cache and Ini.php-file but all controllers in my app show return 404 error:"NetworkError: 404 Not Found - http://aviashelf1/flightplans/json-data"
Also login page shows two strange links. See login.jpg.
I change and transfer some files and now have error:
exception 'Kwf_Exception' with message 'Column "pos" must not be of type TINYINT in table "employeeStaffRoles"' in C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Model\Db.php:63 Stack trace: #0 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Model\Db.php(1421): Kwf_Model_Db->getColumnType('pos') #1 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Model\Db\Row.php(45): Kwf_Model_Db->convertValueType('pos', '1') #2 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Field\MultiFields.php(216): Kwf_Model_Db_Row->__get('pos') #3 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Field\Abstract.php(156): Kwf_Form_Field_MultiFields->load(Object(Row_Employee), Array) #4 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Container\Abstract.php(161): Kwf_Form_Field_Abstract->load(Object(Row_Employee), Array) #5 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Field\Abstract.php(156): Kwf_Form_Container_Abstract->load(Object(Row_Employee), Array) #6 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Container\Abstract.php(161): Kwf_Form_Field_Abstract->load(Object(Row_Employee), Array) #7 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Field\Abstract.php(156): Kwf_Form_Container_Abstract->load(Object(Row_Employee), Array) #8 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Form\Container\Abstract.php(161): Kwf_Form_Field_Abstract->load(Object(Row_Employee), Array) #9 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Action\Auto\Form.php(97): Kwf_Form_Container_Abstract->load(NULL) #10 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Action.php(33): Kwf_Controller_Action_Auto_Form->jsonLoadAction() #11 C:\OpenServer\domains\aviashelf1\library\zend\1.10.7\Zend\Controller\Dispatcher\Standard.php(295): Kwf_Controller_Action->dispatch('jsonLoadAction') #12 C:\OpenServer\domains\aviashelf1\library\zend\1.10.7\Zend\Controller\Front.php(953): Zend_Controller_Dispatcher_Standard->dispatch(Object(Kwf_Controller_Request_Http), Object(Kwf_Controller_Response_Http)) #13 C:\OpenServer\domains\aviashelf1\kwf-lib\Kwf\Controller\Front.php(142): Zend_Controller_Front->dispatch(Object(Kwf_Controller_Request_Http), Object(Kwf_Controller_Response_Http)) #14 C:\OpenServer\domains\aviashelf1\bootstrap.php(20): Kwf_Controller_Front->dispatch() #15 {main}
Yes, that is the correct fix. Tinyint is interpreted as boolean.
When I change the data type from TINYINT to INT - everything works fine =))
--
You received this message because you are subscribed to the Google Groups "Koala Framework Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to koala-framework...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<b>Warning</b>: Uncaught exception 'ErrorException' with message 'require_once(%libraryPath%/phpexcel
/1.8.0/PHPExcel.php): failed to open stream: No such file or directory' in /var/www/portal1/controllers
/FormEx.php:44
Stack trace:
#0 /var/www/portal1/controllers/FormEx.php(44): Kwf_Debug::handleError(2, 'require_once(%l...', '/var
/www/portal...', 44, Array)
#1 /var/www/portal1/controllers/FormEx.php(44): Kwf_Controller_Action_Auto_Form_Ex::jsonXlsAction()
#2 /var/www/portal1/vendor/koala-framework/koala-framework/Kwf/Controller/Action.php(33): Kwf_Controller_Action_Auto_Form_Ex-
>jsonXlsAction()
#3 /var/www/portal1/vendor/koala-framework/zendframework1/library/Zend/Controller/Dispatcher/Standard
.php(308): Kwf_Controller_Action->dispatch('jsonXlsAction')
#4 /var/www/portal1/vendor/koala-framework/zendframework1/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard-
>dispatch(Object(Kwf_Controller_Request_Http), Object(Kwf_Controller_Response_Http))
#5 /var/www/portal1/vendor/koala-framework/koala-framewor in <b>/var/www/portal1/controllers/FormEx.php
</b> on line <b>44</b><br />
<br />
<b>Fatal error</b>: Kwf_Controller_Action_Auto_Form_Ex::jsonXlsAction(): Failed opening required '%libraryPath
%/phpexcel/1.8.0/PHPExcel.php' (include_path='/var/www/portal1/vendor/koala-framework/zendframework1
/library:.:app:controllers:models:components:themes') in <b>/var/www/portal1/controllers/FormEx.php<
/b> on line <b>44</b><br />
I'm update my app to 3.8. Not of all works properly.1. How to change theme to extreme-gray?in dependencies.ini I had a lineAdmin.files[] = ext/resources/css/xtheme-gray.cssbut app not working with it (now commented and app have default blue style).
2. 404 error in"NetworkError: 404 Not Found - http://portal1/assets/ext2/resources/images/default/grid/page-n.ext2-disabled.gif"where this file?
4. Clear-cache writes me "build folder doesn't exist"In which folder create it?
3. What folders can I delete now? kwf-lib? library?
Some more...5. Long filepaths is looooong. In windows not working.See filepaths.jpg in attach.
6. Where is PHPExcel now?If i requere this library - error:
3) add line in config.ini in root folder:externLibraryPath.phpexcel = ./vendor/phpoffice/phpexcel/Classes
>that's probably because all css classes switched from x- to x2-.>reason for that is so we can mix with other extjs versions.Solved.1. php bootstrap.php build2. Admin.files[] = ext2/resources/css/xtheme-gray.css in dependencies.ini>hm, I think I also have seen this error, but didn't have a detailed look.I found a problem.See next.jpg. Button next not shows.I change in files:vendor\koala-framework\extjs2\resources\css\ext-all.css (line 1524)vendor\koala-framework\extjs2\resources\css\toolbar.css (line 153)page-n.ext2-disabled.gif to page-next-disabled.gif
>hm. I have no idea what to do about that.>maybe you could do some research?Research? Windows file path limitation is 255 =(
Niko
9. White progressbar filling.Bug or feature? :DSee excel_export.jpg.User can't see percents when fill > 50%
10. Where is block user feature/block user buttons in users management? (kwf/user/users)I can't see in my app now.
>that should not be required, composer should care about autoloading.>You should be able to simply use the phpexcel classes.Good. I'll try.KWF now uses autoload.php which generates by composer?
>well, research about how this could be solved - especially in combination with bower.>Others also must have this problem!I found that:also read post of Node core contributor:Some users fix problem by adding parameter:I would be happy to help you with this problem but I don't have enough in-depth knowledge.
>7. Strange horizontal and vertical scrolls in editdialogs.But how to fix this problem? I think this is related to 3.8 change:
- Lightbox, ViewAjax Javascript: converted from Ext2 to jQuery
4. Clear-cache writes me "build folder doesn't exist"In which folder create it?well, you need to execute the build step:I think current 3.8 branch will have some issues building on windows. I do have some fixes waiting to be merged tough:will be ready next week or so.