Apache HTTP server has stopped working when install Magento

Today I am up to the configuration stage in the Installation of Magento on my own localhost server but when I press continue Iget a message from windows saying ‘apache http server has stopped working, close program’ .

I am install Magento under Xampp 1.7 for windows platform, and I use Vista Home Basic System. Read the rest of this entry »

Add one adsens ads except homepage.

It is very simple, copy the following code, and change YOU ADSENSE ADS CODE HERE. to your ads code. done!

 <div class=”storycontent”>

<?php if (($wp_query->current_post == 0)and (!is_home())) : ?>
<div style=”float:right”><br>
YOU ADSENSE ADS CODE HERE.
</div>
<?php endif; $postcnt++; ?>
  <?php the_content(__(’(more KINGPHP details…)’)); ?>
 </div>

Chinese can buy Hostgator Web Hosting Via Paypal Now!

For a long time, hostgator(www.hostgator.com) does not allowed China IP customers to pay via paypal for the first time when they buy hostgator web hosting, they have to pay via Check or TT in advance.

Today I bought one hosting for my customer,  I did not receive the email asking me to pay via West Union or send a check to hostgator. So I tried to pay via paypal, successful!

I am still a little afraid that hostgator will close my account, so I called hostgator to make confirm! They told me my friend’s account is OK!

Hostgator Web Site: www.hostgator.com

Wordpress Posts not indexing on Google

We are adding regular content everyday but for the past few weeks Google don’t seem to index the new posts at all.

Usually they were indexing within a few minutes.  At first I think their must be something wrong with my web hosting or SSL, so I changed the hosting from hostgator to dreamhost, same problem.  I search wordpress.org forum, and found that we have to set the folloing for our new wordpress now.

Log into WP and under Settings -> Privacy, make sure your WP isn’t blocking search engines.

At the same time,  check for a robots.txt file that is blocking bots,  get a Google account and use the Google Webmaster Tools to run a diagnostic on our site, and we will know what to do.

How to hide x-cart v.3 home.php?

If you want home.php jump to your x-cart main domain name, add the following code in you .htaccess document under
RewriteBase / ,

RewriteCond %{SERVER_PORT} !^443$
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*home.php\ HTTP/

How to change Vbulletin forum mysql db prefix?

Follow the following procedure:
- Backup your database and verify it is a complete backup
- Close your board
- goto: http://www.myboard.com/install/tableprefix.php
- Follow the instructions
- When finished, edit your ./includes/config.php with the new prefix.
- Reopen board

Note: Do not alter the tableprefix value in config.php until this script has completed and you are given a message telling you to edit the value.

How to chang Vbulleting Domain Name?

Sometimes we want to change vbulleting forum domain name, here are some tips on how to do:

1. Before you change your old domain name to your new domain name, login into you cpanel, go to vBulletin Options, Choose Site Name / URL / Contact Details, and change your Forum URL to your new forum url, that is to say, your new domains.

2. Copy all file under your old web host to your new web host.

 3. Back up your old database and import to your new forum database. Read the rest of this entry »

Add adsense code after wordpress tag cloud

If we add <!–more–>, the content after will now show at homepage, and other categories. When visit the detailed post, the content after  <!–more–> will show.

 Now  I will teach you how to add adsense code within the function, that is to say, when we visit the detailed post, the adsense ads will show also, at other pages, it will not show.

 Go to wp-includes, open page-templates.php, search <span id=”more, and click the second results, at line 223, add your code within <span id=”more-’ . $id . ‘”>Put your code here></span>

 Save and upload the page to your host.

Demo: www.wordpublish.com ,this site is on cartridges, and digital cameras.

How do I show hidden files?

To enable file display from the server, create a .ftpaccess file with the line:
ListOptions “-a”

We often want to delete files in dreamhost, if the document contains .htaccess, we can not delete the document. Now we can use this method and delete all very easily.

If the above method does not function, you can try the following to displaying .htaccess with CuteFTP

To view hidden files on your remote host, follow these steps: Read the rest of this entry »

You don’t have permission to access the requested object of xampp

I am using Vista. I can not open:
http://localhost/security/lang.php?en

Access forbidden!
You don’t have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.

It took me about 30 minutes and found this way to resolve the issure:

opened the file …\\\xampp\apache\conf\extra\httpd-xampp.conf

useing editplub open it and went to the line


Order deny,allow
Deny from all
Allow from localhost

changed this to

Deny From none
Allow from All

and saved the file , then i restarted xampp through Xampp control panel Application
stop and start function
and it worked and opened the security page very well
I then entered my passwords for all channels and when finished i went to the mentioned file and returned every thing as it was…