Quantcast

Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

Maceman
Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream: No such file or directory in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on line 35

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Mime.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on line 35


That is the error I get when trying to use the Google Data Library. It didn't come with a Mime.php file. Whats up?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

Greg Maruszeczka
On Sat, 1 Mar 2008 16:58:26 -0800 (PST)
Maceman <[hidden email]> wrote:

>
> Warning: require_once(Zend/Mime.php) [function.require-once]: failed
> to open stream: No such file or directory in
> /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on
> line 35
>
> Fatal error: require_once() [function.require]: Failed opening
> required
> 'Zend/Mime.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
> in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on
> line 35
>
>
> That is the error I get when trying to use the Google Data Library. It
> didn't come with a Mime.php file. Whats up?



Did you only pull out the Gdata sub-directory from the rest of the
framework in your app? You need to account for any intra-framework
dependencies as well. In this case Mime.php, which is in the root Zend
directory (at least my copies of 1.0.4 and 1.50RC1).

Also make sure your include_path actually includes the Zend root
directory or it won't find it even if it is there.

HTH,
GM

--
   
Greg Maruszeczka

http://websagesolutions.com
skype: websage.ca
googletalk: gmarus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

dinoboff
In reply to this post by Maceman
I don't know for the packages, but it's in the repository:
http://framework.zend.com/svn/framework/tag/release-1.5.0RC1/library/Zend/Mime.php
http://framework.zend.com/svn/framework/tag/release-1.0.4/library/Zend/Mime.php

Have you tried re-uploading Zend, some files can get corrupted when uploaded or their upload can failed.
 
Maceman wrote
Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream: No such file or directory in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on line 35

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Mime.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on line 35


That is the error I get when trying to use the Google Data Library. It didn't come with a Mime.php file. Whats up?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

listmail
In reply to this post by Maceman
On Sat, 1 Mar 2008 16:58:26 -0800 (PST)
Maceman <[hidden email]> wrote:

>
> Warning: require_once(Zend/Mime.php) [function.require-once]: failed
> to open stream: No such file or directory in
> /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on
> line 35
>
> Fatal error: require_once() [function.require]: Failed opening
> required
> 'Zend/Mime.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
> in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on
> line 35
>
>
> That is the error I get when trying to use the Google Data Library. It
> didn't come with a Mime.php file. Whats up?



Did you only pull out the Gdata sub-directory from the rest of the
framework in your app? You need to account for any intra-framework
dependencies as well. In this case Mime.php, which is in the root Zend
directory (at least my copies of 1.0.4 and 1.50RC1).

Also make sure your include_path actually includes the Zend root
directory or it won't find it even if it is there.

HTH,
GM

--
   
Greg Maruszeczka

http://websagesolutions.com
skype: websage.ca
googletalk: gmarus
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

Maceman
In reply to this post by dinoboff
I now get this error when loading AllTests.php

Warning: require_once(PHPUnit/Framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/gameany/public_html/library/TestHelper.php on line 22

Fatal error: require_once() [function.require]: Failed opening required 'PHPUnit/Framework.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gameany/public_html/library/TestHelper.php on line 22


dinoboff wrote
I don't know for the packages, but it's in the repository:
http://framework.zend.com/svn/framework/tag/release-1.5.0RC1/library/Zend/Mime.php
http://framework.zend.com/svn/framework/tag/release-1.0.4/library/Zend/Mime.php

Have you tried re-uploading Zend, some files can get corrupted when uploaded or their upload can failed.
 
Maceman wrote
Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream: No such file or directory in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on line 35

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Mime.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on line 35


That is the error I get when trying to use the Google Data Library. It didn't come with a Mime.php file. Whats up?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Warning: require_once(Zend/Mime.php) [function.require-once]: failed to open stream

Simon Mundy
You need PHPUnit installed to run the tests. See the wiki - http://framework.zend.com/wiki/display/ZFDEV/Testing+Standards

>
> I now get this error when loading AllTests.php
>
> Warning: require_once(PHPUnit/Framework.php) [function.require-
> once]: failed
> to open stream: No such file or directory in
> /home/gameany/public_html/library/TestHelper.php on line 22
>
> Fatal error: require_once() [function.require]: Failed opening  
> required
> 'PHPUnit/Framework.php' (include_path='.:/usr/lib/php:/usr/local/lib/
> php')
> in /home/gameany/public_html/library/TestHelper.php on line 22
>
>
>
> dinoboff wrote:
>>
>> I don't know for the packages, but it's in the repository:
>> http://framework.zend.com/svn/framework/tag/release-1.5.0RC1/library/Zend/Mime.php
>> http://framework.zend.com/svn/framework/tag/release-1.0.4/library/Zend/Mime.php
>>
>> Have you tried re-uploading Zend, some files can get corrupted when
>> uploaded or their upload can failed.
>>
>>
>> Maceman wrote:
>>>
>>> Warning: require_once(Zend/Mime.php) [function.require-once]:  
>>> failed to
>>> open stream: No such file or directory in
>>> /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on  
>>> line
>>> 35
>>>
>>> Fatal error: require_once() [function.require]: Failed opening  
>>> required
>>> 'Zend/Mime.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')  
>>> in
>>> /home/gameany/public_html/library/Zend/Gdata/App/MediaEntry.php on  
>>> line
>>> 35
>>>
>>>
>>> That is the error I get when trying to use the Google Data  
>>> Library. It
>>> didn't come with a Mime.php file. Whats up?
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Warning%3A-require_once%28Zend-Mime.php%29--function.require-once-%3A-failed-to-open-stream-tp15782611s16154p15784123.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "

202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654  
4124
http://www.peptolab.com

Loading...