Support Forum

"Mark al topics as read" button not working

47 Answers

New Answer

MP Mr Papa
Mr Papa
Member

does this occur or all users? or just your account?  can you try a test user?  we cannot log in, so cannot try it…

that index.php shouldnt be there since you dont use pathinfo permalinks…

CA Carlos
Carlos
Member

It occurs to all users… I sent you a test user login and pass… if you need admin please tell me…

 

thanks 

MP Mr Papa
Mr Papa
Member

lol. no unread posts for this user…  will have to try later when some posts…

and btw, I would worry about something doing this on your site:

<script type=’text/javascript’ src=’http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js?ver=3.6′></script>

that is a recipe for problems with a theme or plugin loading external jquery that is different than the jquery that comes with wp…  not sure related to this, but could cause numerous issues…

btw, if you change to the default wp theme, does it work?

 

CA Carlos
Carlos
Member

Mr Papa said
btw, if you change to the default wp theme, does it work?

 

Nope, i changed the theme to default WP theme and still the same issue for me….

 

:(
MP Mr Papa
Mr Papa
Member

still have not been able to see it… waiting on new posts…

but, I am at a loss… Andy, any ideas?

YS Yellow Swordfish
Yellow Swordfish
Member

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…

CA Carlos
Carlos
Member

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

MP Mr Papa
Mr Papa
Member

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…

MP Mr Papa
Mr Papa
Member

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?

CA Carlos
Carlos
Member

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… :(

MP Mr Papa
Mr Papa
Member

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

just go here:  http://www.guitarraviva.com/foro/funcionamiento-del-foro/como-obtengo-la-clave-de-activacion-1/#p17909

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

CA Carlos
Carlos
Member

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…

 

 

MP Mr Papa
Mr Papa
Member

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…

MP Mr Papa
Mr Papa
Member

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?

 

CA Carlos
Carlos
Member

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?