The Forum has been Updated
        The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
    
                        I have noticed the use of:
as a replacement for:
But,
is already an include in both inc_header.asp and inc_header_short.asp, so in a lot of the MODS that I have looked at, it's basically being included twice.
Please go over your MODS and check to make sure that you aren't including:
in any of your files that also have either inc_header.asp or inc_header_short.asp as an include.<
                    
                Code:
<!--#INCLUDE FILE="inc_func_common.asp" -->Code:
<!--#INCLUDE FILE="inc_functions.asp" -->Code:
<!--#INCLUDE FILE="inc_func_common.asp" -->Please go over your MODS and check to make sure that you aren't including:
Code:
<!--#INCLUDE FILE="inc_func_common.asp" -->
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                Last edited by @tomic on 24 October 2002, 20:02
                                
                            
                        
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Thanks Richard.
Wouldn't you get an error if the file was included twice? Because I would have fixed that in my mods if an error showed up. Otherwise, I might be guilty of doing that myself.<
                                Wouldn't you get an error if the file was included twice? Because I would have fixed that in my mods if an error showed up. Otherwise, I might be guilty of doing that myself.<
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            Originally posted by Davio
Wouldn't you get an error if the file was included twice? ...
No, it will not cause any errors. Only difference is that whenever a call is made to a function or sub the function/sub in the file which is included last will be executed.<
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        I think you only get an error if you have a Dim statement outside of the sub/functions<
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            Originally posted by ajhvdbAlso CONST...<
I think you only get an error if you have a Dim statement outside of the sub/functions
 Stop the WAR!
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Thanks for the info Richard, I was having a new MOD in mind! 
<
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Can I bump this post to remind all mod developers about this?
I am installing a few mods and I am seeing this happening in almost all of the mods.
Please don't include the inc_func_common.asp file, if you already include the inc_header.asp or inc_header_short.asp files.
Here are a few of the mods that I know of, that are guilty of this. I will update this list as I find them:
- Inactive users mod - Ipgate mod - Private Messages Mod - Active Users Mod<
                                I am installing a few mods and I am seeing this happening in almost all of the mods.
Please don't include the inc_func_common.asp file, if you already include the inc_header.asp or inc_header_short.asp files.
Here are a few of the mods that I know of, that are guilty of this. I will update this list as I find them:
- Inactive users mod - Ipgate mod - Private Messages Mod - Active Users Mod<
                                Last edited by Davio on 11 October 2003, 02:27
                                
                            
                        
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Can we simply delete the include for this file on these mods?<
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Yes, you would delete the include file which is in the file that includes an inc_header.asp, right ?<
                                        
                                    
                                
                                Posted 
                                
                                
                                
                                    
                                    
                                
                            
                            
                                        Yes, delete the inc_func_common.asp include from the files that have both inc_func_common.asp and inc_header.asp included.<
                                        
                                    
                                Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
                    
                    Loading...