introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

worpress plugin include error?



Posted by: KC
December 08, 2010 07:42PM
Hi,

I'm writing a plugin for wordpress. I am working on it in 2 places. 1 has wampserver 2.0 and netbeans. the other easyphp and notepad++. Its been working fine until recently when I added the ZendGdata-1.10.8 component to my plugin. This works fine with wampserver and netbeans, but with the following code:

require 'zend/loader.php';

Zend_Loader::loadClass('Zend_Gdata_YouTube');
Zend_Loader::loadClass('Zend_Uri_Http');


I get the following error with easyphp5.3.3:

Warning: require(zend/loader.php) [function.require]: failed to open stream: No such file or directory in M:\New Folder\EasyPHP-5.3.3\modules\wordpress301x101105145623\wp-content\plugins\test2\test2.php on line 34

Fatal error: require() [function.require]: Failed opening required 'zend/loader.php' (include_path='.;C:\php5\pear') in M:\New Folder\EasyPHP-5.3.3\modules\wordpress301x101105145623\wp-content\plugins\test2\test2.php on line 34

I'm not sure what to do because I don't want to break it on the other machine.

Thanks in advance,

KC
Options: ReplyQuote
Posted by: Thierry
December 09, 2010 08:45AM
You need zend....
Options: ReplyQuote
Posted by: kc
December 11, 2010 03:06AM
Hi Thierry,

Do you mean include the entire zend framework?

KC
Options: ReplyQuote
Posted by: Thierry
December 12, 2010 05:32PM
i don't know: ask to wordpress plugin support
Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.