Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Attachment using aspSmartUpload. - HELP
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Attachment using aspSmartUpload. - HELP

 Post Reply Post Reply
Author
john8118 View Drop Down
Newbie
Newbie
Avatar

Joined: 13 April 2004
Location: Bolivia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote john8118 Quote  Post ReplyReply Direct Link To This Post Topic: Attachment using aspSmartUpload. - HELP
    Posted: 13 April 2004 at 11:01pm

Dear Sirs,

Please help me out on how to integrate aspsmartupload v3.3 component into webwiz forums 7.7a. I am running win2000, IIS 5,  SP4, Microsoft SQL Server 2000. I am able to upload using the template supplied by aspsmartupload but can never upload any image or attachment when I am trying to upload using the forum function( image attachment button).

I have the following file structure on my  webserver. c:\inetpub\wwwroot\forum\admin\
c:\inetpub\wwwroot\forum\administrator\
c:\inetpub\wwwroot\forum\avatars\
c:\inetpub\wwwroot\forum\Documentation and FAQ's\
c:\inetpub\wwwroot\forum\functions\
c:\inetpub\wwwroot\forum\includes\
c:\inetpub\wwwroot\forum\language_files\
c:\inetpub\wwwroot\forum\security_images\
c:\inetpub\wwwroot\forum\smileys\

My server web page is set to c:\inetpub\wwwroot\forum\ 
If I type the URL http://localhost/ it  will point to c:\inetpub\wwwroot\forum\default.asp

I am able to access to my forum page but I can never do any image attachment. I have search the forum and found the solution provided below.

Here is one solution provided by the Administrator in one of the thread in this forum

The path to the upload folder in the admin area
is incorrect.

The path must be from the directory the forum is
in to the upload directory
.

What does it mean that the path must be from the directory the forum is in to the upload directory??????

I have tried to create a upload folder in c:\inetpub\wwwroot\forum\upload\

Set the upload directory to have read, write permisson. It does not work.

I have tried to create a upload folder in c:\inetpub\wwwroot\upload\

Set the upload firectory to have read, write permisson. It does not work too. I have tried various combination by creating upload directory in different folders but the result is still the same.

Note : I have unchecked show friendly HTTP error messages in the advance option for the Internet web browser (IE v6.0).

 

Here is the Error Message I encountered on my server:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

------------------------------------------------------------ --------------------

Please try the following:

Click the Refresh button, or try again later.

Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

------------------------------------------------------------ --------------------

Technical Information (for support personnel)

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/functions/functions_upload.asp, line 80


Browser Type:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

Page:
POST 355 bytes to /upload_files.asp

POST Data:
. . .

Time:
Tuesday, April 13, 2004, 11:35:08 PM

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: 14 April 2004 at 6:23am
The error means the path is incorrect to the upload folder.

The default upload folder and path already entered into the upload setup page should be fine, just make sure the upload folder has write and read permissions.

The path to be a relative path to the main forum files. eg.

If the forum files are in:-

c:\inetpub\wwwroot\forum\

And tyhe upload folder is:-

c:\inetpub\wwwroot\forum\upload\

Enter as the upload path:-

upload

Relative paths must be used not physical paths.
Back to Top
john8118 View Drop Down
Newbie
Newbie
Avatar

Joined: 13 April 2004
Location: Bolivia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote john8118 Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2004 at 9:35am

Thank you for your help. I encountered yet another problem. This time I am really stuck as I could not find any solution on the forum.

I am able to click on upload image, browse to the required image files and click OK. A message box pop up. Please be patient while the image is being loaded to the server. I click OK.

Another message POP up again.

Error:

A Runtime Error has occurred.Do you wish to Debug? Line: 12

Error: Object doesn't support this property or method.

Click Yes or No.

If I click Yes I go to the Microsoft ScriptDebugger.


<html>
<head>
<meta name="copyright" content="Copyright (C) 2001-2004 Bruce Corkhill" />
<title>Image Upload</title>

<!-- Web Wiz Rich Text Editor ver. 1.2c is written and produced by Bruce Corkhill ©2001-2004
      If you want your own Rich Text Editor then goto
http://www.richtexteditor.org -->

<script  language="JavaScript">


 window.opener.frames.message.document.focus();
 window.opener.frames.message.document.execCommand('Ins ertImage', false, '../images/upload/administrator/2004-04-14_212707_web_wiz_fo rums.gif');
 window.close();

 

If I click No

I go back to normal Image Upload forms.


Do note that if i click Yes, my image attachment did appear in target

c:\Inetpub\wwwroot\images\upload\

 

However, how can I get rid of the Microsoft Debugger message???

Error:

A Runtime Error has occurred.Do you wish to Debug? Line: 12

Error: Object doesn't support this property or method

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: 14 April 2004 at 12:26pm
It could be a problem with the version of IE you are using, you didn't say????

Try upgrading IE or use a better browser like Mozilla Firebird.

It could also be a corrupoted file coursing the problems, so try reuploading forum files.
Back to Top
john8118 View Drop Down
Newbie
Newbie
Avatar

Joined: 13 April 2004
Location: Bolivia
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote john8118 Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2004 at 3:01am

Hi Admin,

 

It is working now. I have upgraded my IE5 to IE6.0.

Now It is working fine. It is due to my Internet Explorer.

Thank you.

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: 15 April 2004 at 6:46am
Some beta or minor versions of IE5 do have issues with the built in RTE features of the browser.
Back to Top
 Post Reply Post Reply

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.