Real Global Solutions

Where knowledge you can get ?

http://www.onebytes.com.my/banner/web-hosting-english-468x60-001.gif

SoftException in Application.cpp:252: File is writeable by group

without comments

If you’re getting this error then it is related to not having a file chmod’ed to 0755.
Simply change the permissions on the file to 755. You do not need the file or folder permissions to be 777.

Written by admin

June 19th, 2009 at 6:59 pm

Bug in Mailman version 2.1.11.cp3

without comments

How to fix this error in Mailing list
—————————————————–
Bug in Mailman version 2.1.11.cp3

We\’re sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of
traceback and other system information has been explicitly inhibited, but the
webmaster can find this information in the Mailman error logs.
============================================================

If you are the server administrator, proceed with the following steps:

1. Go to with SSH/Shell
cd /usr/local/cpanel/3rdparty/mailman

2. ls -al

3. chmod -R 2775 ./*

Check if this has fixed the issue.
If not run the fixmailman script.

4. /scripts/fixmailman

Done.. ;)

Written by admin

April 14th, 2009 at 7:23 pm

Error 500: Fatal error: Allowed memory size

without comments

Error 500: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13056 bytes) in /public/wp-admin/includes/image.php on line 147

You need to bump php memory up to 32M if you have many plugins or with php.ini

Written by admin

March 21st, 2009 at 10:26 am

How Moving site with full backup With SSH or Shell Access

without comments

How Moving site with full backup With SSH or Shell Access :-

Step 1: ( Old Hosting Provider )

Request from your hosting provider full backup

or

Go cpanel -> Backups -> Generate full backup

after finish move your full backup to public_html and change permission to 777

save your link example:

http://www.yourdomain.com/your-backup-files.tar.gz

Step 2: ( New Hosting Provider )

make sure you have Ssh/Shell Access if not reqiest from your hosting provider.

login to Ssh/Shell Access

fill up:

cd /home ( click enter )

wget http://www.yourdomain.com/your-backup-files.tar.gz ( click enter )

done.  After finish.. do step 3

Step 3:

login to your WHM ( Only Hosting Provider have access for WHM cPanel not Reseller Hosting or Clients )

Backup -> Restore a Full Backup/cpmove file

Enter the username for the account you wish to restore: ( your current username )

click “restore”

done,  good luck ;)

How Disable Anonymous FTP

without comments

Go WHM -> Service Configuration -> Click “FTP Server Configuration”

from

Allow Anonymous Logins “NO

Allowing anonymous FTP logins in generally considered to weaken the security of the server. Setting this option to “No” is recommended.

Allow Anonymous Uploads “NO

Allowing anonymous FTP uploads in generally considered to weaken the security of the server. Setting this option to “No” is recommended.

Written by admin

March 14th, 2009 at 8:38 pm

Operation Timed Out Error When Upgrading Wordpress

without comments

Wordpress 2.7 comes with a built-in automatic upgrade utilities, inside the control panel. Recently, Wordpress has just released version 2.7.1. I would like to upgrade it automatically, to save me the hassle of downloading, ftp-ing or installing it manually.
However, many times have I experienced “Operation Timed Out” followed by “Installation Failed” when doing so. Below are the error I’m talking about (or something similar):

Downloading update from http://wordpress.org/wordpress-2.7.1.zip

Download failed.: Operation timed out after 30000 milliseconds with 351500 bytes received

Installation Failed

Below is what I did to resolve the error:

1. Go to your Wordpress installation directory on your website.
2. Go to /wp-admin/includes/ folder.
3. Open/edit the file.php . Or you can download the file to your local computer for editing.
4. Look for the line;
$response = wp_remote_get($url, array(’timeout’ => 30));
and replace it with;
$response = wp_remote_get($url, array(’timeout’ => 120));

5. Save the file, or upload back the file. Be sure to backup the original file.
6. Try the “Automatic Upgrade” once again.

Your upgrade should be working fine now, without the “Operation Timed Out” error. You didn’t hear this from me, it’s from a reference Download failed.: Operation timed out after 30 seconds.

- Wordpress: Code is Poetry

Written by admin

March 14th, 2009 at 1:33 am

Automatic plugin upgrade not working

without comments

Easy and simple… open your ssh with putty with this command:

vi /etc/hosts

type”i

add

72.233.56.138       downloads.wordpress.org

then press escape( Esc ) and then type

:wq

and press enter

Written by admin

March 13th, 2009 at 3:08 am

How save command after edit with putty?

without comments

what command did you use to open it ?

if it’s vi then press escape( Esc ) and then type

:wq

and press enter

if use “pico

when you want to save changes, do ctrl-x . key “y” & enter. Done.

Written by admin

March 13th, 2009 at 2:49 am

Posted in Command, Putty

Tagged with , , , ,

What is the GD library?

without comments

GD is an open source code library for the dynamic creation of images by programmers. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve web site development.

GD is written in C and various binding are available. See a non exaustive list here also download.

What is PHPinfo? How can I run it?

without comments

PHPinfo is a function that returns information, in HTML form, about the PHP environment on your server (see http://us2.php.net/phpinfo for more information). To run PHPinfo you must save the following code in a file on your computer using your text editor:

<?php

phpinfo ();

?>

FTP or use cPanel ( file manager ) the file to the web content folder for your domain. If your file is named “phpinfo.php”, then you will run PHPinfo by using your web browser to go to “www.yourdomain.com/phpinfo.php”.

Written by admin

March 12th, 2009 at 9:33 pm