external file server remote upload, login and report abuse

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Hello
i installed fresh script and disabled local storage because i want to use external storage for files.
So 1.
I configured "remote direct" server with given instructions. i mean, changed '_CONFIG_SITE_HOST_URL & _CONFIG_SITE_FULL_URL' chmod 777 /files directory on domain http://fc11.filecity.eu
all is ok when run test server. also all passed when run check_host.php
Now normal upload is working but remote upload is not working.
In 'external server' files uploaded in _tmp folder but front end filecity.eu not generating any link.
you can check it on http://filecity.eu by remote uploading file http://rbx.proof.ovh.net/files/10Mb.dat

2.
login not working. i do login on site but when reload site its logged out.
i think this is some kind of problem because of external file server (http://fc11.filecity.eu)
Login works perfectly when i disable "remote direct" server and enable only local storage.

3.
report abuse problem
when submit abuse for link http://fc11.filecity.eu/I2/1Mio.dat
error comes "Could not find a file with that url, please check and try again."

Please help me to solve these major issues
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Re: external file server remote upload, login and report abu

The first 2 are probably the same issue. Can you check what php reports as the date / time on both servers and ensure they match. This is normally the cause of cross site session issues.
 

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Re: external file server remote upload, login and report abu

by using "echo date('Y-m-d H:i:s'); " time of both servers is same.
 

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Re: external file server remote upload, login and report abu

i tried everything belongs to cross domain sessions for my server and php.ini
also tried
Code:
session.cookie_domain = .filecity.eu
but couldn't figure it out.
Please i am stuck and waiting for support.
 

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Re: external file server remote upload, login and report abu

as you said (The first 2 are probably the same issue) No its not. i have setup my server and fileserver again and now login problem is solved everything is ok except remote upload is not working in any way.
i am waiting for any support?????
too long
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Re: external file server remote upload, login and report abu

Hi,

If you can send me access to the site & file server, plus admin access, I'll investigate it for you. Please send it via the contact form above.

Regards,
Adam.
 

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Re: external file server remote upload, login and report abu

ok Thank you for resolving this issue.
i think register_globals should on for both server.
Because when register_globals only on for fileserver it comes to another problem like 100mb file uploads as 10.15mb
I activate register_globals for both server and now its working like charm upto 10GB.
maybe helpful for other users
thank you again.
just 1 thing more about script.
Is there a way to generate links only like "http://mysite.com/fd/filename" using "remote direct fileserver"
it should not like "http://fileserver.mysite.com/fd/filename"
as in xfilesharing.
frontend only show "http://mysite.com/fd/filename" but backend download served from "http://fileserver.mysite.com/fd/filename"
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Re: external file server remote upload, login and report abu

I'll take a look at the register_globals issue. It shouldn't rely on it as it's been removed in PHP. I'll run some tests though.

Is there a way to generate links only like "http://mysite.com/fd/filename" using "remote direct fileserver"
Not at the moment. It's probably a disadvantage though, you'll still be routing all download traffic via your main site, which would be less scalable. The remote file servers should act pretty much independently from the main site, apart from the db. I can see why some people would want the consistent urls though.

I'll copy this over to the RFCs to see if there's an option we can add on a future release, maybe a redirect via the main site.
 

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Re: external file server remote upload, login and report abu

ok if you found something about register_globals please let me know.

serving urls are not disadvantage. xfilesharing not routing traffic via main server. its just opens links from main server and when in last step user click on download button only then download starts from directly fileserver.example.com otherwise user remain on example.com.
fileserver not shows users in any way except developers. who can see it via network option in inspect element of firefox or chrome.
anyway if its possible you to make this working then it would be good.
it will not use main server bandwidth.
it will work same like when we upload file from example.com it goes to direct server. same like when we download file url will example.com but file comes and downloaded directly from fileserver to user in backend.
hope you understood what i am saying if not test any site using xfilesharing and download any file while watching network option on firefox inspect element.
hugefiles.net you can test here.
hope this option will come soon
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Re: external file server remote upload, login and report abu

It still relies on the main site to a certain extent. For example, if the main site becomes unavailable, none of the download urls will work.

I'll have a look at adding the option though for the next release.
 

hyderalifsd3299

New Member
YetiShare User
Dec 4, 2013
15
0
0
Re: external file server remote upload, login and report abu

yes in this case it relies on main site. if main site down all servers down.
but i still wish to have this option.
i'll wait for next release and will be happy to see this.
now i am very satisfied that i purchased a good script with good support
Thank you very much.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Re: external file server remote upload, login and report abu

No problem. Thanks for the feedback aswell. We're determined to make this the best file hosting script available so any feedback is appreciated. :)