Handmatige installatie

Afdrukken PDF
Geschreven door Ton op zondag 07 september 2008 16:13, in: Installatie

Dit artikel gaat over de handmatige installatie.

Het kan voorkomen dat de automatische installatie niet wil lukken of niet mogelijk is. Dit kan voorkomen in de volgende gevallen:

  • U wilt updaten vanVirtueMart 1.0.x naar VirtueMart 1.1.x
  • Safe mode aan staat op het webhosting account
  • Er problemen zijn met het uploaden van het component

In deze gevallen kunt u een handmatige installatie uitvoeren.

Als u het handmatige installatie pakket heeft gedownload kunt u deze lokaal uitpakken en ziet u de volgende mappen.

/administrator
/components
/modules
/plugins

Deze mappen komen overeen met de mappen van de Joomla installatie die in de root directory van je hosting account staat.

De eerste stap van de handmatige installatie is alle bestanden met een FTP programma uploaden naar de hosting omgeving.

Bij sommige webhosters is het mogelijk om het zip bestand te uploaden en deze op de server uit te pakken.

Afhankelijk van situatie kan het voorkomen dat er bestaande bestanden worden overschreven. Dit kunt u zonder problemen doen. Het configruatie bestand wordt hiermee niet overschreven en de eventuele configruatie instellingen blijven bewaard.

Na het uploaden van de bestanden zult u nog een paar handelingen moeten uitvoeren voordat u virtuemart daadwerkelijk kunt gebruiken.

Handmatige installatie component

Log vervolgens in op de backend van de website. De link in de webbrowser laat de volgende link zien:

http://www.mijnwebsite.nl/administrator/index.php

Pas deze link aan zodat deze er op de volgende manier komt uit te zien:

http://www.mijnwebsite.nl/administrator/index.php?option=com_virtuemart

en klik op enter. U krijgt nu het welkomst scherm van VirtueMart te zien. Hier kunt u de keus maken of u de shop wil installeren met of zonder voorbeeld data. Na de keuze zal het VirtueMart component geïnstalleerd worden, en komen de tabellen in de database te staan.

Handmatige installatie modules en plugins

De volgende stap van de handmatige installatie is het toevoegen van de modules en plugins aan de database.

Open met phpMyAdmin de database van de website en voeg onderstaande regels toe aan de database.

INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Module', '', 99, 'left', 0, '0000-00-00 00:00:00', 1, 'mod_virtuemart', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Login', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_login', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart TopTen Products', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_topten', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Product Scroller', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_productscroller', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Product Categories', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_product_categories', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart All-In-One', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_allinone', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Cart', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_cart', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Featured Products', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_featureprod', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Latest Products', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_latestprod', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Manufacturers', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_manufacturers', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Random Products', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_randomprod', 0, 0, 1, '', 0, 0);
INSERT IGNORE INTO `jos_modules` (`title`, `content`, `ordering`, `position`, `checked_out`, `checked_out_time`, `published`, `module`, `numnews`, `access`, `showtitle`, `params`, `iscore`, `client_id`) VALUES ( 'VirtueMart Search', '', 99, 'left', 0, '0000-00-00 00:00:00', 0, 'mod_virtuemart_search', 0, 0, 1, '', 0, 0);

INSERT IGNORE INTO `jos_plugins` (`name`, `element`, `folder`, `access`, `ordering`, `published`, `iscore`, `client_id`, `checked_out`, `checked_out_time`, `params`) VALUES ('VirtueMart Product Snapshot', 'vmproductsnapshots', 'content', 0, 0, 0, 0, 0, 0, '0000-00-00 00:00:00', '');
INSERT IGNORE INTO `jos_plugins` (`name`, `element`, `folder`, `access`, `ordering`, `published`, `iscore`, `client_id`, `checked_out`, `checked_out_time`, `params`) VALUES ('VirtueMart Product Search', 'vmxsearch.plugin', 'search', 0, 0, 0, 0, 0, 0, '0000-00-00 00:00:00', '');

Indien u niet de standaard prefix 'jos_' gebruikt voor uw database, dient u dit aan te passen in de bovenstaande regels alvorens het toe te passen!

Eventueel kunt u ook gebruik maken van het import bestand welke is toegevoegd aan de handmatige installatie bestanden. Dit import bestand heet virtuemart.installation.addons.joomla1.5.sql en is te vinden in de map

/administrator/components/com_virtuemart/sql

Nu is virtuemart volledig geinstalleerd en kunt u beginnen met het inrichten van de webshop.

Denk er wel aan om minimaal de module VirtueMart te publiceren. Deze is nodig om de producten op de website te laten zien.