New error message on front page

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
bekateen
Posts: 9052
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:38)
My aquaria list: 40 (i:17)
My BLogs: 44 (i:149, p:2674)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

New error message on front page

Post by bekateen »

Hi Jools,
I'm seeing this error message for the first time on the PCF front page.
a[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
If it helps, I can also add that there is no error when I've viewing the forum main page.

Also, I've discovered that if I use the remember me check box when I log in, the page forgets me anyway and now I need to sign in every time I close my browser and then return to visit the page. It hasn't done that in a long time.

Sorry,
Eric
Attachments
wp_ss_20180819_0001.png
wp_ss_20180819_0002.png
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
SLIMESLAYER10
Posts: 80
Joined: 15 Dec 2017, 01:45
My cats species list: 12 (i:0, k:0)
My aquaria list: 4 (i:0)
My BLogs: 3 (i:5, p:187)
My Wishlist: 34
Spotted: 7
Location 1: Canada
Location 2: Vancouver

Re: New error message on front page

Post by SLIMESLAYER10 »

[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)

i have this one
when you have a cringy video game name like me -> X_X
User avatar
bekateen
Posts: 9052
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:38)
My aquaria list: 40 (i:17)
My BLogs: 44 (i:149, p:2674)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: New error message on front page

Post by bekateen »

Also, I get this error if I try to view a breeding log:
a[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/my_blog.php on line 53: session_start(): Cannot send session cookie - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file /home/webcat/planetcatfish.com/common/my_blog.php on line 53: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
And this if I visit a CLOG page:
a[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
Regards, Eric

P.S.,
SLIMESLAYER10 wrote: 19 Aug 2018, 21:53 [phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)

i have this one
@SLIMESLAYER10, you are probably getting more than that, but it is masked by the header image. If you press <Ctrl><A> followed by <Ctrl><C> to select all and copy (at least, these keys on a PC), and if you then paste what you copied into a word processor, you'll probably see the extra lines of error code at the top.

Cheers, Eric
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 16028
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 933
My catfish: 237
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:11, p:203)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: New error message on front page

Post by Jools »

Seems to be only when the front page is displaying BLOG info. I will check it out...

Jools
User avatar
MarcW
Posts: 876
Joined: 01 Feb 2011, 15:20
I've donated: $152.00!
My images: 4
My cats species list: 46 (i:9, k:19)
My aquaria list: 5 (i:3)
My BLogs: 12 (i:16, p:575)
My Wishlist: 55
Spotted: 42
Location 1: Hampshire
Location 2: UK

Re: New error message on front page

Post by MarcW »

Hi Jools, just noticed this message when viewing on android mobile, breeding log wasn't on the home page it was Cat-eLog picture updates.

I can't admit to reading every word, but it looks at first glance to be the same error!

a[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4540: Cannot modify header information - headers already sent by (output started at /home/webcat/planetcatfish.com/common/functions/_image_filenames.php:1)
User avatar
bekateen
Posts: 9052
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:38)
My aquaria list: 40 (i:17)
My BLogs: 44 (i:149, p:2674)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: New error message on front page

Post by bekateen »

Jools wrote: 21 Aug 2018, 20:55Seems to be only when the front page is displaying BLOG info. I will check it out...
I get errors on all front pages (whether the right side column shows BLOG updates, CLOG updates, Breeder Board, My Aquaria updates, My Cats updates or Donations list).

Besides on the home page, I also get errors here:
https://www.planetcatfish.com/admin/
https://www.planetcatfish.com/catelog/n ... &thumbs=50 (also with mode=cw, =L or =LDA)
https://www.planetcatfish.com/common/my ... ?mode=fish
https://www.planetcatfish.com/common/ca ... arch=stamp
https://www.planetcatfish.com/core/arti ... ction=cotm
https://www.planetcatfish.com/cotm/cotm.php

But I do NOT get errors here:
https://www.planetcatfish.com/books/
https://www.planetcatfish.com/catelog/
https://www.planetcatfish.com/catelog/index.php
https://www.planetcatfish.com/common/co ... my_aquaria
https://www.planetcatfish.com/common/breederboard.php
https://www.planetcatfish.com/core/search.php
https://www.planetcatfish.com/forum/
https://www.planetcatfish.com/general/g ... cle_id=441
https://www.planetcatfish.com/general/index.php#fun
https://www.planetcatfish.com/shanesworld/

Also, as mentioned in an earlier post, my "Remember Me" click box does not work on the login screen. This is true both for my phone operating Windows Edge and on my laptop using Google Chrome.

Cheers, Eric
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
User avatar
Jools
Expert
Posts: 16028
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 933
My catfish: 237
My cats species list: 87 (i:13, k:1)
My BLogs: 7 (i:11, p:203)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: New error message on front page

Post by Jools »

Squashed it! The letter 'a' had inadvertently been typed in the first line of a commonly used function and so caused the problem.

Bah!

Sorted.

Jools
User avatar
bekateen
Posts: 9052
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 130
My cats species list: 142 (i:102, k:38)
My aquaria list: 40 (i:17)
My BLogs: 44 (i:149, p:2674)
My Wishlist: 35
Spotted: 177
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: New error message on front page

Post by bekateen »

Jools wrote: 22 Aug 2018, 19:35The letter 'a' had inadvertently been typed in the first line of a commonly used function and so caused the problem.
Thanks Jools. Sharp eye.

About that "a", I had noticed it at the front of the code, but not being a coder myself, I figured you meant to do that.... Good to know better.

Also, at least so far, this fix appears to have solved my issue with the login screen forgetting me. At least for the last 10 minutes, it has not forgotten my login even if I close the browser and reopen it; that goes for both on my PC (using Chrome) and on my phone (using Edge).

Cheers, Eric
Image
Find me on YouTube and Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code "bekateen" (no quotes) for 15% off your order.
Post Reply

Return to “All Resolved Issues”