Page 1 of 1
Knowledgetree
Posted: Wed Sep 30, 2009 9:16 pm
by boomerang56
The app installed and will run, sort of.
I get this error any time I upload a file - PDF and jpg, both less than half a meg.
Fatal error: Call to undefined function mb_ereg_replace() in /var/hda/web-apps/ktree/html/thirdparty/Smarty/plugins/modifier.sanitize_input.php on line 5
The document appears to get uploaded but trying to view it afterwards gets the same error
Re: Knowledgetree
Posted: Thu Oct 01, 2009 7:18 pm
by boomerang56
Solved - Fedora needs package php-mbstring-5.2.9-2.fc10, which is not installed by default.
More info here:
http://forums.knowledgetree.com/viewtop ... =6&t=18968
Install this RPM, reboot the server and good to go.
Re: Knowledgetree
Posted: Thu Oct 01, 2009 8:21 pm
by cpg
thanks, we updated the app to account for this dependency.
please uninstall and reinstall to see if things work.
Re: Knowledgetree
Posted: Thu Oct 01, 2009 8:40 pm
by boomerang56
Uninstalled and reinstalled, looks good. It can upload a PDF, and do the basic document control things without crashing or spewing errors. I haven't tried creating folders, users, etc but for an alpha level app it seems mostly there. I think this definately needs more people looking at it,as there's tons of features and options. Thanks for packaging this.
Re: Knowledgetree
Posted: Fri Oct 02, 2009 5:48 am
by boomerang56
Not a bug but needs some documentation.
By default, php.ini limits uploads to under 2 MB, which can cause issues with document uploads, especially bulk uploads. I edited my php.ini to change the limit and it's no big deal but for some it might be an issue (?).
Documentaion for php.ini is here:
http://us.php.net/manual/en/ini.core.php
Might want to point people here after the install the way that the webmin install points people to post-install instructions.
Alternately the install script might change the setting for people - or replace php.ini with one that has optimized settings, although this might be dangerous(?).
Re: Knowledgetree
Posted: Fri Oct 02, 2009 11:35 am
by cpg
yes. however, what you say is too abstract. can you be specific?
we have the ability to change the defaults in the custom webapp options.
we just updated the app with some settings that may help:
Code: Select all
php_value memory_limit 32M
php_value max_execution_time 300
php_value max_post_size 40M
is this what you mean?
others?
can you modify them and reinstall to see how they work?
(this is all that app packaging is about - one little bit of app-specific knowledge being shared benefits the rest of the community)
you can also put things in the special directions field for anything that the user may have to do (or want to do) by hand!
Re: Knowledgetree
Posted: Fri Oct 02, 2009 11:40 am
by boomerang56
yes. however, what you say is too abstract. can you be specific?
we have the ability to change the defaults in the custom webapp options.
we just updated the app with some settings that may help:
Code: Select all
php_value memory_limit 32M
php_value max_execution_time 300
php_value max_post_size 40M
is this what you mean?
others?
can you modify them and reinstall to see how they work?
(this is all that app packaging is about - one little bit of app-specific knowledge being shared benefits the rest of the community)
you can also put things in the special directions field for anything that the user may have to do (or want to do) by hand!
Sorry if that was too vague. Those were the settings I meant. Sure, I'll uninstall and reinstall it tonight and let you know.
Re: Knowledgetree
Posted: Mon Oct 05, 2009 9:35 am
by boomerang56
we just updated the app with some settings that may help:
Code: Select all
php_value memory_limit 32M
php_value max_execution_time 300
php_value max_post_size 40M
is this what you mean?
others?
can you modify them and reinstall to see how they work?
Seems to work fine after uninstalling & reinstalling. The largest upload I've done so far has been around 5 MB. I'll create a larger archive tonight and try uploading that - post again if there's an error.
Bulk Download is not working but a lot of people seem to have trouble with that. Personally I think that's pretty much a must-have feature. I'll post something when/if I get the bulk downloads working.