Entries by admin

X-cart Database Backup/Restore HTTP 500 Error

X-cart Database Backup/Restore HTTP 500 Error If you are getting Database Backup/Restore HTTP 500 Error then check your error logs – /var/log If you will see following entry [06-Mar-2013 02:52:09 America/Denver] PHP Fatal error: Call to undefined function func_xpc_check_iframe_methods() in /var/www/vhosts/yoursitefoldername/httpdocs/modules/XPayments_Connector/config.php on line 57 then you can try to activate the x-payment module without configuring […]

Show more than 5 “New Products” to the home page in magento

Show more than 5 “New Products” to the home page in magento We have two methods for doing this. The first one is below Go to CMS –> Pages –> Home page in admin section and click Design section and then upadte Layout XML code with below <block type=”catalog/product_new” name=”home.catalog.product.new” alias=”product_new” template=”catalog/product/new.phtml” after=”cms_page”> <action method=”addPriceBlockType”> […]

Setting page titles and meta tags in cakephp 2.0

Today I needed to have page titles and meta tags correctly setup for each page in a website i had often used methods like placing variables and setting them to the template in the app controller in a beforeFilter. Then if i needed a different meta tag on another page like contact for example i […]

Login issue with admin, user and unable to register in oscommerce

Login issue with admin, user and unable to register in oscommerce Recently we have an issue with oscommerce. We were developing an oscommerce site and everything was working fine in our test server. But when we moved to the production server provided by the client it stops working. The issue was we couldn’t login as […]

How to Increase PHP’s File Upload Limit Using php.ini

The file upload size limit 2M(Approx) is set by shared hosting providers. They have set it low because it save bandwidth, keep the server moving quickly. But customers really need a large upload limit? So we must increase the file upload size limit. We can do it by 4 way : 1- By adding below […]

Quick Setup Guide To Run CakePHP 2.0 On Windows 7

Quick Setup Guide to Run CakePHP 2.0 on Windows 7 Setting up CakePHP 2.0 on Windows 7 is simple and requires just a few steps. First, ensure you have a working Apache server with PHP 5.2.8 or higher installed—XAMPP or WAMP is recommended for ease of setup. Download CakePHP 2.0 from the official website and […]

WordPress issue : Could not create upgrade directory

Today I got strange issue while update wordpress site. This gave me error like this “Could not create upgrade directory”. Firstly I thought this was the issue of directory permission so I did set upgrade directory 777 mode but I was unsuccessful. Then tried to delete upgrade folder and created new one, for me that […]

Increase PHP’s File Upload Limit Using .htaccess file

Increase PHP’s File Upload Limit Using .htaccess file How do we increase upload file limit through .htaccess file. Here I am giving you quick trick. Create .htaccess file(If you have already .htaccess file on the server then no need to create it just update that file) using your favorite text editor like notepad++ and put […]

How to include JQuery on your WordPress theme

How to include JQuery on your WordPress theme WordPress comes with JQuery (It is used in the dashboard) so you don’t need to download a new copy of JQuery to your WordPress server. For accessing JQuery on WordPress site, you need to paste below code on your header.php file within theandtags:   When you will […]