Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - madfitz
46
Off-topic / Re: Twitter
« on March 4th, 2014, 03:13 PM »
Ah! What you *really* need is a plugin that will tweet your thoughts (perhaps with an optional tag that will bypass the tweet process).
47
Archived fixes / Re: Exhausted memory?
« on March 4th, 2014, 03:06 PM »
Hmmm :hmm:

error.log only shows... ermm... errors. It doesn't show every request being made at that time - just the error :-/
48
Archived fixes / Re: Exhausted memory?
« on March 4th, 2014, 07:37 AM »
Quote from Nao on March 4th, 2014, 12:45 AM
I really have no idea how to fix this if it only happens a few times a day... It's not enough to reproduce it in a surefire way! I'll really need more info. :(
I appreciate it can't be easy and if I stumble across any additional info I'll pass it on.

I was really hoping somebody else had checked the error.log file on their server and found similar errors. They might have been able to give you more info than I can :(
49
Archived fixes / Re: Exhausted memory?
« on March 3rd, 2014, 11:33 PM »
Nao, the answer to most of that is "no" (as I barely understood most of it!)

These errors can be found in the error.log file in the forum root folder. The errors don't happen often (something like once on Feb 28, twice on March 1 and three times on March 3).

I've scoured the various error logs in my cPanel but there's nothing that makes sense to me - and nothing obvious that ties in with the error times/dates.

I'm surprised that (so far) I seem to be the only one with these specific errors.

Pandos, I've added that line.

I'll let you all know if I see anymore 'exhausted memory' errors.
50
Archived fixes / Re: Exhausted memory?
« on March 3rd, 2014, 07:28 PM »
Little help please... my hosts site says:
Quote
We provide you the control and option of enabling PHP 5.5 or 5.4 on your entire account or on a per-directory basis through a simple .htaccess modification. This modification can be placed in an accounts public_html/.htaccess file to enable PHP 5.5 or 5.4 for an entire account or in the .htaccess file of a specific directory to enable PHP 5.5 or 5.4 under that directory tree only.
To enable PHP 5.5 or 5.4, you must add one of the following htaccess option:


AddType application/x-httpd-php55 .php
Or
AddType application/x-httpd-php54 .php

The binary path to the PHP 5.5 and 5.4 installations, should you require it for executable php scripts or cronjobs, is located at:


/usr/local/php55/bin/php
And
/usr/local/php54/bin/php
I tried adding this line to htaccess:

AddType application/x-httpd-php54 .php

but everything breaks (500 internal server error).

What am I doing wrong?

EDIT: Going one step further, there is a "PHP Selector" in cPanel. Still breaking things when using the simple drop-down menu on there too :hmm:
51
Archived fixes / Re: Exhausted memory?
« on March 3rd, 2014, 07:10 PM »
The bad news is I'm on PHP 5.3.28

I'm surprised at that because my host is *usually* on top of stuff like that.

EDIT: They updated in August 2013 but just reading something on my hosts boards... looks like I need to request the update.
52
Archived fixes / Re: Exhausted memory?
« on March 3rd, 2014, 05:06 PM »
We have new log entries today:

[03-Mar-2014 12:31:36] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /.../gz/app/Class-DB.php on line 636
[03-Mar-2014 12:31:43] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /.../gz/app/Class-DB.php on line 228
[03-Mar-2014 12:32:25] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /.../gz/app/Class-DB.php on line 0
[03-Mar-2014 12:32:32] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 523800 bytes) in /.../gz/app/Class-DB.php on line 228
53
Archived fixes / Re: Exhausted memory?
« on March 2nd, 2014, 01:12 PM »
Thanks, I've now done that.
54
Archived fixes / Re: PHP Fatal error
« on March 2nd, 2014, 12:57 PM »
I just installed Github for Windows and setup rules in FlashFXP to upload new/changed files only. This Github thing is all new to me so this could be interesting!
55
Archived fixes / Re: Exhausted memory?
« on March 2nd, 2014, 12:23 PM »
Debug is not enabled (would you advise I enable it - and how would I do that?)

I have installed the latest files and, so far, see no new errors.
56
Archived fixes / Re: Exhausted memory?
« on March 1st, 2014, 10:36 PM »
I just took another look. Those are the entire contents of the error log (I had deleted the log after the previous errors had been fixed), and nothing has been added after that last error.

If it reoccurs I'll let you know.

I can confirm that I have not edited/changed any files. Everything is original.
57
Archived fixes / Exhausted memory?
« on March 1st, 2014, 03:14 PM »
I appreciate some of this might be fixed now (based on dates) but I have these errors over the last two days:

[28-Feb-2014 21:16:17 Europe/London] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /.../gz/app/Class-DB.php on line 636
[28-Feb-2014 21:16:23 Europe/London] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /.../gz/app/Class-DB.php on line 636
[01-Mar-2014 05:15:16 Europe/London] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 31015 bytes) in /.../gz/app/Subs-Template.php on line 1117
58
Archived fixes / Re: My latest error...
« on February 25th, 2014, 08:31 PM »
I'm guessing the latest rev fixes this as QueryString.php is updated, so I'll mark this solved for now :)
59
Archived fixes / My latest error...
« on February 25th, 2014, 06:31 PM »
I hate putting these in "bug reports" because I'm not sure they really are bugs (so where should I put them?)

 PHP Notice:  Undefined offset: 3 in /.../gz/app/QueryString.php on line 337


60
Archived fixes / Re: PHP Fatal error
« on February 25th, 2014, 08:57 AM »
I don't want to overwrite every file with every commit because my forum is on hosted web space (not my local machine) and I'm thinking about bandwidth here. I'd prefer to only update the absolute minimum required files...
Quote from Nao on February 25th, 2014, 12:30 AM
For that, you can also just click the '6 files changed' link, and indeed see which files were modified.
Which is what I do (or at least what I try to do (I clearly missed that one) :huh: