Error when adding spawning report in my aquaria

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
RickE
Posts: 439
Joined: 05 Dec 2008, 10:06
I've donated: $20.00!
My cats species list: 7 (i:1, k:0)
My aquaria list: 2 (i:2)
My BLogs: 1 (i:0, p:43)
Location 2: Watford, UK

Error when adding spawning report in my aquaria

Post by RickE »

I get this:
Fatal error: Cannot redeclare display_common_names() (previously declared in /home/webcat/planetcatfish.com/forum/includes/planetcatfish/my_functions.php:354) in /home/webcat/planetcatfish.com/includes/clog_functions.php on line 138
Rick
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when adding spawning report in my aquaria

Post by MatsP »

I have submitted the fix for this into the version control system some time ago (I ran into it on my local system). Jools is a bit busy this weekend, so it may take a few days to get it working.

@Jools: #158 fixes this.

--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when adding spawning report in my aquaria

Post by MatsP »

Should work now, Jools has updated the site.

I tested only to go into the page, I didn't try submitting.

--
Mats
User avatar
RickE
Posts: 439
Joined: 05 Dec 2008, 10:06
I've donated: $20.00!
My cats species list: 7 (i:1, k:0)
My aquaria list: 2 (i:2)
My BLogs: 1 (i:0, p:43)
Location 2: Watford, UK

Re: Error when adding spawning report in my aquaria

Post by RickE »

Hmmmm. I filled it all in then got this when I tried to submit :(( :
Fatal error: Call to undefined function pc_send_email() in /home/webcat/planetcatfish.com/forum/includes/planetcatfish/my_blog_save.php on line 211


Before it crashed, the 'add food' function didn't seem to be working as I could only pick one food type.
Rick
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when adding spawning report in my aquaria

Post by MatsP »

The limit on "one food at a time" is a known problem - Jools has promised to fix that.

I'll fix the "pc_email" problem (in a way that hopefully also makes it harder to repeat that problem!)

--
Mats
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when adding spawning report in my aquaria

Post by MatsP »

Should be fixed in our source code. Jools needs to upload to the site.

@Jools: #162

--
Mats
User avatar
krazyGeoff
Posts: 764
Joined: 16 Nov 2007, 06:03
I've donated: $110.00!
My articles: 2
My images: 12
My cats species list: 27 (i:1, k:0)
My aquaria list: 16 (i:8)
My BLogs: 7 (i:7, p:365)
Spotted: 7
Location 1: Woodville
Location 2: New Zealand
Interests: Fish and Cats

Re: Error when adding spawning report in my aquaria

Post by krazyGeoff »

I got the following error when adding food:
"General Error
SQL ERROR [ mysql4 ]

Out of range value adjusted for column 'parent_id' at row 1 [1264]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
"
I was trying to add JBL Nova Fect, which did not exist.
Thanks
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when adding spawning report in my aquaria

Post by MatsP »

I have submitted a fix for this to Jools, but Jools being busy (and my change also containing a few other changes to do with other work, making the code-review before going live slightly bigger).

In this case, the parent ID is needed for the "food category" - which in the current code is absolutely broken (in the case of "new foods")...

--
Mats
User avatar
Jools
Expert
Posts: 16274
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 87 (i:235, k:1)
My aquaria list: 21 (i:13)
My BLogs: 7 (i:10, p:167)
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: Error when adding spawning report in my aquaria

Post by Jools »

Upload now in place.

Jools
User avatar
MatsP
Posts: 21038
Joined: 06 Oct 2004, 13:58
My articles: 4
My images: 28
My cats species list: 117 (i:33, k:0)
My aquaria list: 12 (i:10)
My BLogs: 4 (i:0, p:164)
Spotted: 187
Location 1: North of Cambridge
Location 2: England.

Re: Error when adding spawning report in my aquaria

Post by MatsP »

I'm moving this to closed - if anyone disagrees, please comment!

--
Mats
User avatar
Jools
Expert
Posts: 16274
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 941
My catfish: 237
My cats species list: 87 (i:235, k:1)
My aquaria list: 21 (i:13)
My BLogs: 7 (i:10, p:167)
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: Error when adding spawning report in my aquaria

Post by Jools »

Works for me!

Jools
Post Reply

Return to “All Resolved Issues”