EVE-SECURE / temars-eve-api

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

Cron Problems #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Version?
1.1.1

What steps will reproduce the problem?
1. Running Cron Job
2.
3.

What is the expected output? What do you see instead?

When running the cron job I am receiving an email containing the following.

/home/*******/public_html/Sources/TEA_Cron.php: line 1: ?php: No such file or 
directory
/home/*******/public_html/Sources/TEA_Cron.php: line 2: syntax error near 
unexpected token `'../SSI.php''
/home/*******/public_html/Sources/TEA_Cron.php: line 2: `if 
(file_exists('../SSI.php') && !defined('SMF'))'

This appears to me as though it's not working - any ideas?

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

SMF2.0 RC3, TEA 1.1.1

Please provide any additional information below.

Original issue reported on code.google.com by filcooper@gmail.com on 3 Nov 2010 at 4:31

GoogleCodeExporter commented 9 years ago
i beleave this is because of the location your running the file from
CD to the Sources directory then run the file
that should be the problem, let me know

Original comment by tema...@googlemail.com on 14 Nov 2010 at 7:30

GoogleCodeExporter commented 9 years ago
Sorry, should have updated this issue to say I'd solved it.

I solved this by looking at another cron job I was running successfully. In 
that one it has the path to the php install directory on the server at the 
start of the php file (something like bin/php).  I added that to TEA_Cron.php 
file and all is now working.  

Original comment by filcooper@gmail.com on 15 Nov 2010 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by tema...@googlemail.com on 15 Nov 2010 at 4:21