| Author | 
                
                  Topic   | 
                
              
              
                | 
                 sr_erick 
                Senior Member 
                     
                 
                
                USA 
                1318 Posts  | 
                
                  
                    
                      
                       Posted - 19 June 2001 :  22:18:05
                        
                        
                      
  | 
                     
                    
                       Quick Question.  I am runing HuwR's versoin of the forum and was wondering if you can and how to upload pictures?  I have been trying to figure it out but am not getting anywhere.  I know in the members area you can alow certain users to upload and download so I am assuming you can upload pics.  If not, Is there a neat "pic upload" mod available?  Thanks!
  __________________________________
 
   Snowmobile Fanatics
  | 
                     
                   
                 | 
              
              
                | 
                 HuwR 
                Forum Admin 
                      
                 
                
                United Kingdom 
                20611 Posts  | 
                
                  
                    
                      
                       Posted - 19 June 2001 :  22:27:15
                        
                        
                      
  | 
                     
                    
                       ok, make a copy of your uploadengine.asp file, and then replace the original with this one
  Uploadengine.asp
  when someone uploads an image file, it will display the image rather than putting a link to the file.
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 sr_erick 
                Senior Member 
                     
                 
                
                USA 
                1318 Posts  | 
                
                  
                    
                      
                       Posted - 19 June 2001 :  23:04:25
                        
                        
                      
  | 
                     
                    
                       I get this error when uploading a pic 
  Active Server Pages error 'ASP 0126' 
  Include file not found 
  /snofans/Mods/UploadEngine.asp, line 41 
  The include file 'config.asp' was not found.    I know it is due to this file being in the mods folder.  How do I change where it looks for the file.  Thanks!
  __________________________________
 
   Snowmobile Fanatics
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 RichardKinser 
                Snitz Forums Admin 
                      
                 
                
                USA 
                16655 Posts  | 
                
                  
                    
                      
                       Posted - 19 June 2001 :  23:18:37
                        
                      
  | 
                     
                    
                       change these:
 
 <!--#include file="config.asp"--> <!--#include file="inc_functions.asp"--> 
  to this:
 
 <!--#include file="../config.asp"--> <!--#include file="../inc_functions.asp"--> 
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 sr_erick 
                Senior Member 
                     
                 
                
                USA 
                1318 Posts  | 
                
                  
                    
                      
                       Posted - 19 June 2001 :  23:29:14
                        
                        
                      
  | 
                     
                    
                       Ok, I got that part to work but now I am getting this error.  Right When I select the pic and hit upload, it goes to this screen.  
 
  Uploading.... Please wait  Microsoft VBScript runtime error '800a004c' 
  Path not found 
  /snofans/Mods/UploadEngine.asp, line 165 
 
  ??? I am lost now.  Thanks!
  __________________________________
 
   Snowmobile Fanatics
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 sr_erick 
                Senior Member 
                     
                 
                
                USA 
                1318 Posts  | 
                
                  
                 | 
              
              
                | 
                 HuwR 
                Forum Admin 
                      
                 
                
                United Kingdom 
                20611 Posts  | 
                
                  
                    
                      
                       Posted - 20 June 2001 :  19:40:01
                        
                        
                      
  | 
                     
                    
                       you need to create a directory called uploaded, or change this value in uploadengine.asp
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 sr_erick 
                Senior Member 
                     
                 
                
                USA 
                1318 Posts  | 
                
                  
                    
                      
                       Posted - 20 June 2001 :  20:12:13
                        
                        
                      
  | 
                     
                    
                       quote:
  you need to create a directory called uploaded
 
  
  Where would I place this directory?  In the same folder as the UploadEngine.asp file?  Also, since this is a dual interface forum, would it have any effect on where this folder is?  Does there need to be two?  Thanks!   
  __________________________________
 
   Snowmobile Fanatics
 
  Edited by - sr_erick on 20 June 2001  20:13:51 | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 master of puppets 
                Junior Member 
                   
                 
                
                Canada 
                117 Posts  | 
                
                  
                    
                      
                       Posted - 21 June 2001 :  15:42:11
                        
                        
                      
  | 
                     
                    
                       I made an "uploaded" folder under my "mods" folder
  like polarisman/mods/uploaded
  then when I tried uploading something I got this error:
  Uploading.... Please wait  Microsoft VBScript runtime error '800a0046' 
  Permission denied 
  /polarisman/Mods/UploadEngine.asp, line 164 
 
  ????
  "It's not how far you go, it's how go you far"  - Guy in Ski School | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 HuwR 
                Forum Admin 
                      
                 
                
                United Kingdom 
                20611 Posts  | 
                
                  
                    
                      
                       Posted - 21 June 2001 :  16:22:47
                        
                        
                      
  | 
                     
                    
                       the uploaded directory should not be inside the forum directory., not the mods directory
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 sr_erick 
                Senior Member 
                     
                 
                
                USA 
                1318 Posts  | 
                
                  
                    
                      
                       Posted - 21 June 2001 :  16:43:15
                        
                        
                      
  | 
                     
                    
                       Even when the "uploaded" folder is in the forum folder, it still has the same error:
  Microsoft VBScript runtime error '800a0046' 
  Permission denied 
  /polarisman/Mods/UploadEngine.asp, line 164 
  Thanks for the help!
  __________________________________
 
   Snowmobile Fanatics
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 fredder 
                Starting Member 
                 
                 
                
                1 Posts  | 
                
                  
                    
                      
                       Posted - 22 June 2001 :  01:28:49
                        
                      
  | 
                     
                    
                       Where can I get a copy of HuwR's version of the forum?
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 master of puppets 
                Junior Member 
                   
                 
                
                Canada 
                117 Posts  | 
                
                  
                 | 
              
              
                | 
                 mneedham 
                New Member 
                  
                 
                
                United Kingdom 
                84 Posts  | 
                
                  
                    
                      
                       Posted - 24 June 2001 :  07:44:35
                        
                      
  | 
                     
                    
                       I can't get that link to work, donno about ne one else
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 HuwR 
                Forum Admin 
                      
                 
                
                United Kingdom 
                20611 Posts  | 
                
                  
                    
                      
                       Posted - 24 June 2001 :  07:49:58
                        
                        
                      
  | 
                     
                    
                       the problem with the link is the ****, you need to replace them with d i c k but without the spaces
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                | 
                 mneedham 
                New Member 
                  
                 
                
                United Kingdom 
                84 Posts  | 
                
                  
                    
                      
                       Posted - 24 June 2001 :  07:57:27
                        
                      
  | 
                     
                    
                       cheers
  ver good btw
 
  | 
                     
                    
                        | 
                     
                   
                 | 
              
              
                
                
                  Topic   | 
                  |