Quote:
Originally Posted by Gandiel
Kavious,
I've been doing some research on your problem...
What version of PHP do you have? Do you know if safe mode is on?
http://us.php.net/fopen -- This is the function that opens the VGPlayers CSV file.
And here is the allow_url_fopen:
So it looks like you may be unable to run the scheduled task because safe mode for PHP is turned on.
Something you can try.... - Download the CSV from VGPlayers manually. From your guild's page on VGPlayers, right-click the CSV List link and choose Save-As. The file will be something like "guildsRosterCSV.vm"
- Rename that file to "guildsRosterCSV.csv" and upload it to your webserver.
- Change line #27 in "vgroster_import.php" to the location of where you uploaded the CSV file in Step 2. Don't use a URL... use something similar to this:
Code:
$file = "/forum_root/vgroster/guildsRosterCSV.csv";
- Try the Scheduled Task and see if it works locally rather than trying to grab the CSV from a URL.
|
Worked great I have PHP 5.1 dont know why it would be set to safe mode but contacted the hosting company to have them change it, your work around worked great though!
Thanks a bunch