Debug Broken Zend Php Script

Debug Broken Zend Php Script
Hi there,

Thanks for looking at my project!

We have a script that is having some issues, and we need an experienced PHP/Zend coder to figure out what is wrong.

This script reads a tab-delineated flat text database and uses the info from the records to look for .AVI files in a directory. If it finds one, uploads the .AVI to our YouTube account, and uses the record info that matches the .AVI filename to populate the “title”, “tags” and “description” of the YouTube video.

Here is a full description of the script, from the original Scriptlance project 6 months ago:

http://www.scriptlance.com/projects/1251161756.shtml

This script did not take long to make and it worked perfectly for 6 months.

However, about 1 month ago, our server crashed during a cpanel upgrade, which corrupted our PHP modules. Our host restored the modules, but the settings are not exactly the same and some modules might be missing. Most of the scripts on our site work well again, but this one does not work anymore.

I suspect it may have to do with a PHP4/PHP5 issue. Most of our site runs PHP4, but this script is set up to be run by PHP 5.2.10.

Right now, when you try to run this script, you get the following error message:

/////////////////////

Warning: require_once(Zend/Gdata/App/Extension/Edited.php) [function.require-once]: failed to open stream: No such file or directory in /home/autopa5/public_html/youtubeUpload/library/Zend/Gdata/App/Entry.php on line 37

Fatal error: require_once() [function.require]: Failed opening required ‘Zend/Gdata/App/Extension/Edited.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php:library/’) in /home/autopa5/public_html/youtubeUpload/library/Zend/Gdata/App/Entry.php on line 37

/////////////////////

We contacted the original programmer, but he is not available — so please take a look, and if you think you can find the problem and get the script working again, we look forward to your bid.

I am enclosing a zip archive which contains the script files. The script is upload.php. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *