I have a few php scripts that have long been in production that I run as crons to screen scrape a Bureau of Reclamation site and stuff data into MySQL databases. Well, last week they all stopped working. For example, http://ykfp.org/php/BOR/getFlow6.php .
First, I had trouble remembering how they work, now I'm having trouble remembering how to diagnose a php problem. When I try running a script from a command prompt, I get an error "An attempt was made to dynamically load ChartDirector, but was not successful. Please refer to your ChartDirector for PHP Documentation." But I think this is misleading, since the library is still present and loads fine to draw my charts: http://ykfp.org/php/BOR/prodbflowtempchartalt.php and the library's demo charts http://ykfp.org/php/ChartDirector/phpdemo/
The cron job runs these php scripts with lynx, but running one from a browser like Firefox, it runs for a long time, so I think it gets past the dynamic load of the library. But I get a "The server encountered an internal error or misconfiguration and was unable to complete your request." I verified that the url I'm calling from the BOR is still the same. Do you suppose I just need to tell my host somehow that I need more time to run these screen scrapers?