Log in

View Full Version : Cron, Parce_ini_file and you!


dave
02-28-2004, 01:46 AM
I'm running a Cron job to run a php script every minute to update a new Bit Torrent tracker Im working on installing. Problem is, it cant read from one of the necessary files to run the script. This is what the error log is shitting out:

Warning: parse_ini_file(): Cannot open 'tracker.ini' for reading in /Library/WebServer/Documents/butter/header.inc on line 3

I assumed this was a permissions thing, and chmoded tracker.ini up the wazoo, with no difference.

Help plz.

Klimaxor
02-28-2004, 02:19 AM
did you put the full path to tracker.ini in the parse file or just 'tracker.ini'?

dave
02-28-2004, 03:28 AM
Genius.

Tracker still isnt working, but that seems to have fixed that problem.

Klimaxor
02-28-2004, 03:34 AM
i do the best i can with what little bit i know

what tracker are you using? (i needs a link and such)
what os?
and what kinda error(s) are you getting if any?

dave
02-28-2004, 08:31 PM
<a href=http://www.rumandwater.com/bitgrog>Bitgrog</a>
OS X running apache, php, mysql
Bad data from tracker, coming from the torrents themselves, tracker isnt recognizing running torrents.

http://home.thefucksociety.com/butter/index.php

Everything else seems to be working fine.