fatal errors causing downtime

jondoe

New Member
All of this seemed to happen after I installed the send message script, which didn't even work and also caused fatal errors after I installed it, since removing it completely things have gotten a bit better.

[Tue Aug 26 15:00:57 2014] [error] [client 173.245.49.171] PHP Notice: Undefined variable: i in /home/clashofc/domains/vtumblr.com/public_html/promote/sources/user_cp/banner.php on line 79, referer: http://vtumblr.com/promote/index.php?a=user_cpl

[Tue Aug 26 15:01:18 2014] [error] [client 173.245.49.171] PHP Notice: Undefined variable: i in /home/clashofc/domains/vtumblr.com/public_html/promote/sources/user_cp/banner.php on line 79, referer: http://vtumblr.com/promote/index.php?a=user_cpl&b=banner&mode=1

This is line 79

$i++;
 

Basti

Administrator
Staff member
"Moving to support"

Those errors you showed in your post are not related to the sendmessage plugin, but simply php notices that a variable have not been defined ( no fatal error ). And are caused in user control panel upload banner.

There has been quite a few which all got fixed in vl 1.4 ( releases soon ), but none of them stop the script from functioning. Those did not show prior to php 5.4, cause those notices were suppressed by php by default, which changed in 5.4.
So i guess thats the reason they suddenly pop up for you, maybe your php got upgraded
Anyway, it is a good thing and helped us fix quite a few of those. Who likes to see those notices, although they do no harm, right? :)

For those error in your post, please unzip the attached file and upload the included file banner.php to sources/user_cp/ overwriting the old file. Its the file from 1.4 fixing exactly that notice + a few others

As for the sendmessage, please install it again, what makes you think it does not work? Any error message ( again those 2 are not related to it ).
1) Does the page go blank white page? ( doubt it )
2) Does the form submit, but you not get an email?
2.1) If it does submit, but you not get an email, do you get welcome emails when you add a website?
2.2) If so, do you have smtp enabled or not?

On a different note
I refreshed your site a few times and the connection does time out quite often from cloudflare to vtumblr.com
Not sure if you mean that by downtime, but for sure not a normal thing. And it does not happen only on the Visiolist folder, so its unlikely the fault lies there.
Would also happen more regularly and not just every now and then after xx refreshes
- Could be a way oversold web server in general, leaving not enough resources for each client
- Could be a misconfigured web server

I know several people using cloudflare, but not came across this issue yet, so i doubt its cloudflares fault. Most likely something on the server.

Taken straight out of a cloudflares support
Common reasons why this can occur aside from rate-limiting can include:
- A process on the webserver is consuming all of one or more resources at the origin.
- The domain is on a shared hosting platform where traffic or tasks for a separate domain on the same server is taking up one or more resources.
- Network connectivity issues between CloudFlare and the origin web server.
Bit hard to track down to be honest, your best shot might be asking your host if there has been some networking issues, overuse of resources or whatever taking place.
They should be able to watch logs/processes in realtime


General guidance
https://support.cloudflare.com/hc/en-us/articles/200172506-My-website-is-offline-or-unavailable-

Error 522
https://support.cloudflare.com/hc/en-us/articles/200171906-Error-522
 

Attachments

Last edited:
Top