Shop Mod
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

Shop Mod
Ik heb
/shop_install.php
* /shop.php
* /shop_bs.php
* /shop_effects.php
* /shop_actions.php
* /shop_inventory.php
gezet in de map shop . in de map shop een map aangemaakt met images.
Dan ff de admin file in de admin map gedaan
zo ook bij de templates in de templats files gedaan
als ik nu naar forum/shop/shop_install.php ga krijg ik
Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 34
Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 34
Warning: main(./common.): failed to open stream: No such file or directory in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 35
Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 35
Fatal error: Call to undefined function: session_pagestart() in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 40
/shop_install.php
* /shop.php
* /shop_bs.php
* /shop_effects.php
* /shop_actions.php
* /shop_inventory.php
gezet in de map shop . in de map shop een map aangemaakt met images.
Dan ff de admin file in de admin map gedaan
zo ook bij de templates in de templats files gedaan
als ik nu naar forum/shop/shop_install.php ga krijg ik
Warning: main(./extension.inc): failed to open stream: No such file or directory in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 34
Warning: main(): Failed opening './extension.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 34
Warning: main(./common.): failed to open stream: No such file or directory in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 35
Warning: main(): Failed opening './common.' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 35
Fatal error: Call to undefined function: session_pagestart() in /home/projects/mijndomein/default/habpix.nl/www/forum/shop/shop_install.php on line 40
Code: Selecteer alles
Running :: create table `phpbb_shopitems` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `name` CHAR (32) NOT NULL, `shop` CHAR (32) NOT NULL, `sdesc` CHAR (80) NOT NULL, `ldesc` TEXT NOT NULL, `cost` INT (20) UNSIGNED DEFAULT '100', `stock` TINYINT (3) UNSIGNED DEFAULT '10', `maxstock` TINYINT (3) UNSIGNED DEFAULT '100', `sold` INT (5) UNSIGNED NOT NULL DEFAULT '0', `accessforum` INT (4) DEFAULT '0', PRIMARY KEY(`id`), INDEX(`name`)) -> FAILED ---> Table 'phpbb_shopitems' already exists
Running :: create table `phpbb_shops` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `shopname` CHAR (32) NOT NULL, `shoptype` CHAR (32) NOT NULL, PRIMARY KEY(`id`), `type` char (32) NOT NULL, `restocktime` INT (20) UNSIGNED DEFAULT '86400', `restockedtime` INT (20) UNSIGNED DEFAULT '0', `restockamount` INT (4) UNSIGNED DEFAULT '5', `amountearnt` INT (20) UNSIGNED DEFAULT '0', INDEX(`shopname`)) -> FAILED ---> Table 'phpbb_shops' already exists
Running :: insert into phpbb_config (config_name, config_value) values ('multibuys', 'on') -> FAILED ---> Duplicate entry 'multibuys' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('restocks', 'off') -> FAILED ---> Duplicate entry 'restocks' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('sellrate', '75') -> FAILED ---> Duplicate entry 'sellrate' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('viewtopic', 'images') -> FAILED ---> Duplicate entry 'viewtopic' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('viewprofile', 'images') -> FAILED ---> Duplicate entry 'viewprofile' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('viewinventory', 'grouped') -> FAILED ---> Duplicate entry 'viewinventory' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('specialshop', 'ßstoreÞdisabledßnameÞEffects StoreßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1ßoffÞ1') -> FAILED ---> Duplicate entry 'specialshop' for key 1
Running :: insert into phpbb_config (config_name, config_value) values ('viewtopiclimit', '5') -> FAILED ---> Duplicate entry 'viewtopiclimit' for key 1
Running :: insert into phpbb_config (config_name, config_value) values('shop_orderby', 'name') -> FAILED ---> Duplicate entry 'shop_orderby' for key 1
Running :: insert into phpbb_config (config_name, config_value) values('shop_give', 'on') -> FAILED ---> Duplicate entry 'shop_give' for key 1
Running :: insert into phpbb_config (config_name, config_value) values('shop_trade', 'on') -> FAILED ---> Duplicate entry 'shop_trade' for key 1
Running :: insert into phpbb_config (config_name, config_value) values('shop_invlimit', '0') -> FAILED ---> Duplicate entry 'shop_invlimit' for key 1
Running :: alter table phpbb_users add `user_effects` CHAR (255) -> FAILED ---> Duplicate column name 'user_effects'
Running :: alter table phpbb_users add `user_privs` CHAR (255) -> FAILED ---> Duplicate column name 'user_privs'
Running :: alter table phpbb_users add `user_custitle` TEXT -> FAILED ---> Duplicate column name 'user_custitle'
Running :: alter table phpbb_users add `user_specmsg` TEXT -> FAILED ---> Duplicate column name 'user_specmsg'
Running :: alter table phpbb_users add `user_items` TEXT -> FAILED ---> Duplicate column name 'user_items'
Running :: alter table phpbb_users add `user_trade` TEXT -> FAILED ---> Duplicate column name 'user_trade'
Finished!
Some of the querys have failed, contact me so I can fix the errors.
Stop nu eens met dubbelposten, daar heeft men de "Edit" knop voor uitgevonden!
Je moet ook niet álle .tpl bestanden in de /templates/.../admin/ map plaatsen maar alleen de bestanden die de cash mod gebruikt voor de admin. De rest van de .tpl bestanden van de cash mod moeten gewoon in /templates/.../ !
Dit staat waarschijnlijk ook wel in het installatie bestandje van de MOD zelf.
Je moet ook niet álle .tpl bestanden in de /templates/.../admin/ map plaatsen maar alleen de bestanden die de cash mod gebruikt voor de admin. De rest van de .tpl bestanden van de cash mod moeten gewoon in /templates/.../ !
Dit staat waarschijnlijk ook wel in het installatie bestandje van de MOD zelf.
* Installation
*
* 1. Create folder shop
*
* 2. Upload files
* /shop_install.php
* /shop.php
* /shop_bs.php
* /shop_effects.php
* /shop_actions.php
* /shop_inventory.php
* /admin/admin_shop.php
* /templates/*/shop_body.tpl
* /templates/*/shop_inventory_body.tpl
* /templates/*/admin/shop_config_body.tpl
* /shop_install.php
* /shop/images/icon_store_rpg.gif
*
* 2. Run shop_install.php then delete it.
*
* 3. Execute Steps Below
*
* 4. Read the FAQ!
*
* 1. Create folder shop
*
* 2. Upload files
* /shop_install.php
* /shop.php
* /shop_bs.php
* /shop_effects.php
* /shop_actions.php
* /shop_inventory.php
* /admin/admin_shop.php
* /templates/*/shop_body.tpl
* /templates/*/shop_inventory_body.tpl
* /templates/*/admin/shop_config_body.tpl
* /shop_install.php
* /shop/images/icon_store_rpg.gif
*
* 2. Run shop_install.php then delete it.
*
* 3. Execute Steps Below
*
* 4. Read the FAQ!