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  123 4>
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 Topic: Problem with file upload
    Posted: 26 November 2003 at 10:14am

Hi everyone.

I have a problem with file upload, using Dundas Upload.

The problem is that when uploading a file (zip) to the forum, the link shown in forum is http://server/webwiz/uploads instead of http://www.internetsite.com/webwiz/uploads .

Uploaded avatars and other pictures ar linked correctly.

Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2003 at 11:24am
Are the uploads making it to the upload folder?  Do you have all of your web site configurations correct under the administrator console?
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: 26 November 2003 at 11:43am

yes, the uploads are in uploads/username folder. I can download them from my machine because the path is correct, but the path is wrong from the internet.

All settings seems OK

Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2003 at 11:59am
Do you have everything correct under the Forum Configuration window?  I don't think Dundas had any options on what domain you are on.  It's pretty straight forward....  I would say it's under the Forum Config window.  But then again I'm no expert
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: 26 November 2003 at 12:13pm

Everything seems fine for me, in upload config it's the same for files and pictures but the strange thing is that images are correct linked in the forum.

Checking the acccess db and I see that pix are linked <IMG src="uploads/username/picture.jpg and files are <A href="http://server/webwiz/uploads/file.zip and therefor displaying the wrong link to the visitors.

 

Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2003 at 12:25pm
Got me......  I'm sure one of the pro's here will help you on the right path
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: 26 November 2003 at 12:35pm

you upload files local right? (using your computername as the "domain")

if you do that try use your real internet domain..

<<<EDIT>>>

when uploading a file the url to the file including the domain it is uploaded from is stored in the database.. then if you are using http://yourcomputer/ when uploading, the script will save http://yourcomputer/filepath/filename in the database.. if you are using http://www.yourdomain.com when uploading, the script will save http://www.yourdomain.com/filepath/filename in the database..



Edited by AnthraX
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Posted: 26 November 2003 at 1:41pm
Makes sense to me
Back to Top
 Post Reply Post Reply Page  123 4>

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.