FreiChat related discussions
Sending files permission problem

Hello

I'm getting error when i testing sending files:
Upload director does not have required permissionsFile Name

What can I set up to make this work? Where are uploaded files are stored? In joomla database?

Hello I'm getting error when i testing sending files: Upload director does not have required permissionsFile Name What can I set up to make this work? Where are uploaded files are stored? In joomla database?

The permissions are not enough!
you have to chmod 'freichat/plugins/upload/upload' directory to 777
The uploaded files are not stored in joomla database but stored in the above mentioned directory.

The permissions are not enough! you have to chmod 'freichat/plugins/upload/upload' directory to 777 The uploaded files are not stored in joomla database but stored in the above mentioned directory.
Necessity is the mother of all inventions!

I set up chmod to 777 to specified directory, but still getting error: Unable to connect to database


File Name: foto2.jpg
File Type: image/jpeg
File Size: 24.2060546875 Kb

Your file has been succesfully sent to Super User
Download your Sent file!

Unable to connect to database!Send another file

Window will be closed in about 6 seconds

I set up chmod to 777 to specified directory, but still getting error: Unable to connect to database File Name: foto2.jpg File Type: image/jpeg File Size: 24.2060546875 Kb Your file has been succesfully sent to Super User Download your Sent file! Unable to connect to database!Send another file Window will be closed in about 6 seconds

that is a tiny bug in the current version.
you will have to replace a small piece of code.
in freichat/client/plugins/upload/upload.php,replace,

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


with

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

that is a tiny bug in the current version. you will have to replace a small piece of code. in freichat/client/plugins/upload/upload.php,replace, <code> $this->username=$username; $this->password=$password; </code> with <code> $this->username=$DBusername; $this->password=$DBpassword; </code>
Necessity is the mother of all inventions!

Ok, and if you don't have that folder create "upload" folder into to "freichat/client/plugins/upload/"

The don't are in Version 7.2

I create and set 777 permision and now work fine :)

Ok, and if you don't have that folder create "upload" folder into to "freichat/client/plugins/upload/" The don't are in Version 7.2 I create and set 777 permision and now work fine :)

I am unable to get the file upload going. When I change the permission of the "upload" directory, it gives me 500 Internal server error. Following are the server logs:
------------
[Sat Oct 13 21:54:52 2012] [error] [client 124.253.164.64] File does not exist: /home/xyz/public_html/500.shtml, referer: http://XYZ/mod/chat/vendors/freichat/client/plugins/upload/html.php
[Sat Oct 13 21:54:52 2012] [error] [client 124.253.164.64] SoftException in Application.cpp:601: Directory "/home/XYZ/public_html/mod/chat/vendors/freichat/client/plugins/upload" is writeable by group, referer: http://XYZ/mod/chat/vendors/freichat/client/plugins/upload/html.php
------------

I can see that the "html.php" is there in the folder though. (M using Elgg and the current version 7.2 of freiChat).

Please help asap

I am unable to get the file upload going. When I change the permission of the "upload" directory, it gives me 500 Internal server error. Following are the server logs: ------------ [Sat Oct 13 21:54:52 2012] [error] [client 124.253.164.64] File does not exist: /home/xyz/public_html/500.shtml, referer: http://XYZ/mod/chat/vendors/freichat/client/plugins/upload/html.php [Sat Oct 13 21:54:52 2012] [error] [client 124.253.164.64] SoftException in Application.cpp:601: Directory "/home/XYZ/public_html/mod/chat/vendors/freichat/client/plugins/upload" is writeable by group, referer: http://XYZ/mod/chat/vendors/freichat/client/plugins/upload/html.php ------------ I can see that the "html.php" is there in the folder though. (M using Elgg and the current version 7.2 of freiChat). Please help asap

What did you change the permissions to ? Try changing permissions of html.php, download.php , upload.php to 0755 and upload dir to 077

We strongly recommend installing the latest version i.e 7.5.3 due to security fixes related to upload .

What did you change the permissions to ? Try changing permissions of html.php, download.php , upload.php to 0755 and upload dir to 077 We strongly recommend installing the latest version i.e 7.5.3 due to security fixes related to upload .
Necessity is the mother of all inventions!

I changed the permissions of the upload directory to 0777 and now the files html.php, download.php , upload.php are 0755. Still I get the same error. :(
any thoughts?

I changed the permissions of the upload directory to 0777 and now the files html.php, download.php , upload.php are 0755. Still I get the same error. :( any thoughts?

make sure freichat/client/plugins/upload has 0755 permissions
freichat/client/plugins/upload/upload has 0777 permissions
and files in freichat/client/plugins/upload have 0755 permissions

make sure freichat/client/plugins/upload has 0755 permissions freichat/client/plugins/upload/upload has 0777 permissions and files in freichat/client/plugins/upload have 0755 permissions

Thanks for the input, but do you mean that there should be another "upload" folder inside "/client/plugins/upload/" directory?

I did not find any such folder inside the already existing "upload" folder. However, I created and followed the steps to No success.. :'(

Any other suggestions?

Thanks for the input, but do you mean that there should be another "upload" folder inside "/client/plugins/upload/" directory? I did not find any such folder inside the already existing "upload" folder. However, I created and followed the steps to No success.. :'( Any other suggestions?

Try lowering the permissions of "plugins/upload" folder.
Make sure the permissions are same as the 'freichat' folder.

Also note, "plugins/upload/upload" should have 0777 permission.
Don't forget to upgrade to the latest version of FreiChat.

Try lowering the permissions of "plugins/upload" folder. Make sure the permissions are same as the 'freichat' folder. Also note, "plugins/upload/upload" should have 0777 permission. Don't forget to upgrade to the latest version of FreiChat.
Necessity is the mother of all inventions!
215
10
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