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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 whichpage= -1 problems (jump to last post?)
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

aspwiz
Junior Member

250 Posts

Posted - 30 August 2004 :  05:46:28  Show Profile  Visit aspwiz's Homepage
Hi... we are 2.8 version of MDAC and are having issues with redirection back to default.asp whenever viewing a topic with whichpage=-1 in the querystring. From what I have gathered I am almost sure this functionality exists purely for the jump to last post feature.

We have a few mods installed, and the forums are quite well modified.

I am very experienced with ASP, and either this one is just to obvious for words (Cant see the woods for the trees), or something pretty whacky is going on.

DEMO of what is happening (This should open the topic to the last post in the thread): http://www.webforumz.com/topic.asp?whichpage=-1&topic_id=1577&reply_id=9080

Here is a link to my topic.asp page in .txt format http://www.webforumz.com/topic.txt

Be forewarned, I am using speedball 2, and a few mods, so this file aint gonna resemble the topic.asp in a base install.

I would be extremely grateful for any indication of what the hell is happening here. I have had to disable jump to last post till i figure this out... It is driving me NUTZ!

Thanks.

laser
Advanced Member

Australia
3859 Posts

Posted - 30 August 2004 :  06:35:06  Show Profile
From memory, whichpage=-1 executes some code that calculates which page the requested reply_id is on. Although that code isn't in your topic.txt
Go to Top of Page

stever
New Member

65 Posts

Posted - 30 August 2004 :  08:29:11  Show Profile
I've had this problem too, but haven't gotten around to looking into it. Of late, it seems to be intermittent which makes some sense if it's a calculated value. I've also noticed that after making a reply to a topic, I often end up at default.asp instead of back at the topic to which I've just replied.

.
Steve

Edited by - stever on 30 August 2004 08:31:43
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 30 August 2004 :  08:33:32  Show Profile  Visit aspwiz's Homepage
Are you saying I'm missing some code laser?
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 30 August 2004 :  19:29:36  Show Profile
I found your code, starting at line 265. I think there's something in there that's wrong, but you'll need to add some Response.Writes in there to check it out.
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 03 September 2004 :  04:22:14  Show Profile  Visit aspwiz's Homepage
I am still non the wiser.... what the heck is going on here.

I have hundreds of google listings showing -1 in the querystring which are now redirected.... google will very soon drop these pages, so i have to fix this yesterday.

Any takers?
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 06 September 2004 :  07:38:36  Show Profile  Visit aspwiz's Homepage
**bump**
Go to Top of Page

laser
Advanced Member

Australia
3859 Posts

Posted - 06 September 2004 :  08:52:58  Show Profile
did you add some Response.Writes to see how that code is behaving ?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 September 2004 :  16:55:15  Show Profile  Send ruirib a Yahoo! Message
What database and connection string are you using?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 06 September 2004 :  17:19:38  Show Profile
IIRC there were a few threads on this (I know I asked about it too) and the standard answer was that your host has a component missing/older version that is causing the glitch.

Best bet: do a search
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 06 September 2004 :  18:50:38  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
Check the value of OLEDB Version variable in Admin Options -> Server Information, what is it showing?

Make sure you are using OLEDB connection string. Try restarting the server if it still does not work and you have installed a new version of OLEDB and have not yet restarted the server.

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 11 September 2004 :  04:52:10  Show Profile  Visit aspwiz's Homepage
Redbrad... I'm using an odbc connection string.

Mdac 2.8 is installed which I believe gives the latest version of ODBC support.

I think it must be one of my MODS causing the issue.

I'm not exactly sure what to response.write out...

I know I'm looking for a needle, but cant even find the haystack... let alone start searching it.
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 September 2004 :  05:23:36  Show Profile  Send ruirib a Yahoo! Message
aspwiz, do as redbrad suggested and change your connection string to the SQLOLEDB one.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

aspwiz
Junior Member

250 Posts

Posted - 17 September 2004 :  17:44:21  Show Profile  Visit aspwiz's Homepage
I already use that.
This is my connection string:-

strConnString = "Provider=sqloledb;Data Source=xxx.xxx.xxx.xxx;Initial Catalog=xxxxxxxxxxxx;User Id=**************;Password=*******8*******;"

Other ideas?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.74 seconds. Powered By: Snitz Forums 2000 Version 3.4.07