Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Problem with file upload
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem with file upload

 Post Reply Post Reply Page  <1234>
Author
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 2:37am

yes, but isn't that a kind of bug for us who have their own servers?

Other can't get files I put in the forum (using RTE) and I cant get files others have uploaded!

Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 9:25am
is there a problem using your domain?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 12:22pm
When a file is uploaded using the forum the http part is not included in what is used for the location of the file.

All that is stored is the path from the forum's HTML pages to the folder the file is uploaded to, not the full domain eg.

If you upload a file called file.zip the link to it stored in the post is:-

<a href="uploads/myUser/file.zip">myFile</a>

So it shouldn't matter how the file is uploaded.

If this is not the case check your settings are correct in the admin section.
Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 12:36pm

-boRg- i think you are wrong..

in my database the whole thing is stored (http://domain/path/name) and thats not the same domain i have specified in the admin section.. cus i havnt changed that and in the database i get http://dataenmin/path/name (dataenmin is the name of my computer)

Back to Top
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2003 at 2:31pm

I agree with AnthraX

The path stored in db when someone "out there" uploads is http://iggstrom.homeip.net... (the dyn ip adress) but the domain name I set in admin setup is www.iggstrom.com (my domain name) and the path stored in db when I upload from within the local network is http://server... (server is the name of my server )

By the way, my forus is v7.6 and server is iis6.0 (w2k3)

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2003 at 5:55am
Either you are runing a modified version or you have changed something then.

I didn't write the code to include http://domainname.com in the path to uploaded files.

Have a look at the code yourself in the upload_files.asp file the code I wrote takes the path to the upload folder entered in the upload configuration page in the admin area and adds the file name to the end, this is then placed into the post in the format I mention in my last post.

So unless the forum has come alive and is wirtting it's own code this is how paths to uploaded files are stored when using the built in file upload features of the forum.
Back to Top
rigg View Drop Down
Groupie
Groupie
Avatar

Joined: 13 November 2003
Location: Sweden
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote rigg Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2003 at 6:12am
Ok, I didn't modify the file, maybe some mod I installed. I shall restore the file with the original one as soon as I'm back from work.
Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post Posted: 28 November 2003 at 11:34am

i hadnt done anything with the forum.. it was a blank v7.6.. no mods and no configuration changes..

maybe it is dundas.. that was the only thing i changed before uploading..

Back to Top
 Post Reply Post Reply Page  <1234>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.