stiez / pos-tracker-eve

Automatically exported from code.google.com/p/pos-tracker-eve
0 stars 0 forks source link

Errors when using cron_mail.php #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install new POS Tracker with PHP 5.1.3
2. set up a POS tower with less then 24 hrs of fuel
3. set up a new account and set it as fuel tech for new POS
4. run cron_mail.php through the server console

What is the expected output? What do you see instead?
Expecting a low resource warning, getting
PHP Deprecated:  Function eregi() is deprecated in 
/home/gil/www/posmgr/includes/phpmailer/class.phpmailer.php on line 594
Error Sending Alert :: Language string failed to load: connect_host<br>

What version of the product are you using? On what operating system?
5.1.5

Please provide any additional information below.
Not 100% sure what I need to be doing with the cron stuff. I used to use 
version 3 but wiped that and started from scratch. I've updated my 
postrackercon.sh file to

cd /real/path/to/tracker
/usr/bin/php5 cron_updatepos.php
/usr/bin/php5 cron_updateallianceinfo.php
/usr/bin/php5 cron_updatesov.php
/usr/bin/php5 cron_updatejobs.php
/usr/bin/php5 cron_mail.php

Original issue reported on code.google.com by gilgam...@gmail.com on 8 Sep 2011 at 11:59

GoogleCodeExporter commented 9 years ago
I meant PHP 5.3 not 5.1.3 :)

Original comment by gilgam...@gmail.com on 8 Sep 2011 at 12:03

GoogleCodeExporter commented 9 years ago
Okay found and updated eveconfig/mailconfig.php so getting the mails now, but 
still getting the function depreciated warning.

Original comment by gilgam...@gmail.com on 8 Sep 2011 at 12:10

GoogleCodeExporter commented 9 years ago
Fixed in 5.1.6 (this version should be out "soon").

Yay for new PHP versions,
-FG

Original comment by frozenic...@gmail.com on 9 Sep 2011 at 5:25