Page 2 of 2
Re: require_once warnings and fatal error messages
Posted: 29 Mar 2011, 14:38
by MatsP
Grimfilth, I merged your post to the others on similar subject - it's all related...
--
Mats
Re: require_once warnings and fatal error messages
Posted: 29 Mar 2011, 15:05
by Jools
MatsP wrote:Since that wasn't really something we set out to achieve, I doubt it's actually any of the current changes that has achieved that...
A combination of two things, our CPU use is massively down (40%) which I think is just because if stuff is broke then our servers aren't being asked to do much. Secondly our traffic is down (18%) I think because spring is here. We always see more traffic in winter and less in summer.
Jools
Re: require_once warnings and fatal error messages
Posted: 29 Mar 2011, 15:44
by Jools
Hrm, this is an old address and shouldn't actually work. Where did you find this url please?
Jools
Re: is it me, or the specie i'm trying to find?
Posted: 29 Mar 2011, 15:58
by Jools
Grimfilth wrote:I broke the quick picker i think...
Cat-elog:
Know your nomenclature? Use the quick picker (Reset)
:
Family: Siluridae
Genus: Kryptopterus
Click on an image to view that species:
Fatal error: Call to undefined function format_img() in /home/webcat/planetcatfish.com/includes/old_functions/clog_display_genus_thumbnails.php on line 65
These are all now fixed.
Jools
Entering the advanced search page also results in this;
Warning: require_once(../includes/old_functions/clog_functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/webcat/planetcatfish.com/catelog/search.php on line 7
Fatal error: require_once() [function.require]: Failed opening required '../includes/old_functions/clog_functions.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/webcat/planetcatfish.com/catelog/search.php on line 7
And.......... (yes i'm a real pain in the butt, i know, but i was desperate finding the specie i own)
when i finally reached the page, i got a
Fatal error: Call to undefined function get_scientific_from_id() in /home/webcat/planetcatfish.com/common/my_fish.php on line 152
when adding
Kryptopterus minor to 'my fish'.
Good work, that kind of detail helps, these are all now fixed. Sorry for the hassle!
Jools
Re: require_once warnings and fatal error messages
Posted: 29 Mar 2011, 21:31
by Jools
Well, that's the worst of it over. I _think_ I've got all of them, certainly I've got all the ones that happen when you first enter a page before you do anything more on it. I will keep this topic open for a few weeks, but that should be that.
Thanks for your patience folks, this was a lot quicker this way.
Cheers,
Jools
Re: require_once warnings and fatal error messages
Posted: 29 Mar 2011, 23:04
by Joost
Hope this is helpful too:
Found an error message right underneath the photo's on this page:
http://www.planetcatfish.com/catelog/sp ... ies_id=148
Re: require_once warnings and fatal error messages
Posted: 29 Mar 2011, 23:37
by Jools
Yup, very good, I would have missed that. Keep 'em coming.
Jools
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 00:09
by MatsP
Trust me to find another one...
my_blog.php says
[phpBB Debug] PHP Notice: in file /home/webcat/planetcatfish.com/common/my_blog.php on line 21: require_once(functions/_my_functions.php) [function.require-once]: failed to open stream: No such file or directory
Fatal error: require_once() [function.require]: Failed opening required 'functions/_my_functions.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/webcat/planetcatfish.com/common/my_blog.php on line 21
Fixed in #279.
Edit: Also found that edit "my_aquaria" had some brokenness, so fixed that in #280, and picture upload was broken, so fixed in #281.
I suspect Jools is in bed like any sensible person at half past midnight, so these things will probably not be fixed until tomorrow morning...
--
Mats
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 00:25
by Dave Rinaldo
CotM articles listed by popularity
http://www.planetcatfish.com/core/top_a ... ction=cotm
and all the links.
Also all the
CotM have
Fatal error: Call to undefined function find_earliest_date() in /home/webcat/planetcatfish.com/includes/clog_datasheet.php on line 228
after pics and text.
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 00:36
by MatsP
Thanks Dave. I've submitted a fix #282 & #283 that supposedly fix these things (my "mini-planetcatfish" doesn't have a single article, so I can't test it locally).
Keep 'em comming - we can't fix things if we don't know it's broken.
--
Mats
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 07:49
by KittyKat
Jools wrote:
Hrm, this is an old address and shouldn't actually work. Where did you find this url please?
Your signature >.<
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 12:56
by Jools
KittyKat wrote:Jools wrote:
Hrm, this is an old address and shouldn't actually work. Where did you find this url please?
Your signature >.<
Genius! Fixed now...
Jools
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 13:16
by MatsP
I think Data-sub e-mails are broken again - the Vetting e-mails come through, but not the "You've submitted something" mails.
--
Mats
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 14:34
by Jools
Mats,
Yes, it's to do with constants not being available, looking into it.
Jools
Re: require_once warnings and fatal error messages
Posted: 30 Mar 2011, 14:51
by Jools
MatsP wrote:I think Data-sub e-mails are broken again - the Vetting e-mails come through, but not the "You've submitted something" mails.
Fixed.
Jools
Re: require_once warnings and fatal error messages
Posted: 02 Apr 2011, 12:17
by Jools
There was a bug preventing uploading new aquaria images. It is now fixed.
Jools
Re: require_once warnings and fatal error messages
Posted: 03 Apr 2011, 14:49
by Shovelnose
The error also turns up when the Catfish on Stamps, Habitat, Underwater & Video options are selected on the Homepage under the Cat E Log.
Re: require_once warnings and fatal error messages
Posted: 03 Apr 2011, 20:32
by Jools
Shovelnose wrote:The error also turns up when the Catfish on Stamps, Habitat, Underwater & Video options are selected on the Homepage under the Cat E Log.
Fixed.
Jools
Re: require_once warnings and fatal error messages
Posted: 05 Apr 2011, 15:25
by Jools
So, I think this is now pretty much finished. I have now made the changes "on the other" side to bring planetcatfish.com back in line with the common code base. In short, this site and aquaticrepublic.com now share a synchronized set of features along the lines of my cats (my fish), my aquaria and my blog.
There was a lot of individual checking of functions and code so I think there will be one or two things I've missed. They will be mopped up as I road test the aquaticrepublic site (and because they're now shared, will get fixed here too).
As ever, your bug spotting (and reporting) efforts are appreciated. We come a huge way in the last week, it might not look it, but we have.
Cheers,
Jools