[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!
Scam Warning
User avatar
Dabroz
Registered User
Posts: 56
Joined: Sat Dec 20, 2003 3:18 pm
Location: Poland
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Tue Aug 28, 2007 12:30 pm

You are right, you should not use it on a live board. But beta purpose it to have it tested on as many configurations as it is possible to have Gold version fully compatible. :) So I encourage anyone interested to install it on his local test board and give me some feedback.

I would be happy to have this translated, although not until some RC version, because language entries are still being changed.
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.

tucsondrivers
Registered User
Posts: 161
Joined: Sat Mar 10, 2007 7:57 pm
Location: toronto, ontario
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by tucsondrivers » Thu Aug 30, 2007 11:37 pm

I have a silly question -- but I can't figure it out for the life of me! This is an awesome mod that I've been looking for, finally found, and now unfortunately am unable to finish installing!

The installation only called for me to copy all of the included files into the appropriate folders, yet what will get the phPKG into the ACP? Thanks in advance :oops:
http://tucsondrivers.com -- Hyundai Tucson Forum & Community

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

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Aug 31, 2007 12:04 am

You have to add phPKG module. Go to ACP :arrow: “SYSTEM” tab :arrow: Module management :arrow: Administration Control Panel. Then add phPKG (ACP_PHPKG) to desired page (I think that it best fits into SYSTEM/AUTOMATION). Then you will have to enable it (by clicking “Enable” ;) ). It's all.
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.

User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by playerfr » Fri Aug 31, 2007 12:06 am

Any Mod with ModX XML file will be able to be installed automaticaly with this Mod ?
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com

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

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Aug 31, 2007 12:08 am

Yes. In upcoming version (dev3) there is option to install MODs not only from repository, but also from local FTP storage or even uploaded within ACP (as TGZ or ZIP package). :)
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.

User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by playerfr » Fri Aug 31, 2007 12:13 am

and when are you planning to release that :P as it seem good :D.

Like this I can restart all my installation as I think withh all those Update from RC2 to RC3 adn RC3 to RC4 and RC4 to RC5 have i think messed up thing and i never trust these updates lolzzz so I prefer to do a clean installation but i have so many mod's already installed that I dotn feel courage to re do all again. But Thanks to your Mod I will be able to do it automatically :D
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com

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

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Aug 31, 2007 12:17 am

Within few days, I guess...
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.

tucsondrivers
Registered User
Posts: 161
Joined: Sat Mar 10, 2007 7:57 pm
Location: toronto, ontario
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by tucsondrivers » Fri Aug 31, 2007 12:29 am

Thanks for the help! Although it turns out GoDaddy (I suppose) does not support php5. I added the line in .htaccess (it can go anywhere right? I put it at the end)

EDIT: By 'the line' i mean what was said in an earlier post:

Code: Select all

AddHandler application/x-httpd-php5 php

I get this error message after clicking it in the ACP:

Code: Select all

SQL ERROR [ mysql4 ]

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate utf8_bin NOT NULL, `pkg_version` varchar(255) collate [1064]

SQL

CREATE TABLE IF NOT EXISTS `phpbb3_phpkg_packages` ( `pkg_id` int(11) unsigned NOT NULL auto_increment, `pkg_name` varchar(255) collate utf8_bin NOT NULL, `pkg_version` varchar(255) collate utf8_bin NOT NULL, `pkg_lang` varchar(16) collate utf8_bin default NULL, `pkg_installversion` varchar(255) collate utf8_bin default NULL, `pkg_repid` int(11) NOT NULL, `pkg_reppkgid` int(11) NOT NULL, `pkg_time` int(32) NOT NULL, `pkg_maintainer` varchar(255) collate utf8_bin NOT NULL, `pkg_requires` text collate utf8_bin, `pkg_recommends` text collate utf8_bin, `pkg_provides` text collate utf8_bin, `pkg_conflicts` text collate utf8_bin, `pkg_suggests` text collate utf8_bin, `pkg_author` varchar(255) collate utf8_bin NOT NULL, `pkg_homeurl` varchar(255) collate utf8_bin default NULL, `pkg_shortdesc` varchar(255) collate utf8_bin NOT NULL, `pkg_longdesc` text collate utf8_bin, `pkg_filesadd` text collate utf8_bin, `pkg_filesedit` text collate utf8_bin, `pkg_autoinstall` int(4) NOT NULL, `pkg_filesize` int(32) NOT NULL, PRIMARY KEY (`pkg_id`) ) DEFAULT CHARSET=utf8 COLLATE=utf8_bin

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()

