[BETA] phPKG - MOD installer with repositories & packages

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
Locked
renet
Registered User
Posts: 126
Joined: Tue May 04, 2004 5:02 pm
Location: Germany

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by renet » Thu Dec 13, 2007 10:12 pm

i*m always getting this error:

Code: Select all

[phpBB Debug] PHP Notice: in file /pkg/class/tar_command.php on line 56: shell_exec() has been disabled for security reasons
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 317: opendir(./../cache/phpkg/pkg/../dir/local_270832bec3323494456ce3f6289be912) [function.opendir]: failed to open dir: No such file or directory
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 319: readdir(): supplied argument is not a valid Directory resource
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 329: opendir(./../cache/phpkg/pkg/../dir/local_270832bec3323494456ce3f6289be912) [function.opendir]: failed to open dir: No such file or directory
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 330: readdir(): supplied argument is not a valid Directory resource
{ pL_KernelPanic }

No valid XML was found!

    * 23:10:19(3): [tar] Unpacking zipfile ./../cache/phpkg/pkg/local_270832bec3323494456ce3f6289be912.zip
    * 23:10:19(3): [sys] SYSTEM CALL:
      cd ./../cache/phpkg/pkg && mkdir ../dir/local_270832bec3323494456ce3f6289be912 && cd ../dir/local_270832bec3323494456ce3f6289be912 && cp ../../pkg/local_270832bec3323494456ce3f6289be912.zip . && unzip local_270832bec3323494456ce3f6289be912.zip
    * 23:10:19(3): [sys] System reply:
    * 23:10:19(3): [xml] Searching for a XML file in ./../cache/phpkg/pkg/../dir/local_270832bec3323494456ce3f6289be912
extracting via php doesn*t work, either. :( it there any chance for me to get this to work on this server? thanks in advance! =)

renet
Registered User
Posts: 126
Joined: Tue May 04, 2004 5:02 pm
Location: Germany

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by renet » Fri Dec 14, 2007 1:30 pm

how about adding an option to install mods that previously have been uploaded to a specified folder? for people who are experiencing problems with extracting zip files... the content of that folder could be deleted after the installation was successful.

JavaKinetic
Registered User
Posts: 4
Joined: Sat Dec 08, 2007 12:06 am

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by JavaKinetic » Fri Dec 14, 2007 6:08 pm

As per "KernelPanic"... I'm pretty certain there is an issue with where the PHPkg is installed relative to phpBB. Seeing "/../" in the directory structure makes me wonder. I will give it another go as soon as I get phpBB.3.0.0 installed over the next couple days, by including the following to exactly point to the file, and see what I can learn. It would probably normally be faster just to do it, than write about it... but, not this week.

// Find the precise file location for the system
$uri = rtrim($_SERVER['PHP_SELF'], "/\\");

Also, I was in touch with the author of PHPkg, and he said that he was most definitely interested in continuing the development, except that he was very busy until Christmas was over. I can't blame him really.... because, thats precisely what I have been telling people too.

User avatar
ChALkeR
Registered User
Posts: 58
Joined: Thu Apr 07, 2005 5:55 pm
Location: Russia

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by ChALkeR » Sat Dec 15, 2007 10:56 am

Also, I was in touch with the author of PHPkg, and he said that he was most definitely interested in continuing the development, except that he was very busy until Christmas was over.
Good news.
Sorry for my bad English

rockboyteek
Registered User
Posts: 591
Joined: Tue Mar 29, 2005 2:50 pm
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by rockboyteek » Sun Dec 16, 2007 12:56 pm

Excellent MOD. Trying it out now.

There are a few language strings which have not been applied correctly in the ACP :)
http://www.adminfuel.com/ - Forum for Forum Administrators

rockboyteek
Registered User
Posts: 591
Joined: Tue Mar 29, 2005 2:50 pm
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by rockboyteek » Sun Dec 16, 2007 1:00 pm

Also I installed the Clickable forums mod, and it installed, but only half. The modification is not shown on the Browse list to remove.. some problems to iron out :)

EDIT - You need to hve something that skips steps it can't do, so then the modification installs but you have to sort out the other steps, would be better :)
http://www.adminfuel.com/ - Forum for Forum Administrators

User avatar
Methen
Registered User
Posts: 447
Joined: Wed Dec 01, 2004 12:13 am
Contact:

Question

Post by Methen » Mon Dec 24, 2007 10:12 pm

Where exactly do you upload the files to
and how do you enable them?
Somebody is asking for a Hinne Whooping!!!

User avatar
Dabroz
Registered User
Posts: 56
Joined: Sat Dec 20, 2003 3:18 pm
Location: Poland
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by Dabroz » Sat Jan 05, 2008 9:45 pm

Hello all! :)

I was away for a long time, but now it is the time to continue the work. I've placed the project where everyone can watch and track it:

http://sourceforge.net/projects/phpkg/

You can submit bugs as well as feature requests directly there. You can download the dev3 version. You will be able to browse CVS as soon as SF.net team imports my CVS branches. :)

I will try to release dev4 ASAP, but I can't guarantee anything.
http://www.phpbb2.pl - the first and the biggest Polish phpBB site.
My tools and MODs: phPKG (dev3) • User Useragent Stats
If you appreciate my work, you can donate me with PayPal.

