I bougth the "Kids Planet" here: http://themeforest.net/item/kids-planet ... all&page=2
and Installed all as said but I have a problem, whenever I change the template from default to kids I get a:
Code: Select all
Access denied for user 'root'@'localhost' (using password: NO)
This is the OpenCart error log:
Code: Select all
2014-06-14 13:23:04 - PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Access denied for user 'root'@'localhost' (using password: NO) in /public_html/baul/catalog/view/theme/kids/template/module/slideshow.tpl on line 3
2014-06-14 13:23:04 - PHP Warning: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in /public_html/baul/catalog/view/theme/kids/template/module/slideshow.tpl on line 3
Code: Select all
?php
$sql = "SELECT * FROM " . DB_PREFIX . "theme_settings";
$rez = mysql_query($sql) or die(mysql_error());
while ($row = mysql_fetch_array($rez)) {
$home_layout = $row['home_layout'];
}
Regards