RVSiteBuilder / cPanel / PEAR / Pecl

Our customers recently started complaining that RV Site Builder stopped working. So I did the normal fix of running the following command as root over SSH:

# perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi

After a while the installed quit with the error:

Cannot execute pear on path /usr/local/bin/pear
Continue reading

Posted in Uncategorized | Leave a comment

WHMCS .uk domains checkout

We are currently in theĀ processĀ of moving our billing software from AWBS to WHMCS.

One of the things that was annoying in AWBS was that when buying a UK Domain name (.co.uk etc) a client was given the option to enter a company number even when signing up as an Individual ( Individual registrations account for about 95%+ of uk domain registrations ). This confused clients, and probably made some people abandon the cart.
Continue reading

Posted in Javascript, WHMCS | Leave a comment

Changing default file permissions for SFTP

We primarily use SFTP for file transfers, and we encourage our customers to do the same.

One problem we’ve been having is that the default file permissions when files are uploaded in SFTP don’t match the umask set for that user, or the umask set on the server. This causes many php scripts to Internal Server Error. Files uploaded via normal FTP are fine, because the FTP service sets the permissions on the files with a umask configuration in the config file.
Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Installing the Ruby mysql-2.7 gem on OS X 10.4/ 10.5

Today I was updating a rails application, and editing some databases to convert them to mysql.

After changing my rails config file I started getting this error :

Continue reading

Posted in Ruby on Rails | Tagged , , , , | Leave a comment

Error in option spec long|! mytop

mytop has started to break recently on our cPanel Redhat and CentOS machines.

When you run mytop:

#mytop
Error in option spec: "long|!"

The fix for this is to edit the mytop script and comment out the line containing long|!

Continue reading

Posted in cPanel, Linux | Tagged , | 2 Comments

Fantastico – You cannot install more than one script in the root directory of a domain

Fantastico allows you to install scripts using cPanel very easily, however it occasionally glitches after you’ve installed/uninstalled scripts not using Fantastico.

Continue reading

Posted in cPanel | Tagged , | Leave a comment