wp-includes\taxonomy.php on line 1518

I am using XAMPP, and wordpress 3.0.4, today when I want to show all post, the following error message shows:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 32768 bytes) in D:\xampp\htdocs\wp\specsexpert\wp-includes\taxonomy.php on line 1518 (more…)

Posted in Apache, WordPress. Comments Off on wp-includes\taxonomy.php on line 1518 »

Old domain to new domain – different accounts

We can use the following code, and paste them in .htacess file:

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^old-domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.old-domain.com$
RewriteRule (.*)$ http://www.new-domain.com/$1 [R=301,L] (more…)

Posted in Apache. Comments Off on Old domain to new domain – different accounts »

How to let non-www redirect to www domain?

Today I installed DEDECMS, a very popular PHP CMS open source system, I found I can not let non-www redirect to www domain. Say my domain is glassespeope.com, then I can not let http://glassespeople.com redirects to http://www.glassespeople.com. I tried to google, and found the following code can resovle the problems:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^glassespeople.com
RewriteRule (.*) http://www.glassespeople.com/$1 [R=301,L]

Save the above code in a .htaccess file, and upload this .htaccess to your web hosting root. Everything is OK!

Posted in Apache. Comments Off on How to let non-www redirect to www domain? »

Problem with cURL and PHP Output Buffering while installing zen cart

When we install zen cart under XAMPP, we often meet two issues:

ATTENTION: Problems Found CURL not compiled into PHP – notify server administrator more info…
CURL not compiled into PHP – notify server administrator more info…
CURL not compiled into PHP – notify server administrator more info…
CURL not compiled into PHP – notify server administrator more info… (more…)

Posted in Apache, Zen Cart. Comments Off on Problem with cURL and PHP Output Buffering while installing zen cart »

Easy way do delete files from cpanel

Sometimes we need to empty all files under a web hosting, how to do then?

 Very simple, just login your cpanel, click “File Manager” and choose “public_html”, del  “public_html” and rebuild a new one. That’s it! Very easy, right!

 Somebody may ask how to del part of the files, also very easy. Go to  “public_html”, and choose the files you want to delete, and del them.  Simple?

Posted in Apache, Web Hosting. Comments Off on Easy way do delete files from cpanel »

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. (more…)

Posted in Apache, Magento. Comments Off on Apache HTTP server has stopped working when install Magento »

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: (more…)

Posted in Apache, Web Hosting. Comments Off on How do I show hidden files? »

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…

Posted in Apache. Comments Off on You don’t have permission to access the requested object of xampp »

lunarpage not support widlcard, how to install wpmu?

my site is on lunarpages,park *.kingphp.com to /wpmu is not work.
but I have already achieve this features by adding these in .htaccess :

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{HTTP_HOST} ^(.*\.)?kingphp.com$

RewriteCond %{REQUEST_URI} !^/blogmu/

RewriteRule ^(.*)$ /blogmu/$1

Posted in Apache. Comments Off on lunarpage not support widlcard, how to install wpmu? »

Ban users from your website using the .htaccess file

User IP Ban

Valid entries:
IP-addresses should have this format:
xxx.xxx.xxx.xxx

where “xxx” is a number between 0 and 255. In the .htaccess files you can specify a certain IP from your site, but you can also block full ranges.
Examples:
42.13.6.32
Block the specific IP address

212.172.49.
Blocks all IP’s from the range:

212.172.49.xxx
69.241.
Blocks all IP’s from the range:

69.241.xxx.xxx
81.143.4
Blocks all IP’s from the range:

81.143.4xx.xxx.xxx
To actually set the User IP Ban, put this code in your .htaccess file of your server (or create one of your own):

## USER IP BANNING

order allow,deny
#deny from 218.3.89.115
# deny from 222.184.47 dis allow ip from 222.184.47.0 to 222.184.47.255
allow from all

Posted in Apache. Comments Off on Ban users from your website using the .htaccess file »
12
King Php Science Welcome, you are from: 23.20.157.174