Cronjob maintenance.php

Hi Guy’s havn’t find anything usefull with the search function.

i get the Following E-mail when c-Panel try to make the Cronjob:

\<br /\> \<b\>Warning\</b\>: Creating default object from empty value in \<b\>/home/oneengin/public\_html/admin/maintenance.php\</b\> on line \<b\>26\</b\>\<br /\> \<br /\> \<b\>Notice\</b\>: A non well formed numeric value encountered in \<b\>/home/oneengin/public\_html/core/common/StatsData.class.php\</b\> on line \<b\>171\</b\>\<br /\> \<div id="codon\_crit\_error" style="font-family: 'Lucida Sans',Verdana;border:#999 1px solid;background-color:#fff;padding:20px 20px 12px 20px;"\> \<h1 style="font-family: verdana; font-weight:16px;font-size:18px;color:#6B001B;margin:0 0 4px 0;"\>An Error Was Encountered\</h1\> \<p style="font-size: 16px; color: #001B6B"\>Unauthorized access - Invalid Permissions.\</p\> \<p style="font-size: 10px;"\>\<center\>\<a href="http://www.oneengineout.com"\>Return to Homepage\</a\>\</p\> \</div\>

Maintenance.php Line 26

Auth::$userinfo-\>pilotid = 0;

StatsData.class.php Line 171

 $key\_month = date('MY', $start);

 

As i understand, the script isn’t running?! What could i do?

Which PHP version are you running on your phpVMS system and which has your cPanel installed?

TFDI Hosting

PHP Version 5.5.

Do i understand right that the cronjob isn’t working? or is it just a warning?

sorry but i’m not sure how to understand this message

i would really appreciate some help,

i talked with my provider, he think that this isn’t a maintenance script and a module have broken my website.. no real help..

as i understand it is that 

$start

is empty and that is why the error pops up 

Okay, thank you Vangelis. Do you know why its empty or how i can fix that?

can you attach the php file ?

Which one exacly? The maintenance.php?

 

yes and the StatsData.class.php  located in core/common

Admin/maintance.php

and the core/common/statsdata.class.php

maintenance.php

StatsData.class.php

Can you try this file ?

[maintenance.php](< base_url >/applications/core/interface/file/attachment.php?id=4178)

 

 

and you can manualy run the cron by visiting this link

 

 

nope.. no change when i call it by hand

Maintenance.JPG.ac633fab6bb44baf76261f1ac18e71ef.JPG

need to check all the files on the specific server as i cannot replicate the problem on mine server