Loading...
 
Skip to main content

Architecture / Installation


Major file upload problems

Hi all,

Just installed Tiki on a e-smith/SME Server and initially i had problems with everything coming up blank (i then changed php.ini and set USE_SUB_DIRS to false) now even smarty worked.

This was an option that i saw at smarty's website.

The main problem is that whenever i try to do file uploads (have set it to a directory relative to the Tiki documentroot) called "files/" then nothing is uploaded (even tried with files of 105 bytes).

The only result that i'm getting is in /var/log/messages where it says

PHP Warning: Supplied argument is not a valid File-Handle resource in /home/e-smith/files/ibays/tostudy.site/html/tiki-upload_file.php on line 111

PHP Warning: Supplied argument is not a valid File-Handle resource in /home/e-smith/files/ibays/tostudy.site/html/tiki-upload_file.php on line 115

I then tried changing the upload directory for file uploads to "/" which should be directly in the documentroot !!! but still i'm getting the same error.

Do anyone have a clue ? This is probably one of the most important issues for my site since people are supposed to upload small files !

Does uploading in database work?
If yes, are you sure that new new files can be created in files/ directory?