This is featured post 1 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation test link ullamco laboris nisi ut aliquip ex ea commodo consequat.

This is featured post 2 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation test link ullamco laboris nisi ut aliquip ex ea commodo consequat.

This is featured post 3 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation test link ullamco laboris nisi ut aliquip ex ea commodo consequat.

This is featured post 4 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation test link ullamco laboris nisi ut aliquip ex ea commodo consequat.

This is featured post 5 title

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation test link ullamco laboris nisi ut aliquip ex ea commodo consequat.


Showing posts with label Cpanel. Show all posts
Showing posts with label Cpanel. Show all posts

cPanel hooksadmin had an unknown error

0 comments


cPanel hooksadmin had an unknown error



Did you get the error “hooksadmin had an unknown error” while you were trying to add the addon domain into your cPanel account? Here’s is a solution to get this fixed.
This error mostly shows up due to incorrect resources allocated to your / any cPanel account by the “root” or the “reseller”. Fixing this error is quite simple, however, the method varies depending on the roles assigned to you on the server.

If you are a reseller client

If you have purchased reseller hosting from the parent company, then you will be able to fix this error. All you need to do is, locate the account and increase the number of “addon domains” in its package. Follow these steps to fix the problem.
  1. Login to your WHM
  2. Click on “Modify an Account” from the left hand navigation
  3. Select the account that is facing the problem and click on “modify
  4. On this page, you should see the package that has been allocated to this account. Simply increase the “addon domains” value to “1″ or as per your requirements to fix this error.
Tip - If there are quite a few accounts using the same WHM package, then simply increase the “addon domain” value in the package to mass-fix this issue.

If you are a web hosting client

If you have purchased a web hosting package from your provider, then you would not have enough of permissions to fix this error. In this case, you’d simply have to contact your web hosting company and they will get it done for you. In case they don’t know how to, then guide them to this tutorial :) .
Hope this helps you fix the problem, in case if the problem persists feel free to comment below and I will help you troubleshoot it further.

cPanel Error: Sorry, that domain is already setup (remove it from httpd.conf)

0 comments


cPanel Error: Sorry, that domain is already setup (remove it from httpd.conf)



Have you received this error while trying to create an account in your WHM? You will find a lot of long methods to fix it online. However, I was pretty amazed to see the solution is very simple but not discussed anywhere. So I decided to drop a little post.
All you have to do is, run the following commands in the Shell (SSH).
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd

How to install PDO on cpanel-WHM servers with centOS

0 comments


How to install PDO on cpanel-WHM servers with centOS



PDO is a component that is used by CMS scripts like joomla, drupal etc. Most of the web servers would not have it enabled by default. For some reason, cPanel guys have decided to switch it off by default. Hence, if you are a server administrator and get a complaint from a client stating they are getting “PDO” related errors, then here are the steps that you can follow to get it installed. This tutorial assumes that you have a server with cPanel/WHM installed on it.

How to install PDO

  • PDO Error fixLogin to WHM
  • Find “easyapache (apache update)” from the left hand panel
  • Click on “Start customizing based on profile”
  • Select the Apache version you require. I would advise 2.2
  • Seclect the PHP verson. I would recommend PHP 5.
  • Seclect the PHP Build, I would advise 5.2.17
  • Now scroll down to the bottom and select “Exhaustive Options List”
  • Seclect “PDO” by checking the tick box next to it.
  • Proceed with the recompile
Recompile may take anywhere between 10 to 45 minutes depending on the server’s capabilities. After it has been done, you need to execute following commands to restart the services:
/etc/init.d/cpanel restart
/etc/init.d/httpd restart
Now if you refresh the pages with error, it shouldn’t be there anymroe. Feel free to comment below if you have any questions or confusion.

How to increase file upload limit wordpress on cPanel servers

0 comments


How to increase file upload limit wordpress on cPanel servers



Have you ever faced this problem when you’re trying to upload some fileimage or anything through your wordress admin interface and it shows an error displaying very low upload limit? Well, here’s the answer to the problem which should fix it immediately.
    • Copy the global php.ini from /usr/lib/php.ini to /home/*accountnamehere*/public_html. (If you do not have ‘root’ access to the server then get sample php.ini by Google’ing!)

    • Nano into the php.ini file with following command. Nano is just an editor like Notepad.
      nano /home/*accountnamehere*/public_html/php.ini

    • Now, “find” for “upload“. You can do that by hitting “ctrl+w” in nano.

    • Locate the entry called upload_max_filesize and update its value to whichever you prefer.

    • You will need then need to add this entry suPHP_ConfigPath/home/*accountnamehere*/public_html/ to the .htaccess file to make the server pull the information from the custom php.ini instead of the global php.ini

After making these changes, the domain should now reference the new values.
Note -
1. If you do not have “nano” installed then you can either installing by using “yum install nano” command in centOS OR “apt-get install nano” in Ubuntu. Alternatively, you can simply use cPanel code editors to perform those tasks.
2.Replace all occurance of *youraccountnamehere* to your actual cPanel account name.