FILE: includes/acp/acp_phpkg.php
LINE: 713
CALL: dbal_mysql->sql_query()

FILE: includes/acp/acp_phpkg.php
LINE: 48
CALL: acp_phpkg->install()

FILE: includes/functions_module.php
LINE: 463
CALL: acp_phpkg->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Does anyone know of anything I can do? Or am I SOL :shock:

Thanks again for the support, this mod sounds awesome.
http://tucsondrivers.com -- Hyundai Tucson Forum & Community

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

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Aug 31, 2007 9:02 am

It is a SQL compatibility issue. I am working on fix right now. :)
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.

User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by playerfr » Fri Aug 31, 2007 10:01 am

If you need a tester for Beta 3. I am your man :P PM me :mrgreen:
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com

tucsondrivers
Registered User
Posts: 161
Joined: Sat Mar 10, 2007 7:57 pm
Location: toronto, ontario
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by tucsondrivers » Fri Aug 31, 2007 12:04 pm

Dabroz wrote:It is a SQL compatibility issue. I am working on fix right now. :)
wonderful! thank you :D
http://tucsondrivers.com -- Hyundai Tucson Forum & Community

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

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Aug 31, 2007 12:24 pm

I've just released dev3 version. It fixes SQL issue (I hope - please test it) and introduces new feature: installation of any uploaded MOD file. There is number of hacks to install uploaded MODs, but it will fail if installation instruction is wrong. In such case, you have to fix .xml file by hand, or tell the MOD author about those bugs. You should encourage MOD authors to test their MODs using this tool. :) Try it out, I hope it's OK.

Links are in first post.
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.

tucsondrivers
Registered User
Posts: 161
Joined: Sat Mar 10, 2007 7:57 pm
Location: toronto, ontario
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by tucsondrivers » Fri Aug 31, 2007 1:26 pm

Thanks for the release! I just re-installed with dev3 and am getting this error when i click on the phpPKG link in the system->acp:

Code: Select all

Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [my websites directory]/pkg/bb3phpkg.php on line 27
I did purge all cache and re-tried, but no such luck.

I also realized I am only on phpBB RC3 so I will update that and edit this post if this was the cause of my problem -- just giving you a heads up though :)
http://tucsondrivers.com -- Hyundai Tucson Forum & Community

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

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by Dabroz » Fri Aug 31, 2007 1:30 pm

It means that you are using PHP4. Try with second .htaccess entry (AddType) or switch something in your DirectAdmin or whatever are you using. ;)

Those are another entries that I've found in google. Maybe one of them will work?

Code: Select all

AddHandler x-httpd-php5 .php
or even

Code: Select all

AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4
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.

tucsondrivers
Registered User
Posts: 161
Joined: Sat Mar 10, 2007 7:57 pm
Location: toronto, ontario
Contact:

Re: [BETA] phPKG - auto-installer, repositories, packages

Post by tucsondrivers » Fri Aug 31, 2007 1:42 pm

Dabroz you rock!

I also found that google page upon searching and when I came back here you had it said and done, very good! :D

That fixed my problem with goDaddy, it now appears to be working and I will find some mods to test out! :mrgreen:

thanks again!
http://tucsondrivers.com -- Hyundai Tucson Forum & Community

Locked

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