Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

erro and fix report from aqueitant #39

Closed
bluemooninc opened this issue Sep 14, 2012 · 4 comments
Closed

erro and fix report from aqueitant #39

bluemooninc opened this issue Sep 14, 2012 · 4 comments

Comments

@bluemooninc
Copy link

OSCに来場した方からご報告があったのでポストします。

MAMP 環境 xupdate で pico を入れようとしたら下記のようなエラーがでました。

-----ここから

PHP timeout

Download of the archive was started.
The completion of download.
Timeout by running time limit of PHP.
Deployment of the file to retrieve the archive from the [ link here ]
because it is incomplete, please do the proper placement of the FTP
upload files manually.
--------------------
PHP error message:

Fatal error: Call to undefined method
File_Archive_Reader_ChangeName::File_Archive_Reader_ChangeName() in
/Users/aotake/work/xoopsx-mysql/xoops_trust_path/modules/xupdate/PEAR/File/Archive/Reader/ChangeName/AddDirectory.php
on line 50

----- ここまで

PHP 5.3.2 だからかもしれませんが、以下の様にして解決しましたのでご連絡します。
単純に File_Archive_Reader_ChangeName のコンストラクタを付け足しただけです。

----ここから

diff --git a/xoops_trust_path/modules/xupdate/PEAR/File/Archive/Reader/ChangeName.php
b/xoops_trust_path/modules/xupdate/PEAR/File/Archive/Reader/ChangeName.php
index e01f1af..f0583b1 100644
--- a/xoops_trust_path/modules/xupdate/PEAR/File/Archive/Reader/ChangeName.php
+++ b/xoops_trust_path/modules/xupdate/PEAR/File/Archive/Reader/ChangeName.php
@@ -36,6 +36,10 @@ require_once "File/Archive/Reader/Relay.php";
 */
class File_Archive_Reader_ChangeName extends File_Archive_Reader_Relay
{
+    function File_Archive_Reader_ChangeName(&$source)
+    {
+        parent::File_Archive_Reader_Relay($source);
+    }
    /**
     * Modify the name
     *

-----ここまで

@nao-pon
Copy link
Member

nao-pon commented Sep 14, 2012

ありがとうございます。

To: 沖野さん

PEAR の最新バージョンでは修正されていますね。最新バージョンに差し替えればよいでしょうか?

@ghost ghost assigned nao-pon and naao Sep 14, 2012
@naao
Copy link
Contributor

naao commented Sep 15, 2012

酒井さん、ありがとうございます。
こんなところに残っていたんですね。 PEAR最新版への差し替え、お願します。 > 澤田さま

@nao-pon
Copy link
Member

nao-pon commented Sep 16, 2012

アップデート完了しました。 :-)

@nao-pon
Copy link
Member

nao-pon commented Sep 16, 2012

Fix with 71f7e3a

@nao-pon nao-pon closed this as completed Sep 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants