• <small id='uc78n'></small><noframes id='uc78n'>

      1. <legend id='uc78n'><style id='uc78n'><dir id='uc78n'><q id='uc78n'></q></dir></style></legend>
        <tfoot id='uc78n'></tfoot>

        <i id='uc78n'><tr id='uc78n'><dt id='uc78n'><q id='uc78n'><span id='uc78n'><b id='uc78n'><form id='uc78n'><ins id='uc78n'></ins><ul id='uc78n'></ul><sub id='uc78n'></sub></form><legend id='uc78n'></legend><bdo id='uc78n'><pre id='uc78n'><center id='uc78n'></center></pre></bdo></b><th id='uc78n'></th></span></q></dt></tr></i><div id='uc78n'><tfoot id='uc78n'></tfoot><dl id='uc78n'><fieldset id='uc78n'></fieldset></dl></div>
        • <bdo id='uc78n'></bdo><ul id='uc78n'></ul>

        ZendGdata 框架路径设置错误

        时间:2023-05-30
        <tfoot id='A8KOT'></tfoot>

        <i id='A8KOT'><tr id='A8KOT'><dt id='A8KOT'><q id='A8KOT'><span id='A8KOT'><b id='A8KOT'><form id='A8KOT'><ins id='A8KOT'></ins><ul id='A8KOT'></ul><sub id='A8KOT'></sub></form><legend id='A8KOT'></legend><bdo id='A8KOT'><pre id='A8KOT'><center id='A8KOT'></center></pre></bdo></b><th id='A8KOT'></th></span></q></dt></tr></i><div id='A8KOT'><tfoot id='A8KOT'></tfoot><dl id='A8KOT'><fieldset id='A8KOT'></fieldset></dl></div>
        <legend id='A8KOT'><style id='A8KOT'><dir id='A8KOT'><q id='A8KOT'></q></dir></style></legend>

            • <bdo id='A8KOT'></bdo><ul id='A8KOT'></ul>
                    <tbody id='A8KOT'></tbody>

                1. <small id='A8KOT'></small><noframes id='A8KOT'>

                  本文介绍了ZendGdata 框架路径设置错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  您好,我正在使用 ZendGdata-1.12.5 框架在 youtube 上上传视频

                  Hello I am using ZendGdata-1.12.5 framework to upload a video on youtube

                  我在我的 php 代码中使用了以下内容

                  I used the following in my php code

                  $path = './ZendGdata-1.12.5/library/';
                  set_include_path(get_include_path() . PATH_SEPARATOR . $path);
                  
                  require_once('Zend/Loader.php');  
                  
                  Zend_Loader::loadClass('Zend_Gdata');  
                  Zend_Loader::loadClass('Zend_Gdata_YouTube');  
                  Zend_Loader::loadClass('Zend_Gdata_AuthSub');  
                  Zend_Loader::loadClass('Zend_Gdata_ClientLogin');  
                  

                  但似乎没有任何效果!帮助 ?

                  but nothing seems to be working ! help ?

                  PHP 警告:require_once(Zend/Xml/Security.php):无法打开流:没有这样的文件或目录/var/www/youtube_upload_video/ZendGdata-1.12.5/library/Zend/Gdata/App/Base.php在线 30

                  PHP Warning: require_once(Zend/Xml/Security.php): failed to open stream: No such file or directory in /var/www/youtube_upload_video/ZendGdata-1.12.5/library/Zend/Gdata/App/Base.php on line 30

                  PHP 致命错误:require_once():需要打开失败'Zend/Xml/Security.php'(include_path='.:/usr/share/php:/usr/share/pear:./ZendGdata-1.12.5/library/')在/var/www/youtube_upload_video/ZendGdata-1.12.5/library/Zend/Gdata/App/Base.php在线 30

                  PHP Fatal error: require_once(): Failed opening required 'Zend/Xml/Security.php' (include_path='.:/usr/share/php:/usr/share/pear:./ZendGdata-1.12.5/library/') in /var/www/youtube_upload_video/ZendGdata-1.12.5/library/Zend/Gdata/App/Base.php on line 30

                  推荐答案

                  路径正确,问题是Zend Gdata库没有Zend/xml文件夹.这是一个包含 2 个文件的小文件夹.您需要做的就是:

                  The path is correct, the problem is that Zend Gdata library does not have the Zend/xml folder. It's a small folder with 2 files. All you need to do is following:

                  1) 前往:http://framework.zend.com/downloads/latest

                  2) 下载 1.12(或任何您的版本)最小包.

                  2) Download 1.12 (or whatever your version is) MINIMAL package.

                  3) 将其解压缩到您的硬盘上.

                  3) Extract it on your hard disk.

                  4) 将 /library/Zend/Xml 文件夹上传到您服务器的 /ZendGdata-1.12.5/library/ 文件夹,以便在您的 /ZendGdata-1.12.5/library/Zend 文件夹你有 Xml 文件夹.

                  4) Upload /library/Zend/Xml folder to your server's /ZendGdata-1.12.5/library/ folder so that in your /ZendGdata-1.12.5/library/Zend folder you have the Xml folder.

                  5) 就是这样.享受.

                  5) That's it. Enjoy.

                  这篇关于ZendGdata 框架路径设置错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何使用 PHPUnit 获得 100% 的代码覆盖率 下一篇:Zend_Form:带有复选框的 HTML 表中的数据库记录

                  相关文章

                2. <small id='zHN4e'></small><noframes id='zHN4e'>

                    <i id='zHN4e'><tr id='zHN4e'><dt id='zHN4e'><q id='zHN4e'><span id='zHN4e'><b id='zHN4e'><form id='zHN4e'><ins id='zHN4e'></ins><ul id='zHN4e'></ul><sub id='zHN4e'></sub></form><legend id='zHN4e'></legend><bdo id='zHN4e'><pre id='zHN4e'><center id='zHN4e'></center></pre></bdo></b><th id='zHN4e'></th></span></q></dt></tr></i><div id='zHN4e'><tfoot id='zHN4e'></tfoot><dl id='zHN4e'><fieldset id='zHN4e'></fieldset></dl></div>

                      <bdo id='zHN4e'></bdo><ul id='zHN4e'></ul>
                    <legend id='zHN4e'><style id='zHN4e'><dir id='zHN4e'><q id='zHN4e'></q></dir></style></legend>

                    <tfoot id='zHN4e'></tfoot>