Remote URL Upload treat my user as non-login user

pullvideos

Member
YetiShare User
Dec 15, 2013
88
1
8
Hi,
I use remote upload direct server storage, and disable upload for non-login user
Some time I get error when loged in as free user on Remote URL upload below:

Code:
Unavailable.	Error: Uploading has been disabled.
Upload file still working fine!

Thanks!
 

pullvideos

Member
YetiShare User
Dec 15, 2013
88
1
8
Re: Unavailable. Error: Uploading has been disabled.

It may be cause by auto log out cache or cookie, because i disable upload for non log in user, i loged in as free user and upload but still get Error: Uploading has been disabled.When i change browser it working now.
How disable auto log out?
Thanks!
 

coffee

New Member
Jul 23, 2014
83
0
0
Re: Unavailable. Error: Uploading has been disabled.

Users keep getting logged out during uploads
1. Try disabling the account sharing option in your Yetishare configuration page
2. OR try setting “The amount of time a user can be inactive before their session will expire. In seconds. Default is 86400 (1 day)” to a higher amount
3. OR check your php.ini file. Set “session.gc-maxlifetime” to match the above setting on both file servers and main servers
4. OR as a last resort, resort to hard coding. You’ll need to do this on both your file servers and your main server:
In /core/includes/dBSession.class.php find:

Code:
if((int)$max < 60) 
{ 
$max = 60*60*24*7; // 7 days 
}
and replace it with:

Code:
$max = 60*60*24*14;
 

pullvideos

Member
YetiShare User
Dec 15, 2013
88
1
8
Re: Unavailable. Error: Uploading has been disabled.

1.not working
2.not working
3.haven't tried
4.haven't tried

But I notice after log in as free user I must delete 1 any file, then upload working fine!It's strange on V4 flow theme
Thanks!
 

pullvideos

Member
YetiShare User
Dec 15, 2013
88
1
8
Re: Unavailable. Error: Uploading has been disabled.

I still not disable auto log out, but this is not my main problems
My main problem is when I log in as free user but the script treated me as non-login user during Remote URL Upload process (because the owner of file is my ip address,not my user)?(upload file still working normal).
When i delete any file in my free user account then the script treated me as free user and Remote URL Upload working back as normal
If i am loged out during Remote URL Upload why upload file still working on my free user account?
Any help?
Thanks!
 

parham4229

New Member
Sep 3, 2014
46
1
0
We had this problem as well and worked it out with Adam, if open up a ticket and he should be able to send you the patch for this problem :)
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
This has been resolved in the code. It'll be officially noted as part of the next release however it's also been patched into the current if you can't wait until then :)

To fix download the latest release and re-upload the following folders/files to your install:

/core/includes/
/core/page/
/themes/flow/templates/partial/_uploader_javascript.inc.php
/themes/flow/templates/partial/_uploader.inc.php