on i4PACE(i for Personal Archiving and Creating Environment)
actions » SearchLogin 89 articles • 30 Jul 2010

Article with comments

Sunday, 20 Dec 2009

permalink cmscart

found cmscart (http://www.cmscart.org).

following install.txt, at the terminal, installed mysql

> sudo apt-get install mysql-server

specifying a password for root on the way.

unzip the downloaded file. moved the file at /var/www.

> sudo chown -R www-data:www-data /var/www/cmscart104

>mysql -u root -p
mysql>create database cmscart;
mysql> use cmscart;

mysql> source /var/www/cmscart104/cmscart/sql/mysql/cmscart.sql; Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)admin/admintemplates.php?SiteName=mars

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

mysql>\q

edit config.php

$dbuser = "root"; 
$dbpass = "********";  > 
> 
> 
> (read on...)

edit /etc/apache2/sites-available/default add

AddType application/x-httpd-php .php
		DirectoryIndex index.php

save it as cmscart

> sudo a2ensite cmscart
> sudo /etc/init.d/apache2 restart

access on browser http://localhost/admin/adminsites.php ugrrrrr... doesn't work :-#

edited admin/includes/Zip.php

//Excluded due to minimal code need
  // require_once 'PEAR.php';

  //Creates OS Constants

     if (substr(PHP_OS, 0, 3) == 'WIN') {
       //define('OS_WINDOWS', true);
       //define('OS_UNIX',    false);
       //define('PEAR_OS',    'Windows');
       OS_WINDOWS=true;
       OS_UNIX=false;
       PEAR_OS='Windows';
   } else {
       //define('OS_WINDOWS', false);
       //define('OS_UNIX',    true);
       //define('PEAR_OS',    'Unix'); // blatant assumption
	OS_WINDOWS=falst;
       OS_UNIX=true;
       PEAR_OS='Unix';

needed

> sudo apt-get install php5-mysql

too many places to admust. giving up.

• Wrote Teru at 10:07 | read 30× | Add comment

Comments (1)

yes, as usual the Bootcamp , <a href="http://www.deals.com/deal_129846_buy-cialis-online-buy-cheap-cialis-cheap-cialis-online.aspx">buy cialis online</a>, buy cialis online, http://www.deals.com/deal_129846_buy-cialis-online-buy-cheap-cialis-cheap-cialis-online.aspx buy cialis online, 8-DD,

• wrote asthma drugs (ip) on 22 Jul 2010, 06:36  permalink


Write a comment

Your name  
E-mail   (only visible for blog owner)
Homepage
How much is 9+1?   (protection against spam-bots)
Text:

[b] [i] [u] [tt] [center] [code] [quote] [url] [url=] [img] [@] [@@] [@:]
detailed help about markup
Process times: page=0.022 request=0.037 cpu=0.040