Author |
Topic |
burthold
Junior Member
USA
426 Posts |
Posted - 28 September 2002 : 19:50:58
|
New files up using strTablePrefix
Cheers, Wes |
|
|
MichaelA
Junior Member
USA
222 Posts |
Posted - 28 September 2002 : 22:02:37
|
quote: Originally posted by burthold
New files up using strTablePrefix
Cheers, Wes
Thanks.
Mike
|
|
|
auditude
Starting Member
USA
37 Posts |
Posted - 01 October 2002 : 17:59:45
|
I can't seem to get past the following error with admin_newspost.asp, running 3.4.3. Has anyone else had this problem?
Microsoft VBScript runtime error '800a000d' Type mismatch: '[undefined]'
inc_header.asp, line 865
|
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 01 October 2002 : 18:04:12
|
Thats a new one. If you remove the front page include file does the error go away?
Wes |
|
|
auditude
Starting Member
USA
37 Posts |
Posted - 01 October 2002 : 22:11:16
|
Not sure which you are referring to, but I haven't added anything to my front page yet. Just trying to get the admin tool to work. Here are the includes in the admin_newpost.asp.
<!--#INCLUDE FILE="config.asp" --> <% If Session(strCookieURL & "Approval") = "15916941253" Then %> <!--#INCLUDE FILE="inc_func_secure.asp" --> <!--#INCLUDE FILE="inc_sha256.asp"--> <!--#INCLUDE FILE="inc_header.asp" --> <!--#INCLUDE FILE="inc_func_member.asp" --> <!--#INCLUDE FILE="inc_func_common.asp" --> <%on error resume next |
Edited by - auditude on 01 October 2002 22:56:42 |
|
|
auditude
Starting Member
USA
37 Posts |
Posted - 01 October 2002 : 23:21:05
|
Hmmm I just removed the <% If Session(strCookieURL & "Approval") = "15916941253" Then %>, etc and got it working... what does this code do? And how should I modify it to make it work? |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 01 October 2002 : 23:26:02
|
That chunk checks to see if you are logged in as administrator. if you have secure admin mode on that part should keep others who arn't admin from entering that page. I'll check it out deeper and make sure I don't have any includes in the wrong order.
Wes |
|
|
auditude
Starting Member
USA
37 Posts |
Posted - 01 October 2002 : 23:46:01
|
I had to change some of the SQL references to all caps to work with MySQL. There's also something in that code that is killing my ChiliASP engine. Not sure what that would be either.
Tue Oct 1 23:30:25 2002 ENGINE: engine exception, port: 3001, code: 11.
Brian |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 01 October 2002 : 23:50:11
|
I am running this mod on MySQL without errors. The first error is related to secure admin mode I have fixed it and will be posting new files in the hour. I haven't tested any of my mods with chilisoft at all and haven't had anyone offer to help on this point ether.
Wes |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 01 October 2002 : 23:52:45
|
where the two end if's are at the very end of the admin page replace those two end ifs' and writefooter with this:
end if WriteFooter Else scriptname = split(request.servervariables("SCRIPT_NAME"),"/") Response.Redirect "admin_login.asp?target=scriptname" End if
Wes |
|
|
auditude
Starting Member
USA
37 Posts |
Posted - 02 October 2002 : 11:40:35
|
That solved the mismatch/undefined error, but the code still bombs out ChiliASP. I'll try messing with it again later. |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 02 October 2002 : 12:54:14
|
Thanks, If I ever get some free time I'll start testing my apps with chili.
Wes |
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 04 October 2002 : 01:45:57
|
Error found in the header with the date it was showing the current date! I am using a snitz function to do the string converstion into a date if you pass it something it isn't expecting it returns the current date time. Its fixed now.
New files up.
Wes |
|
|
johnnylau99
Starting Member
8 Posts |
Posted - 05 October 2002 : 01:37:25
|
quote: Originally posted by burthold
can you send me the admin_newspost.asp file to my email account so I can check for diffrences between what I have running that works and what you have that doesn't?
Wes
i encountered the problem of can not displaying admin_newspost.asp page, so can you kindly sent me a admin_newspost.asp file?
thanks, my email is johnny@ACEScenter.com
|
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 05 October 2002 : 02:02:50
|
You are free to download it from my website listed on the first post of this thread. There was nothing wrong with the admin_newspost.asp file he had, it was a dirty cache once he cleared his cache the page displayed just fine.
Wes |
|
|
Topic |
|