Sunday, October 26, 2014

wordpress installation using the Softaculous script installer

To Install Wordpress using the Softaculous script installer: 
 
1. Log in to your cPanel control panel. 
 
2. Select 'Softaculous' from the 'Software / Services' section. 
 
3. Find the section in Softaculous called 'Portals/CMS' and select 'Wordpress'. A Wordpress information page will load on the right portion of the screen. 
 
4. An install option can be found in the top right hand of the Wordpress information page. 
 
5. How to fill out the installation form: 
 
SOFTWARE SETUP 
 
A. Choose Protocol - This option allows you to choose the protocol that shows on the address bar of individual's browsers. 
 
B. Choose Domain - This drop down menu includes all domain names and sub-domain names that are on the account. Choose from this drop down menu the domain name where you wish to install Wordpress 
 
C. In Directory - This is the option to choose the directory where Wordpress will be installed. For example, to have Wordpress installed in a folder called 'dir', type dir in the text box. To have Wordpress installed only on the domain, leave the field blank. 
 
D. Database Name - This option allows you to choose the name of the Wordpress database. Default content will be included in this, you may leave it as this content or rename it. 
 
Password : Type in a password you will use to access your Wordpress Administrator Dashboard. This password is very important to remember. If you lose this password, you will have to reinstall Wordpress. 
 
SITE SETTINGS 
 
A. Site Name - This option allows you to type in the name of your site. 
 
B. Site Description - This option is used to input a short description of your website. 
 
DATABASE SETTINGS 
 
A. Table Prefix - This option allows you to change the prefix of your table. This settings is for more advanced users and it is advisable to leave it as-is. 
 
B. Import Sample Data - This option allows you to select whether or not Wordpress will be installed with sample data given by Wordpress. 
 
ADMIN ACCOUNT 
 
A. Admin Username - This is where the Wordpress administrative username is selected. Wordpress is managed through a separate control panel, this information will be used to access that control panel. 
 
B. Admin Password - This is where the Wordpress password is selected. It is used in conjunction with the username above to access the Wordpress control panel. 
 
C. Real Name - Input your real name here. 
 
D. Admin E-mail - This address will be used should the Wordpress login information be lost. 
 
E-mail installation details to (optional): Fill this box with the e-mail address where you would like detailed information regarding the installation sent. 
 
After filling out all fields hit the "Install" button and Softaculous will automatically install Wordpress with the specifications provided.

WordPress is giving error: "Missing a temporary folder" while uploading image/media ?

WordPress is giving error on image upload : "image.jpg" has failed to upload due to an error "Missing a temporary folder."

If you are receiving this error please follow these simple  instructions below:

1. Create a "tmp" folder in your WordPress root directory with 777 permissions. This can be done by your FTP program.

2. Also create a "php.ini" file in same location.

3. Add the following in php.ini file:

upload_max_filesize = 16M
upload_tmp_dir = on
upload_tmp_dir = /home/username/public_html/wordpressDir/tmp

Please make sure to replace username with your hosting username, and wordpressDir with the directory name of your WordPress install. 
If you have installed WordPress on your homepage then the path will be like: upload_tmp_dir = /home/username/public_html/tmp
4. Copy the same php.ini file to your wp_admin folder.

That's it.



WordPress dashboard loading blank page with PHP Fatal error: Access to undeclared static property: WP_Screen::$this in /home/suhail/public_html/wp-admin/includes/screen.php on line 706

The WordPress admin dashboard loading blank page for WordPress version 3.3.1. That is, when a WordPress user logs in, WordPress admin dashboard displaying blank page. Menu with links are present but none of the link works. For this reason, users can’t edit or add new posts etc.

 Here is the solution. Just go through your error logs and see the logs that you get. I have recently came across a similar situation and here’s the logs that I got.

[06-Jul-2014 05:55:27 UTC] PHP Fatal error:  Access to undeclared static property: WP_Screen::$this in /home/suhail/public_html/wp-admin/includes/screen.php on line 706
[06-Jul-2014 05:55:33 UTC] PHP Fatal error:  Access to undeclared static property: WP_Screen::$this in /home/suhail/public_html/wp-admin/includes/screen.php on line 706

To fix this bug:

1. Open the file wp-admin/includes/screen.php
2. Locate the line number 706
3. You will find the 706th line as

<?php echo self::$this->_help_sidebar; ?>
Replace the above mentioned line as

<?php echo $this->_help_sidebar; ?>
4. Save the changes. This should fix the problem.

That’s it!!!  :)

501 Too many syntax or protocol errors

Solution:
When sending emails using outlook you might receive the error above. It seems that when you copy & paste the email addresses into the To field, they include quotations around them that the server did not know how to handle (i.e. ‘suhail@website.com’ instead of just suhail@website.com).
Remove the quotations & then try sending emails.

Monday, October 20, 2014

Blank page after login to phpMyAdmin

1) I login to cPanel and reset password (to the same one)
2) I logout and login again
3) I click phpMyAdmin and I get into phpMyAdmin (no more login form or blank page)