Could someone look at this please?

I have asked my host to set up a Cron Job on the above software.

It did not work, so I asked them to test it.

This was there reply:


Hi,

The problem lays with some pretty poor coding in the script. Firstly it used:

require_once($location.'includes/configure.php');
require_once($location.'includes/database_tables.php');

which caused the following error:

PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '../includes/configure.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/currency_update_curled.php on line 26

and so I changed those lines to read:

require_once('includes/configure.php');
require_once('includes/database_tables.php');

and then it gave the following error:

PHP Notice: Use of undefined constant CURL_PROXY_REQUIRED - assumed 'CURL_PROXY_REQUIRED' in /var/www/html/currency_update_curled.php on line 124

We do not use a proxy for cURL.

I'm afraid we cannot help any more with this as it is clearly a problem with the script you are using.


Can anyone advise?

The server people are Terranetwork.