osCommerce - Your Shopping Cart is empty!
Posted by admin in osCommerce, tips
I installed Ultimate SEO contribution to my osCommerce shop. Then i noticed, if I click on ‘Buy now’ button from product listing page, I get ‘Your Shopping Cart is empty!’ page. That’s not good for business right, so I had to fix the problem. So to do that, open /includes/modelus/product_listing.php and find code:
$lc_text = ‘<a href=”‘ . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array(’action’)) . ‘action=buy_now&products_id=’ . $listing[’products_id’]) . ‘”>’ . tep_image_button(’button_buy_now.gif’, IMAGE_BUTTON_BUY_NOW) . ‘</a> ‘;
and repleace it with:
$lc_text = ‘<a href=”‘ . tep_href_link(basename($PHP_SELF), ‘action=buy_now&products_id=’ . $listing[’products_id’]) . ‘”>’ . tep_image_button(’button_buy_now.gif’) . ‘</a> ‘;
osCommerce: 1046 - No Database Selected
Posted by admin in osCommerce, tips
Here is a solution to error:
1046 - No Database Selected
select configuration_key as cfgKey, configuration_value as cfgValue from configuration
[TEP STOP]
Open file /catalog/includes/confugure.php and check if your database properties (DataBase Name, UserName and PassWord) are correct.
define(’DB_SERVER’, ‘localhost’); // in most cases you don’t have to change this
define(’DB_SERVER_USERNAME’, ‘database_username’);
define(’DB_SERVER_PASSWORD’, ‘database_password’);
define(’DB_DATABASE’, ‘database_name’);
Make the same check in file /catalog/admin/includes/confugure.php for admin area to work.
How to block spam through comments?
Posted by admin in tips, wordpress
Publishing posts on your blog and signig them on diferent webpages so people can find you and your blog usually causes that spamers finds you as well. There is a simple way to prevent those annoying spams: reCaptcha plugin.
Set it up:
- Download the plugin: reCaptcha Wordpress plugin
- Unzip and upload the folder to your plugin folder (usually: /wp-content/plugins/).
- Activate the plugin.
- reCAPTCHA requires an API key, consisting of a ‘public’ and a ‘private’ key.
You can sign up for a free reCAPTCHA key. - Go to ‘Options -> reCaptcha’ and enter ‘public’ and a ‘private’ key.
Plugin’s homepage.
Joomla! 1.5 Stable is out
Posted by admin in joomla
Joomla! community announced to the world that Joomla! 1.5 Stable is now awailable.
Take a look at Joomla! 1.5 Overview.
Download Joomla1.5.0.
Need some help with installing Joomla? Here is Joomla Installation Manual.