gamerxgirl
Registered User
Posts: 379
Joined: Tue Feb 22, 2005 4:13 pm

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by gamerxgirl » Sat Jan 12, 2008 5:57 am

Glad to hear that this project is continuing development :) I look forward to testing out your mod.

Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by Anyasha » Sat Jan 19, 2008 3:30 am

I installed this and couldn't use it (I got the same error others did when trying to upload, and yes my server has PHP5) and when I tried to delete it, it won't let me delete the phpkg folder in the cache folder. In fact, I want to delete the whole forum as I was just testing out phpbb3 and didn't like it, and I can't because it won't delete the cache folder. :roll:
Kiss me, I'm Polish!

User avatar
TheMoustic
Registered User
Posts: 76
Joined: Sat Aug 25, 2007 1:32 pm
Location: France

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by TheMoustic » Sat Jan 19, 2008 5:36 pm

Hello,

I have this error when I want to clic on the link in ACP:

Code: Select all

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home.48/l/m/s/lmsstl/www/pkg/bb3phpkg.php on line 27
It pretty strange beacause I have php4 & php5 installed on my server.

Have you any idea or solution ?

Thanks.
Theory, it is when nothing works, and when we know why.
Practice, it is when everything works, and when we do not know why.

Here, both are combined: nothing works, and nobody knows why.
Albert Einstein

User avatar
TheMoustic
Registered User
Posts: 76
Joined: Sat Aug 25, 2007 1:32 pm
Location: France

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by TheMoustic » Sun Jan 20, 2008 12:49 am

It's work now.. Strange..

But I still have a problem. When I want to edit some kinds of groups, I have Setting sitmape:

screenshot
Theory, it is when nothing works, and when we know why.
Practice, it is when everything works, and when we do not know why.

Here, both are combined: nothing works, and nobody knows why.
Albert Einstein

User avatar
TheMoustic
Registered User
Posts: 76
Joined: Sat Aug 25, 2007 1:32 pm
Location: France

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by TheMoustic » Sun Jan 20, 2008 8:13 pm

Up..
Theory, it is when nothing works, and when we know why.
Practice, it is when everything works, and when we do not know why.

Here, both are combined: nothing works, and nobody knows why.
Albert Einstein

SilentSniper
Registered User
Posts: 3
Joined: Mon Jan 21, 2008 6:21 am

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by SilentSniper » Mon Jan 21, 2008 6:33 am

Code: Select all

[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 317: opendir(./../cache/phpkg/dir/pkg_dwn_9c2a7200fa39037ce90680d67dedeb6c/) [function.opendir]: failed to open dir: No such file or directory
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 319: readdir(): supplied argument is not a valid Directory resource
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 329: opendir(./../cache/phpkg/dir/pkg_dwn_9c2a7200fa39037ce90680d67dedeb6c/) [function.opendir]: failed to open dir: No such file or directory
[phpBB Debug] PHP Notice: in file /pkg/bb3phpkg.php on line 330: readdir(): supplied argument is not a valid Directory resource
{ pL_KernelPanic }

No valid XML was found!

    * 00:17:12(3): [pkg] Install query: 5,6,5,4|1,1,0,1
    * 00:17:12(3): [sql] SQL QUERY:
      SELECT p.*,r.* FROM `phpbb_phpkg_packages` AS `p` LEFT JOIN `phpbb_phpkg_repos` AS `r` ON `p`.`pkg_repid` = `r`.`rep_id` WHERE `p`.`pkg_id` IN (5, 6, 5, 4)
    * 00:17:12(3): [pkg] Install: feature-postua (5)
    * 00:17:12(3): [ins] Looking for file ./../cache/phpkg/pkg/pkg_dwn_9c2a7200fa39037ce90680d67dedeb6c.tar.gz
    * 00:17:12(3): [xml] Searching for a XML file in ./../cache/phpkg/dir/pkg_dwn_9c2a7200fa39037ce90680d67dedeb6c/
I Uploaded all files from "root" folder to my public_html folder. (Because i have installed it on a sub-domain it went in the sub-domain folder.)

I went to http://sub.my-domain.ext/adm/index.php and Authenticated my self.
I then clicked "System".
I then clicked "Administration Control Panel" Under "Module Managment".
I scrolled down to "ACP_PHPGK" and added it.
I Enabled "ACP_PHPGK".
I then had a "ACP_PHPKG" link up the top next to "System" but i have not got the "ftp configuration" link under "Check For Updates" in "System".
I clicked "ACP_PHPGK" and updated the Repositories. I clicked "Packages" and tried to install one but i get the Message above.

Can anyone help me please.

*EDIT* = The ./../ only brings it back one folder from the pkg folder. In other words it brings it back to the phpbb3 root folder. Completely fine

User avatar
Renodil
Registered User
Posts: 668
Joined: Mon Nov 14, 2005 8:48 am
Contact:

Re: [BETA] phPKG - MOD installer with repositories & packages

Post by Renodil » Sun Jan 27, 2008 8:40 pm

I apologize in advance if this has already been answered.

I have the file, but there's no instructions on what to do save to upload the included files in the root directory. After doing this what the HECK am I supposed to do next?

Thank you.

Locked

Return to “[3.0.x] MODs in Development”