Author |
Topic  |
barky81
Junior Member
 
USA
166 Posts |
Posted - 04 January 2001 : 00:39:15
|
Okay, I need some help.
I am trying to "lock down" the Snitz forums for a members-only website. To do so, I have added the following code as a separate include file at the top of most of the forums' asp pages:
<%response.buffer=true%> <% Response.AddHeader "cache-control", "private" %> <% response.addheader "Pragma", "No-Cache" %> <% response.expiresAbsolute = Now() -1 %> <% if request.cookies ("Snitz00User")("Name") = "" then response.redirect "../index.asp" end if %>
Note that I have been trying to figure out if some of my problems are caching related as well (I have seen another thread around here somewhere...)
Did I mention that this is running on Linux/cChilisoftASP/MySQL? No, oh well, anyway, the post.asp and post_info.asp pages appear to not behave correctly (at least not with the added code above). In fact, as far as I can tell, it crashes the ChilisoftASP engine on the Linux server:
---- HTTP Error 501 501 ASP Service Disabled
The ASP service has not been started or has been temporarily disabled. Please try your request at a later time. -----
This happens when I have posted and then try to edit or reply with quote to a message (so far as I can tell so far).
Earlier today, on its way to crashing the first time, it returned this error:
---- error '800a0cc1'
ADO Could not find the object in the collection corresponding to the name or ordinal reference requested by the collection.
inc_functions.asp, line 656 ----
Line 656 appears to be related to getting MemberID into a recordset??? The error appeared after "committing" the "post changes" of an edited message. Even after this error, I could browse the forums and find the message correctly (apparently) posted. But then the server would crash....
Suggestions?
Thanks!
|
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 January 2001 : 09:14:30
|
Try removing any refeerenses to .cachesize=, there appears to be a problem with cachesize and chilli asp
'Resistance is futile' |
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 04 January 2001 : 09:49:27
|
Yeah, actually I had already read that thread, and searched through all the Snitz code, commenting out what I could find. So that was done already.
quote:
Try removing any refeerenses to .cachesize=, there appears to be a problem with cachesize and chilli asp
'Resistance is futile'
But just to be kinda orderly about it: Do you think my adding the originally listed code as an include is okay with the Snitz code?
And so no one is aware of any issue with MySQL and the code referenced by the error?
Thanks!
Meanwhile, the code continues to throw off errors, even though it "works"?!?!
Here's the last one (on posting a reply with quote--note: the post did not "survive"):
---- ADODB.Connection.1 error '80004005'
SQLState: S1090 Native Error Code: 0 [TCX][MyODBC]SQLBindParameter not used for all parameters
/forums/post_info.asp, line 578 ----
This happened right after the "preview" button quit working, and the whole thing stops (It's not working now)
Thoughts?
|
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 04 January 2001 : 14:24:45
|
Okay, some additional info that I have developed. The problem is something specific to my forum installation (not a bug per se) because I cannot duplicate it here.
The problem is most evident in the preview functions (specifically, pop_preview.asp). I should mention that pop_preview.asp has been modified to include the same "secure" include described in the original post above.
When I visit my forums, I can make one new topic, or one reply to topic, etc. (if I PREVIEW them). The second and subsequent attempts (in that "session context"; i.e., same browser window) fail: The pop_preview.asp says "no text to preview!". Logging out of the site does not remedy the issue (perhaps because while logout destroys the StrUniqueID cookie it leaves behind a StrCookieURL cookie?)
I have no idea, but could be related to the so-called "security" I have appended to post.asp and pop_preview.asp (see original post above). Perhaps even the combination of my setting the cookie with strUniqueID and post.asp using the var curCookie=strCookieURL (again, I don't know nutin!) Or perhaps it's the way the msq text gets stuffed for passing to the pop_preview.asp.
There does appear to be a separate issue related specifically to replying with quote or editing a message of my own (both of which apparently make calls for the Member_ID?), which both generate SQL errors (editing a message of my own still succeeds, while replying with quote sometimes doesn't). Again, this is on linux/chiliasp/mysql combo.
Okay it's a very long post, but hey, it's a big problem for me 
If one of the development team could experiment on the forum itself, I have already set up a test account.
Thanks!!!
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 04 January 2001 : 14:48:41
|
Have you tried reinstalling ChilliAsp? or getting an update maybe, it sounds like this is causing most of your problems.
'Resistance is futile' |
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 04 January 2001 : 16:04:25
|
quote:
Have you tried reinstalling ChilliAsp? or getting an update maybe, it sounds like this is causing most of your problems.
'Resistance is futile'
Re-installation is a little problematic, as it is on hosted space. A check of the server variables, however, indicate that it's running the current version of ChiliASP on the last supported Apache mod. I don't think that is the problem.
Is anyone actually running Snitz on linux/chiliasp/mysql? In a production or internet-accessible environment?
A quick scan back through all the posts here, and I don't see any publicly-available (or functional) linux installations of Snitz. I see a lot of attempts to do so, but most of the threads die off before success is reported: Maybe it just doesn't work in that environment?
Thanks!
|
 |
|
Reinsnitz
Snitz Forums Admin
    
USA
3545 Posts |
Posted - 04 January 2001 : 16:24:42
|
quote:
Is anyone actually running Snitz on linux/chiliasp/mysql? In a production or internet-accessible environment?
A quick scan back through all the posts here, and I don't see any publicly-available (or functional) linux installations of Snitz. I see a lot of attempts to do so, but most of the threads die off before success is reported: Maybe it just doesn't work in that environment?
Thanks!
Gor has done this and tested it many times... but he is off on the second week of his new little girl's life (she was just born on Christmas 
Reinsnitz (Mike) ><)))'> "The glory of young men is their strength, and the honor of old men is their gray hair." - Proverbs 20:29
|
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 04 January 2001 : 17:16:22
|
quote:
Gor has done this and tested it many times... but he is off on the second week of his new little girl's life (she was just born on Christmas 
Reinsnitz (Mike) ><)))'> "The glory of young men is their strength, and the honor of old men is their gray hair." - Proverbs 20:29
Yes, Gor is very blessed (right up until she starts wanting to use his PC )
Yes, I have reviewed every message I can find here and am aware that testing has been done at various points. And that problems have existed along the way. (That's partly why I asked if there were any available linux/chiliasp/mysql forums that I could access. Mine doesn't work--apparently when I perform a specific series of actions--so I would like to see one that does work--when I perform that series of actions.)
To date there appears to be not one working linux/chiliasp/mysql installation on the internet. If there were, I would not have to wait for gor's return...and unfortunately, I really hope he takes his time getting back.
I hope I don't sound too frustrated (but I am). I even invited examination of the forum, but no one's taking me up on that apparently.
Thanks
|
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 08 January 2001 : 15:30:30
|
Doing the help bump....
(or should I repost it as a Preview BUG in support?)
|
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 08 January 2001 : 15:48:18
|
quote:
I hope I don't sound too frustrated (but I am). I even invited examination of the forum, but no one's taking me up on that apparently.
Thanks
Post a URL and we can look. I'm pretty sure it's related to response.expiresAbsolute = Now() -1 in some way, since it seems to be affecting what the server is remembering
'Resistance is futile' |
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 08 January 2001 : 16:00:00
|
quote:
quote:
I hope I don't sound too frustrated (but I am). I even invited examination of the forum, but no one's taking me up on that apparently.
Thanks
Post a URL and we can look. I'm pretty sure it's related to response.expiresAbsolute = Now() -1 in some way, since it seems to be affecting what the server is remembering
'Resistance is futile'
URL and login info is here (another of my captivating posts, apparently )
Thanks for checking it! (Just let me know when/if the asp engine dies...)
|
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 11 January 2001 : 18:50:17
|
bimp.....
|
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 11 January 2001 : 21:18:58
|
Did you take a look at the Chili!Asp documentation for the alternative way of setting the Cache and Expire setting ? (online info on Response object)
I took a look at your site, I could post without a problem with the test-account, but when I tried to edit it, I got this error:
error '800a0cc1'
ADO Could not find the object in the collection corresponding to the name or ordinal reference requested by the collection.
inc_functions.asp, line 656
I updated the forum at "my" testsite to Version 3.1 SR4. The server is a RAQ4 running Linux, Chili!Asp and MySql. You can take a look here: http://www.softcastle.net/~gor/Snitz_3_1_SR4/ I didn't create any special forums etc. this time, but if you let me know what special needs (forums/userrights) you've got to be able to test this, I'll create them for you.
Pierre |
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 13 January 2001 : 00:42:27
|
quote:
Did you take a look at the Chili!Asp documentation for the alternative way of setting the Cache and Expire setting ? (online info on Response object)
I took a look at your site, I could post without a problem with the test-account, but when I tried to edit it, I got this error:
error '800a0cc1'
ADO Could not find the object in the collection corresponding to the name or ordinal reference requested by the collection.
inc_functions.asp, line 656
I updated the forum at "my" testsite to Version 3.1 SR4. The server is a RAQ4 running Linux, Chili!Asp and MySql. You can take a look here: http://www.softcastle.net/~gor/Snitz_3_1_SR4/ I didn't create any special forums etc. this time, but if you let me know what special needs (forums/userrights) you've got to be able to test this, I'll create them for you.
Pierre
gor,
Here's the error I just got off your site:
--- error '800a0cc1'
ADO Could not find the object in the collection corresponding to the name or ordinal reference requested by the collection.
inc_functions.asp, line 658 ---
I was editing a posted reply to your topic. I assume it is the same error you got on my site. I think there is a problem with Snitz (latest version) and linux/chili/mysql...
then I got it to give me this: ---- HTTP Error 507 507 Unexpected
The Web server encountered an unexpected error while communicating with the ASP service.
Please contact the server's administrator if this problem persists. ---
However, I will look at your reference as well.
Thanks, but there is a problem.
|
 |
|
gor
Retired Admin
    
Netherlands
5511 Posts |
Posted - 13 January 2001 : 03:41:00
|
I can't reproduce the error. I did get an error when replying. That one went away when I set the mail component to Chili!Asp (even with mail disabled).
I also noticed that I had problems reaching the server there.
I can't see anything that could cause a problem at the lines were your error was. I don't know were to start looking from here.
Pierre |
 |
|
barky81
Junior Member
 
USA
166 Posts |
Posted - 13 January 2001 : 09:10:30
|
quote:
I can't reproduce the error. I did get an error when replying. That one went away when I set the mail component to Chili!Asp (even with mail disabled).
I also noticed that I had problems reaching the server there.
I can't see anything that could cause a problem at the lines were your error was. I don't know were to start looking from here.
Pierre
Well, not surprisingly the ASP engine has died at my site again (as described above). And it appears that I cannot reach your site either gor (so you might want to check yours).
When you say you can't reproduce the error, do you mean "on your site" or "my site"?
Did you site die too?
|
 |
|
Topic  |
|