3.3. Manual Installation
Prev | 3. Installation | Next

mambo-phpShop

### 3.3. Manual Installation

Manual Installation is a little bit harder than the automatic installation. It will need some file copying and running SQL queries. For running SQL queries you'll need an database management application like phpmyadmin ( http://www.phpmyadmin.net ), also available as a Mambo Component ( http://mamboforge.net/projects/mosphpmyadmin/ ).

1. Unpack com_phpShop_x.x.tar.gz to a local directory.

2. Unpack `frontend_files.tar.gz`.

3. Go to your webserver's `/mambo/components` directory and create a directory named `com_phpshop`.

4. Upload the files within:

   `phpshop.php`
   `phpshop_parser.php`

   `show_image_in_imgtag.php`

   `/shop_image/<everything>*`

   `/js/<everything>*`

   to the newly created directory `/mambo/components/com_phpshop`

5. Find the file phpshop.cfg-dist.php and rename it to phpshop.cfg.php .

6. Go to your webserver's `/mambo/administrator/components` directory and create a directory named `com_phpshop`.

7. Unpack `admin_files.tar.gz`.

8. Upload the files, you unpacked in the previous step

   AND

   ALL FILES THAT ARE IN THE ROOT OF THE ARCHIVE `com_phpshop_x.x.tar.gz` to:

   `/mambo/administrator/components/com_phpshop`.

9. Now open phpmyadmin (or some tool to manipulate your database) and select the Database for the Mambo site you're installing mambo-phpShop for. In that selected database look for a table called "mos_components" in the right frame. Click on that table. Now you see the structure of that table. Click on "Browse" and you'll see all rows in that table.

   Table Structure in phpMyAdmin

   mos_component Entries

   Click the Insert new row link in the bottom of the screen and insert the following values :

   id

     Leave it blank - the system will figure out the ID

   name

     mambo-phpShop

   link

     option=com_phpshop

   menuid

     0

   parent

     0

   admin_menu_link

     option=com_phpshop

   admin_menu_alt

     Manage phpShop

   option

     Leave blank (nothing!)

   ordering

     0

   admin_menu_img

     js/ThemeOffice/component.png

   iscore

     0

   params

     Leave blank (nothing!)

   Once you have entered the values make sure that the radiobutton in save is tagged and click Go.

   Now it's time to go to the mambo backend and select Components => mambo-phpshop in Mambo's dropdown menu. After selecting phpshop you should be prompted to either go directly to the shop or to install demo-data. Choose whatever suits you and you're flying...

   If you're presented the Welcome Screen again, delete the file `mambo/administrator/components/com_phpshop/install.php` and it should work.

10. To install the Modules and Mambots for mambo-phpShop, follow the instructions of the Automatic Installation, Steps 6 and 7. If this doesn't help you, because NO automatic installations are possible, you can manually upload the files.

    Modules must be uploaded/copied into `mambo/modules/` .

    The Search Mambot must be uploaded/copied into `mambo/mambots/search/` .

    The Mambot 'mosproductsnap' must be uploaded/copied into `mambo/mambots/content/` .

Now you should have installed mambo-phpShop correctly.

mambo-phpShop

Prev | Up | Next
3.2. Automatic Installation | Home | 3.4. Installation FAQ