Author |
Topic  |
|
aspwiz
Junior Member
 
250 Posts |
Posted - 30 August 2004 : 05:46:28
|
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
|
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  |
 |
|
stever
New Member

65 Posts |
Posted - 30 August 2004 : 08:29:11
|
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 |
 |
|
aspwiz
Junior Member
 
250 Posts |
Posted - 30 August 2004 : 08:33:32
|
Are you saying I'm missing some code laser? |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 30 August 2004 : 19:29:36
|
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. |
 |
|
aspwiz
Junior Member
 
250 Posts |
Posted - 03 September 2004 : 04:22:14
|
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? |
 |
|
aspwiz
Junior Member
 
250 Posts |
Posted - 06 September 2004 : 07:38:36
|
**bump** |
 |
|
laser
Advanced Member
    
Australia
3859 Posts |
Posted - 06 September 2004 : 08:52:58
|
did you add some Response.Writes to see how that code is behaving ? |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
Ranko
Junior Member
 
400 Posts |
Posted - 06 September 2004 : 17:19:38
|
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
|
 |
|
redbrad0
Advanced Member
    
USA
3725 Posts |
Posted - 06 September 2004 : 18:50:38
|
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 |
 |
|
aspwiz
Junior Member
 
250 Posts |
Posted - 11 September 2004 : 04:52:10
|
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. |
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
|
aspwiz
Junior Member
 
250 Posts |
Posted - 17 September 2004 : 17:44:21
|
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? |
 |
|
|
Topic  |
|