FreiChat related discussions
file upload plugin error

Hi,

Thank you for great script.
Regarding file upload future, I got an error as below.
-----------------------------------------------------------
File Name: test.gif
File Type: image/gif
File Size: 93.009765625 Kb

Your file has been succesfully sent to admin
Download your Sent file!

Unable to connect to database!Send another file

Window will be closed in about 6 seconds
------------------------------------------------------------
What should I check then?

All other futures are working good.

Thank you.

Hi, Thank you for great script. Regarding file upload future, I got an error as below. ----------------------------------------------------------- File Name: test.gif File Type: image/gif File Size: 93.009765625 Kb Your file has been succesfully sent to admin Download your Sent file! Unable to connect to database!Send another file Window will be closed in about 6 seconds ------------------------------------------------------------ What should I check then? All other futures are working good. Thank you.

oops! thats a bug.
in ~freichat/client/plugins/upload/upload.php
find the following,

$this->username=$username;
$this->password=$password;

and replace it with
$this->username=$DBusername;
$this->password=$DBpassword;


That should make it work!

oops! thats a bug. in ~freichat/client/plugins/upload/upload.php find the following, <code> $this->username=$username; $this->password=$password; </code> and replace it with <code> $this->username=$DBusername; $this->password=$DBpassword; </code> That should make it work!
Necessity is the mother of all inventions!

admin,

thank you for your help.
Now upload plugin works.

in my case, I have some more issues...
I can upload all file formats written in arg.php via opera browser but can Not via IE8.
IE8 only accepts "gif" file.
Other formats are not able to be uploaded.
The error message is "Invalid file!".

Please check it and let me know...

thanks again.

PS pls forgive my poor english... sending from japan.

admin, thank you for your help. Now upload plugin works. in my case, I have some more issues... I can upload all file formats written in arg.php via opera browser but can Not via IE8. IE8 only accepts "gif" file. Other formats are not able to be uploaded. The error message is "Invalid file!". Please check it and let me know... thanks again. PS pls forgive my poor english... sending from japan.

there is a restriction on uploading files.
you can allow more types by modifying arg.php.
you just have to add more MIME types in $valid_exts
no more thing, make sure you add image/pjpeg for uploading jpeg files from IE

there is a restriction on uploading files. you can allow more types by modifying arg.php. you just have to add more MIME types in $valid_exts no more thing, make sure you add image/pjpeg for uploading jpeg files from IE
Necessity is the mother of all inventions!
97
4
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft