Hi there,
I have a problem with your script (XFileSharing), I cant't upload files when I try to the progress goes to 100% then it displays "Upload complete. Saving files...
Upload complete. Saving files... ", And when i made the iframe in that page visible I got this messege:
Software error:
Can't exec:s REPLACE INTO Secure (file_id,ip,rand,captcha,time) VALUES (?,INET_ATON(?),?,?,NOW()+INTERVAL ? SECOND)
Column 'ip' cannot be null at TCM/DataBase.pm line 65.
Also this shown when I click contact us link, I have tried what has been suggested in This Thread but it didnt help, but when I tried using proxy to access my website the error didnt show and can upload files normally, So it could be a bug from the software.
Any help to resolve this issue appreciated.
Kind Regards,
Mahmood Majeed
XFileSharing Free - Software error - Cant upload.
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
replace this code in Session.pm:
with
Code: Select all
return $ENV{HTTP_X_FORWARDED_FOR} || $ENV{REMOTE_ADDR};
Code: Select all
return $ENV{REMOTE_ADDR};
fixed it yesterday, anyway thanks.
I tried this solution yesterday you post it in another thread but it didnt help, but then I tried to go to the SQL database and edited the ip field in files table so it can be null and now it worked with the combination of what you suggested and what I have done.
Regards
I tried this solution yesterday you post it in another thread but it didnt help, but then I tried to go to the SQL database and edited the ip field in files table so it can be null and now it worked with the combination of what you suggested and what I have done.
Regards