tag:blogger.com,1999:blog-504705560946953582.post596683969127908620..comments2023-04-26T10:20:42.742+01:00Comments on Diaries of a Programmer: Knowledge Tree and PHP 5.3.3Timotheus Pokorrahttp://www.blogger.com/profile/05259914906217943114noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-504705560946953582.post-649470598897100292013-09-19T01:37:29.002+01:002013-09-19T01:37:29.002+01:00I redownloaded KT 3.7 community from Freecode.
Af...I redownloaded KT 3.7 community from <a href="http://freecode.com/projects/knowledgetree" rel="nofollow">Freecode</a>.<br /><br />After manually grepping and tricking the installer, I was able to get a "<a href="http://virasawmi.com/gordon/image/knowledgetree_3.7_install_finished.jpg" rel="nofollow">install finished</a>" dialog.<br /><br />After removing the & from line 419 in login.php, now all I get is a blank screen. <br /><br />It seems that line 420 is crashing the whole thing. I couldn't find where or what "dispatch()" does so I couldn't probe that code.<br /><br />Any other suggestions?Marsint IThttps://www.blogger.com/profile/16461260622579947750noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-89210044052256480772013-09-18T14:20:57.684+01:002013-09-18T14:20:57.684+01:00Has anyone got KT 3.7 working on PHP 5.3 on a host...Has anyone got KT 3.7 working on PHP 5.3 on a host?<br /><br />I was trying to install a fresh KT 3.7 Community to <a href="http://dreamhost.com/" rel="nofollow">Dreamhost</a> (php5.3) <i>(Their 5.2 doesn't support XMLRPC)</i><br /><br />I did your mods and ran into misconfigured MySQL (config/config.ini), depreciated code, then more DB errors. After the more DB errors, I gave up.Anonymoushttps://www.blogger.com/profile/17919258247666414746noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-1456747483759289392012-09-12T11:14:36.757+01:002012-09-12T11:14:36.757+01:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/06162286850993845259noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-42727664636401321442012-07-05T08:56:02.076+01:002012-07-05T08:56:02.076+01:00On my server, Apache/2.2.9 PHP 5.3.3-7 Debian, I n...On my server, Apache/2.2.9 PHP 5.3.3-7 Debian, I needed to fix the error_reporting in /etc/php5/apache2/php.ini too. <br />By the way, it is not needed to set the error_reporting to 0, "E_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATEDE_ALL & ~E_WARNING & ~E_NOTICE & ~E_DEPRECATED" (in both dmsDefaults.php __and__ php.ini) will do the trick.<br /><br />davidedaserzwhttps://www.blogger.com/profile/05215433630040360260noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-57989088199277670632012-04-17T20:44:13.041+01:002012-04-17T20:44:13.041+01:00You can also try to use error_reporting(E_ERROR);
...You can also try to use error_reporting(E_ERROR);<br />see also http://php.net/manual/en/function.error-reporting.php for possible parameters.<br /><br />On the other hand, I am quite disappointed with KnowledgeTree, since it seems they are not developing the community version anymore. See also this thread: http://forums.knowledgetree.org/viewtopic.php?f=3&t=20951<br /><br />I am personally considering to try Alfresco, but I have not found an easy way yet to migrate my documents with versioning to Alfresco.Timotheus Pokorrahttps://www.blogger.com/profile/05259914906217943114noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-6651819451446482232012-04-17T16:19:23.134+01:002012-04-17T16:19:23.134+01:00Hi I have double checked the edit. When I remove t...Hi I have double checked the edit. When I remove the line<br /><br />error_reporting(0);<br /><br /><br />I will get output on the page like this:<br /><br />Deprecated: Assigning the return value of new by reference is deprecated in etc etc etc<br /><br />I definitely don't have a typo - when I put it back in, the whole screen shows a blank :( <br /><br />I did a <br /><br />tail -f /var/log/messages<br /><br />and reloaded the page (and get a blank)<br />but it does not show any errorssyamsulhttps://www.blogger.com/profile/11995046138817770600noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-38030972038432700702012-04-16T13:44:34.281+01:002012-04-16T13:44:34.281+01:00a blank screen is usually a sign for a typo. Check...a blank screen is usually a sign for a typo. Check your changes again. Otherwise modify your php.ini to show errors (display_errors = On), which might help you to find the line of your typo.Timotheus Pokorrahttps://www.blogger.com/profile/05259914906217943114noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-23062034280468503562012-04-16T13:31:02.594+01:002012-04-16T13:31:02.594+01:00Hi I have followed your tip on my PHP 5.3.10 serve...Hi I have followed your tip on my PHP 5.3.10 server but now on<br /><br />myknowledgetreesite/control.php<br /><br />I get a blank screen :(<br /><br />Can you advise? Thanks!syamsulhttps://www.blogger.com/profile/11995046138817770600noreply@blogger.comtag:blogger.com,1999:blog-504705560946953582.post-70121196611707127462011-03-14T22:45:03.524+00:002011-03-14T22:45:03.524+00:00Thank you. Made my night a couple of hours longer....Thank you. Made my night a couple of hours longer.<br /><br />How did you find out?<br /><br />Saludos<br /><br />Mario<br /><br />BTW: If the wizard doesn't let you install KT on php 5.3 just change a line in /setup/wizard/steps/dependencies.php<br /><br />change phpversion to 5.4 or something. :)Unknownhttps://www.blogger.com/profile/06543039319785440428noreply@blogger.com