Loading...
 
Architecture / Installation

Architecture / Installation


Error uploading file

posts: 102

I am getting an error when I try to upload a file into the file gallery:

Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189

Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189

Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189

Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189

Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189

Warning: fclose(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 198

Anyone have any idea wat this might be about.

posts: 102

> I am getting an error when I try to upload a file into the file gallery:
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189
>
> Warning: fwrite(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 189
>
> Warning: fclose(): supplied argument is not a valid stream resource in /home/rayhne/public_html/michaelironsidefans/tiki-upload_file.php on line 198
>
> Anyone have any idea wat this might be about.


Anyone have any ideas here?


posts: 1633 Canada

Hi!

Did you change storage from database to file system? (looks like it)

You need to make sure Tiki can write to that directory. Please note that the directory should be outside the public_html

1- You can create a directory called: /home/rayhne/mytikifiles/

2- Give that directory 777 permissions.

3- Tell the tiki file gallery to use that.

Best regards,

M ;-)