Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Announcements
 Announcements: Community
 MOD Developers, please read...
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 24 October 2002 :  19:32:27  Show Profile  Reply with Quote
I have noticed the use of:

<!--#INCLUDE FILE="inc_func_common.asp" -->
as a replacement for:

<!--#INCLUDE FILE="inc_functions.asp" -->

But,

<!--#INCLUDE FILE="inc_func_common.asp" -->
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:
<!--#INCLUDE FILE="inc_func_common.asp" -->
in any of your files that also have either inc_header.asp or inc_header_short.asp as an include.<

@tomic
Senior Member

USA
1790 Posts

Posted - 24 October 2002 :  20:01:43  Show Profile  Visit @tomic's Homepage  Send @tomic an ICQ Message  Reply with Quote
Doh! Thanks for the heads up.


@tomic<

SportsBettingAcumen.com

Edited by - @tomic on 24 October 2002 20:02:23
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 25 October 2002 :  18:44:43  Show Profile  Reply with Quote
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.<

Support Snitz Forums
Go to Top of Page

GauravBhabu
Advanced Member

4288 Posts

Posted - 25 October 2002 :  18:56:39  Show Profile  Reply with Quote
quote:
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.<
Go to Top of Page

ajhvdb
Junior Member

Netherlands
392 Posts

Posted - 25 October 2002 :  18:56:55  Show Profile  Reply with Quote
I think you only get an error if you have a Dim statement outside of the sub/functions<
Go to Top of Page

Deleted
deleted

4116 Posts

Posted - 25 October 2002 :  19:31:31  Show Profile  Reply with Quote
quote:
Originally posted by ajhvdb

I think you only get an error if you have a Dim statement outside of the sub/functions


Also CONST...<

Stop the WAR!
Go to Top of Page

Tmpj
Junior Member

Denmark
467 Posts

Posted - 03 May 2003 :  11:36:49  Show Profile  Reply with Quote
Thanks for the info Richard, I was having a new MOD in mind! <
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 October 2003 :  20:13:17  Show Profile  Reply with Quote
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<

Support Snitz Forums

Edited by - Davio on 11 October 2003 02:27:24
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 11 October 2003 :  06:13:21  Show Profile  Visit richfed's Homepage  Reply with Quote
Can we simply delete the include for this file on these mods?<
Go to Top of Page

The Impact
Junior Member

Australia
398 Posts

Posted - 11 October 2003 :  06:34:27  Show Profile  Reply with Quote
Yes, you would delete the include file which is in the file that includes an inc_header.asp, right ?<
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 11 October 2003 :  13:37:22  Show Profile  Reply with Quote
Yes, delete the inc_func_common.asp include from the files that have both inc_func_common.asp and inc_header.asp included.<

Support Snitz Forums
Go to Top of Page

DakDarie
Starting Member

Ukraine
3 Posts

Posted - 04 February 2006 :  08:25:41  Show Profile  Visit DakDarie's Homepage  Reply with Quote
mm..
thanks<

Create real estate website. | Real estate content management system (CMS). Real estate website development.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07