Category Archives: Third party appl.

magento_ecommerce

Change magento url

Some times there comes a situation when you need to change magento installation url.
Eg: change url from http://yourdomainname.com to http://www.domainname.com

 

Before you make any changes make sure you have backed up your database.

Following are the the easy steps to change it.

 

1)

Access phpmyadmin >> select database >> browse table core_config_data.

2)

Now look for field’s like web/unsecure/base_url and web/secure/base_url

Corresponding to this field you will either see {{base_url}} or your original url for magento.

Old:

New: Edit field under value and change url as per your requirement.

3)

Now you will need to clear cache for maganto. Magento stores cache under magento installation directory var/cache
you can rename var directory under magento.

4) Try accessing Magento with new URL now. It should work with no problem. 🙂

 


contact@webhostingsupport.info

Post to Twitter

wordpress temporary url

Most of the time we require a temporary URL to check if site is working properly before updating name server.

But suppose you are using  wordpress, then temporary url will not work as wordpress is by default meant to work on domain name.

If you are on cPanel server then temporary url will be http://ipaddress/~username.

Note: IP address will be your actual server IP address

For temporary url to work you will need to to make replace your domain name with temporary URL in database for wordpress.

Refer to following steps.

1) Login to cPanel >> PhpMyadmin >> select database for wordpress.

2) Select wp_option table.

3) After selecting wp_option table, you will see different fields from table. in this locate for Option_name locate for siteurl and home and change value for both of this fields to your temporary url. replace http://yourdomainname.com with temporary url as shown in below image.

Make changes and select GO button at the bottom. That’s all


contact@webhostingsupport.info

Post to Twitter

JAuthentication::_construct: Could not load authentication libraries

Error accessing Joomla Administrators area:

JAuthentication::__construct: Could not load authentication libraries

Fix:

Open PhpMyAdmin >> select database >> select table jos_plugins >> under it select pencil box for Authentication – Joomla >> for published fileld change value to 1 from 0 >> save the settings by selecting go.

Now try to login administraror section it should work. [superemotions file=”icon_razz.gif” title=”Razzberry”]


contact@webhostingsupport.info

Post to Twitter

Parse error: syntax error, unexpected ‘(‘, expecting ‘)’

On accessing Drupal site I use to get following error:

Parse error: syntax error, unexpected ‘(‘, expecting ‘)’

Above error is mainly because of Drupal modules compatibility issue with php4.
In this case if you are on php4 server then you will need to run your application on php5 server.

If you are on php5 server and still you get the Parse error then in this case the fixed that worked for me was adding Handler to to the installation directory of Drupal.

To add handler create .htaccess file under installation directory and add following.

AddHandler application/x-httpd-php5 .php


contact@webhostingsupport.info

Post to Twitter

1xCa

wordpress Permalink not working

WordPress Permalink not working enenn through you enabled it from wordpress admin section >> Settings >> Permalinks.

On investigating for a long time I found that wordpress requires a rewrite  rules to be enabled in .htaccess file for Permalinks to work correctly.

Create .htaccess file in the installation directory of wordpress and add following rewrite rules.

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

Save exit file and now Permalinks should work fine.

 


contact@webhostingsupport.info

Post to Twitter