Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
"Mark al topics as read" button not working
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 7, 2013 - 4:46 pm

Well - it uses the global $_SERVER['REDIRECT_URL'] to build the URL. IS there any way that perhaps this is not getting populated? But even if that were the case - it doesn't really explain the index.php...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 4:48 pm

I had to restore the entire site... could be some bad data on the sql or somethin?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 4:49 pm

just the permalink...  it takes the forum permalink to main page and appends ?mark-read...  not sure how it could get that one wrong, but all the others right...

*** edit...  missed Andy's point about redirect url...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 4:53 pm

interesting.. why URL vs URI?  since its an ajax request wonder if its picking up the index.php from the ajax handler??

what does it look like if you go down a few pages... say to viewing a topic?

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 5:11 pm

Mr Papa said
interesting.. why URL vs URI?  since its an ajax request wonder if its picking up the index.php from the ajax handler??

what does it look like if you go down a few pages... say to viewing a topic?

sorry... dunno how to do that... :(

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 5:34 pm

what?  you dont know how to view a forum topic??  ;)

just go here:  http://www.guitarraviva.com/fo.....-1/#p17909

and then try the mark read... want to see what url you get vice doing it on main forum page...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 5:38 pm

I tried.. but no luck on that page as on all other pages it goes to the same URL  mysite.com/index.php?mark....

 

Sorry MrPapa my english is not very good... so sometimes I don´t explain well myself and other times I don´t understand very well...

 

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 5:40 pm

no worries - why I winked ;)   knew the issue...

btw, you English is better than my Spanish...  Had 4 years of Spanish as  youngster, but dont use and you lose it...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 5:52 pm

the actual link in the display is wrong (can see now that I have 2 unread posts on your site)...

so as Andy said, the $_SERVER['REDIRECT_URL'] from your server is not getting calculated right...  and its a server variable so not much we can do about it...  are your routing through any kind of proxy?

 

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 7, 2013 - 6:25 pm

Mr Papa said

so as Andy said, the $_SERVER['REDIRECT_URL'] from your server is not getting calculated right...  and its a server variable so not much we can do about it...  are your routing through any kind of proxy?

 

Nope.... all is as always... so.. is not a problem of my sql?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625