Upgrading 1-2-All
May 7, 2010 by Ayo Akinyemi · 1 Comment
To update 12all,
copy the 12all folder into the root
1.
rename /12all/admin/default.authentication_db.inc.php to /12all/admin/authentication_db.inc.php
copy this code into the file:
< ? PHP
define("ACP_AUTHDB_SERVER", "localhost");
define("ACP_AUTHDB_USER", "username");
define("ACP_AUTHDB_PASS", "user_password");
define("ACP_AUTHDB_DB", "databasename");
?>
2.
rename /12all/admin/default. engine.inc.php to /12all/admin/engine.inc.php
copy this code into the file:
< ? php
define('ACP_DB_HOST', 'localhost');
define('ACP_DB_USER', 'username');
define('ACP_DB_PASS', 'user_password');
define('ACP_DB_NAME', 'databasename');
$GLOBALS["db_link"] = mysql_connect(ACP_DB_HOST, ACP_DB_USER, ACP_DB_PASS, true);
$db_linkdb = mysql_select_db(ACP_DB_NAME, $GLOBALS["db_link"]);
?>
3.
Change the permissions for these folders so that they have full write access (CHMOD 777 on linux)
/12all/cache to 777
/12all/cache/public to 777
/2all/cache/admin
/12all/images
/12all/images/admin
4. run /12all/admin/updater.php

to change your header image,
rename this with your image:
/12all/admin/images/logo.gif