Page 8 of 14

Re: Raid Progress Block w/ACP

Posted: 18. December 2009 19:35
by Vinck
You're a star Teksonic, and I'm sure the boys above will appreciate the session fix. My site was being backed up last night so was pretty dead, however back up and fine so when you get a chance that'd be fab.

Thanks again.

Re: Raid Progress Block w/ACP

Posted: 18. December 2009 20:13
by Teksonic
ok, so it's showing the block, but not the info inside it. are the individual raids on or off in the ACP?

Re: Raid Progress Block w/ACP

Posted: 19. December 2009 17:05
by Vinck
Here's a few screenshots of what should be enough information to show how it doesn't seem to work;

http://www.matthuxley.com/img/mainoptions.jpg

http://www.matthuxley.com/img/raidoptions.jpg

Re: Raid Progress Block w/ACP

Posted: 19. December 2009 18:34
by Teksonic
ok perfect that should help me out. i'm on a train right now and the internet is sketchy as hell. so i'll look more closely in a bit. can you try turning everything on, and seeing if anything shows at all. there's a chance i have a switch incorrect and for some reason the heroics aren't showing properly.

Re: Raid Progress Block w/ACP

Posted: 19. December 2009 18:51
by Vinck
Turned on every setting on the main section, enabled a few raids with all / some bosses to give some variety. All changes will be screencapped below so you can see exactly what I'm seeing.

http://www.matthuxley.com/img/mainoptions2.jpg

http://www.matthuxley.com/img/raidoptions2.jpg

http://www.matthuxley.com/img/raidoptions3.jpg

And yet, still no love on the portal showing anything: http://www.quietlyconfident.net/forum/

Thanks again, request any information or anything and I'll post as soon as I see it.

Re: Raid Progress Block w/ACP

Posted: 19. December 2009 21:10
by Swinder
I noticed today my zone icons sometimes failed to load (except after cache being purged) so I assumed it was related to the session id fix.
I applied the fix and purged my cache, this caused all icons to not show at all. I have since reverted back to the line below which is ok as long as I purge the cache every so often.

'RP_IMAGE' => append_sid("{$phpbb_root_path}styles/" . $user->theme['theme_path'] . "/theme/images/raid_progress/"),

Re: Raid Progress Block w/ACP

Posted: 19. December 2009 23:06
by Teksonic
nm...

Re: Raid Progress Block w/ACP

Posted: 21. December 2009 15:29
by Unrak
Hi Tek and welcome back for the holidays.

So - just like Swinder - my icons are failing to load and the boss progress block is also now missing it's ticks and crosses on prosilver, and not there at all on wowmoonclaw. I have turned on the style switcher so you can have a look.
http://www.grraids.net/reborn/phpbb3/portal.php?style=1

here are a few screenshots showing differnt browsers:
Image
Image
Image

Hope that helps

Re: Raid Progress Block w/ACP

Posted: 22. December 2009 21:44
by Teksonic
ok let me double check this again and see if there is some thing else wrong.

Re: Raid Progress Block w/ACP

Posted: 22. December 2009 22:03
by Teksonic
SESSION BUG FIX - anyone having issues with the images not showing should apply this fix immediately. I will including it in the next patch also.

Open
portal/block/raid_progress.php

Find:
'RP_IMAGE' => append_sid("{$phpbb_root_path}styles/" . $user->theme['theme_path'] . "/theme/images/raid_progress/"),

Replace With:
'RP_IMAGE' => "{$phpbb_root_path}styles/" . $user->theme['theme_path'] . '/theme/images/raid_progress/',

Sorry guys, used the wrong quotes in one part when I wrote the fix the first time, mah bad. i changed the previous post also so both are correct. Just make sure your RP_IMAGE line is exactly the same as the second line of code above.

Re: Raid Progress Block w/ACP

Posted: 22. December 2009 22:06
by Teksonic
Any other issues, currently ongoing that I haven't looked into yet?

Re: Raid Progress Block w/ACP

Posted: 22. December 2009 23:26
by Swinder
Applied the updated fix and all images are displaying correctly, thanks!

Re: Raid Progress Block w/ACP

Posted: 29. December 2009 17:22
by Unrak
ok - now i am weirded out.

http://www.grraids.net/reborn/phpbb3/portal.php

I have a fresh clean install of phpBB3 and i have installed the Board3 Portal. Now i install this block and i get:

Code: Select all

[phpBB Debug] PHP Notice: in file /install/install_install.php on line 27: Undefined property: module::$installed_rpb_version
[phpBB Debug] PHP Notice: in file /install/index.php on line 315: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /install/index.php on line 316: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /install/index.php on line 317: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /install/index.php on line 318: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Now i know that "headers already sent by " indicates a space before the <php at the start of a file somewhere but it is not in index.php nor in includes.php so i navigate to those 4 lines and see that they are header information:

Code: Select all

// header('Content-type: text/html; charset=UTF-8');
		// header('Cache-Control: private, no-cache="set-cookie"');
		// header('Expires: 0');
		// header('Pragma: no-cache');
I comment them out as you see and i am left with:

Code: Select all

[phpBB Debug] PHP Notice: in file /install/install_install.php on line 27: Undefined property: module::$installed_rpb_version
I have installed this block many times trying to fix the missing images issue that Tek soved with the code change so i am at a loss as to why i am suddenly getting this error. Any clues?

Edit: have unistalled the entire block until i get this fixed as it was throwing errors on my forums.

Re: Raid Progress Block w/ACP

Posted: 29. December 2009 18:51
by Teksonic
Unrak wrote:ok - now i am weirded out.

http://www.grraids.net/reborn/phpbb3/portal.php

I have a fresh clean install of phpBB3 and i have installed the Board3 Portal. Now i install this block and i get:

Code: Select all

[phpBB Debug] PHP Notice: in file /install/install_install.php on line 27: Undefined property: module::$installed_rpb_version
[phpBB Debug] PHP Notice: in file /install/index.php on line 315: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /install/index.php on line 316: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /install/index.php on line 317: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /install/index.php on line 318: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
Now i know that "headers already sent by " indicates a space before the <php at the start of a file somewhere but it is not in index.php nor in includes.php so i navigate to those 4 lines and see that they are header information:

Code: Select all

// header('Content-type: text/html; charset=UTF-8');
		// header('Cache-Control: private, no-cache="set-cookie"');
		// header('Expires: 0');
		// header('Pragma: no-cache');
I comment them out as you see and i am left with:

Code: Select all

[phpBB Debug] PHP Notice: in file /install/install_install.php on line 27: Undefined property: module::$installed_rpb_version
I have installed this block many times trying to fix the missing images issue that Tek soved with the code change so i am at a loss as to why i am suddenly getting this error. Any clues?

Edit: have unistalled the entire block until i get this fixed as it was throwing errors on my forums.
I will look into this shortly. Also. "headers already sent", doesn't necessarily mean a space at the start of the file. More often then not it means something completely different.

the issue your seeing is in the installer only. so what version of the mod are you using? and when do you get this error? as soon as you try to install, at a certain page.. etc

Re: Raid Progress Block w/ACP

Posted: 29. December 2009 19:49
by Teksonic
ok made some changes to the installer. i'll upload a copy here for you to try out. extract this and replace your whole install folder with it. let me know how it goes. For others, if your not having an issue don't worry about this change.

New Install Files

Thanks