has the catelog crashed?

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
sidguppy
Posts: 3827
Joined: 18 Jan 2004, 12:26
My articles: 1
My images: 28
My aquaria list: 5 (i:0)
Spotted: 9
Location 1: Southern Netherlands near Belgium
Location 2: Noord Brabant, Netherlands
Interests: African catfishes and oddballs, Madagascar cichlids; stoner doom and heavy rock; old school choppers and riding them, fantasy novels, travelling and diving in the tropics and all things nature.
Contact:

has the catelog crashed?

Post by sidguppy »

I just tried to check on a few catelog species and ran headlong into the maw of this:
[phpBB Debug] PHP Notice: in file /home/webcat/planetcatfish.com/catelog/_species.php on line 42: require_once(../includes/new_functions/get_subfamily.php) [function.require-once]: failed to open stream: No such file or directory

Fatal error: require_once() [function.require]: Failed opening required '../includes/new_functions/get_subfamily.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/webcat/planetcatfish.com/catelog/_species.php on line 42
I randomly hit several species from a range of families and it looks like a catelog-wide error
Valar Morghulis
User avatar
Dave Rinaldo
Posts: 2178
Joined: 31 Dec 2002, 10:49
I've donated: $601.00!
My images: 238
My cats species list: 64 (i:0, k:0)
Spotted: 97
Location 2: Austin, Texas

Re: has the catelog crashed?

Post by Dave Rinaldo »

Contribute to Planet Catfish!

Use this Amazon.com link to benefit Planet Catfish!!
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: has the catelog crashed?

Post by MatsP »

I'm guessing that Jools have just updated the _species.php to my latest changes, but (for some reason) the new file that also belongs in this update, new_functions/get_subfamily.php is missing... Either that, or there's something else that has gone wrong...

I can't see what is going on with the server files themselves, but the file is there in the source code repository...

As Dave points out, it's probably to do with the application of my fix for a less severe error (calling a function that doesn't exist).

--
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: has the catelog crashed?

Post by MatsP »

Oh, and a workaround is to use the "old" (as in was in use until last week) Cat-eLog species pages.

Say, you look up L270, it gives the URL:

Code: Select all

http://www.planetcatfish.com/catelog/_species.php?species_id=232
Now, if you edit that to remove the _ before species.php, it becomes the "old" page:

Code: Select all

http://www.planetcatfish.com/catelog/species.php?species_id=232
The old page use a different "get_subfamily" function, which has been in the system for quite some time, so doesn't give an error.

--
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:13, 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: has the catelog crashed?

Post by Jools »

Yes, sorry - my fault, the upload of this file failed and I missed it. It should be fixed now.

Cheers,

Jools
Post Reply

Return to “All Resolved Issues”