Mark forums all read bug on phpbb3 3.0.4

Zero duplicate support forum. Personalized HTTP 301 dynamic redirections for phpBB.

Moderator: Moderators

Mark forums all read bug on phpbb3 3.0.4

Postby Globetrotter » Tue Feb 17, 2009 9:11 am

I'm having a phpbb3 install version 3.0.4 and downloaded from this website. All works well except the "mark all forums read" link on the forum index.

It seemed to be a general problem with phpbb3 as found here
before:
Code: Select all
   'U_MARK_FORUMS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'mark=forums') : '',

after:
Code: Select all
   'U_MARK_FORUMS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '',


This update works when you disable the zero duplicate mod, but doesn't when it's enabled. I found some other threads here but it seemed to be about an older version and a slightly different problem.

I started with version 3.0.2 and did an auto update to 3.0.4 from this website when it stopped working. Does anyone has an idea what I have to change to fix this again?
Globetrotter
 
Posts: 38
Joined: Sat Sep 06, 2008 2:17 pm

Advertisement

Postby dcz » Tue Feb 17, 2009 11:08 am

Code: Select all
   'U_MARK_FORUMS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '',


should actually be found in 3.0.4 index.php (phpBB, premod and premodded files from our SEO url mods).

And the latest ZERO dupe works fine with that link, I enabled guest tracking for you to see it in action on the demo server :
http://phpbb3.phpbb-seo.net/

So altogether, it only looks like an update issue, make sure you are using the latest versions of all codes (phpBB + mods) ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby Globetrotter » Tue Feb 17, 2009 11:25 am

Thank you for your quick reply

I did have some problems while updating, for instance the notification emails stopped working, I found this was a general phpbb3 update bug, where I had to add some constants variables to fix the problem.

Can you tell me it's save to download the latest full phpbb seo package from this site and upload only the php files? Or preferable can you tell me wich files i have to update (again) to fix only this problem?
Globetrotter
 
Posts: 38
Joined: Sat Sep 06, 2008 2:17 pm

Postby dcz » Tue Feb 17, 2009 11:29 am

If you are not using the premod, then you should use the update files for each mod from here (in each contrib/ dir of the packages), starting with making sure you have the latest code for mod rewrite and zero dupe.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby Globetrotter » Tue Feb 17, 2009 11:54 am

I started with the premod 3.0.2 and updated the files seperately with the auto updater.

Could you provide me the name of files which should be related to this problem? I would like to start uploading those files first before I start uploading them all.
Globetrotter
 
Posts: 38
Joined: Sat Sep 06, 2008 2:17 pm

Postby dcz » Tue Feb 17, 2009 12:24 pm

With the premod ans since you're updating more than one version at a time, you could actually win time if you compare your files with the latest premod's one (using winmerge for example which can compare two folders, yours and the latest premod root/) to find out the glitches.

File to look at at first would be index.php for this matter, but checking all would make sens.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby Globetrotter » Tue Feb 17, 2009 5:11 pm

Thank you for your help and handing me the tool.

I've checked and updated the files which where different and reuploaded the index.php which fixed the problem.
Globetrotter
 
Posts: 38
Joined: Sat Sep 06, 2008 2:17 pm

Re: Mark forums all read bug on phpbb3 3.0.4

Postby Mavicant » Mon Mar 16, 2009 12:20 am

I noticed that I'm having this problem too after enabling Zero Dupe (0.4.8) on a 3.0.4 board (without premod). My "mark forums read" links as well as the "mark topics read" links are all causing infinite redirect loops. I also have my forum installed in my root directory.

The only differences between my index.php file and the premod's is the SEO Meta tags thing which I do not have installed. This is what the variable looks like in my index.php file:

Code: Select all
'U_MARK_FORUMS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? append_sid("{$phpbb_root_path}index.$phpEx", 'hash=' . generate_link_hash('global') . '&mark=forums') : '',
Mavicant
 
Posts: 5
Joined: Wed Mar 11, 2009 7:47 am

Re: Mark forums all read bug on phpbb3 3.0.4

Postby Globetrotter » Mon Mar 16, 2009 7:39 am

Yo may try to download the latest version here and upload all files again. That fixed the problem for me.
Globetrotter
 
Posts: 38
Joined: Sat Sep 06, 2008 2:17 pm

Re: Mark forums all read bug on phpbb3 3.0.4

Postby Mavicant » Tue Mar 17, 2009 2:19 am

Do you mean the latest version of Zero Dupe?
Mavicant
 
Posts: 5
Joined: Wed Mar 11, 2009 7:47 am

Re: Mark forums all read bug on phpbb3 3.0.4

Postby dcz » Sun Mar 22, 2009 4:32 pm

Yes, the zero dupe or the mod rewrite is not up to date because I cannot reproduce the issue either.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to Zero duplicate

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests