maintenance.php not sending email

Asked by Ariel Palmiste

Seems like calling maintenance.php from browser or php commandline does not send email, just displays blank page. It dies where this line is: date_default_timezone_set(Config::GetSetting("defaultTimezone"));. If I put timezone manually there it proceeds but dies again in next line. Emails works because email is sent when display comes back online.

Please advise where might be problem, xibo is 1.5.2 running on fedore core 12.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Ariel Palmiste
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

It must be called from a browser now, not from a command line.

Then you need to make sure you have the maintenance script enabled and/or
password protected and the correct password specified in the URL

Revision history for this message
Ariel Palmiste (ariel-palmiste) said :
#2

Thanks for info. In browser it showed 500 error. Enabling error reporting showed Fatal error: Class 'PDOConnect' not found in /var/www/html/xibo/config/config.class.php on line 60
So I added line require_once("lib/app/pdoconnect.class.php"); to maintenance.php and everything works normally. Maybe it has something to do with my php install but it works now

Revision history for this message
Alex Harrington (alexharrington) said :
#3

Thanks for the info. That sounds like a bug.

Best wishes

Alex
On 14 Nov 2013 14:31, "Ariel Palmiste" <email address hidden>
wrote:

> Question #239176 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/239176
>
> Status: Answered => Solved
>
> Ariel Palmiste confirmed that the question is solved:
> Thanks for info. In browser it showed 500 error. Enabling error reporting
> showed Fatal error: Class 'PDOConnect' not found in
> /var/www/html/xibo/config/config.class.php on line 60
> So I added line require_once("lib/app/pdoconnect.class.php"); to
> maintenance.php and everything works normally. Maybe it has something to do
> with my php install but it works now
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.
>