Archive

Archive for the ‘Cpanel scripts or addon software installations’ Category

Reset the password of the mambo addon script

October 6th, 2009

If any of the client requested us to reset the Password of the mambo addon script , then we need to follow the steps to reset the password.

1)Login to the client’s account through shell and find out the database name of the mambo script.
#vi ~username/public_html/mambo/configuration.php

2)You can find the database like username_mambo1

3)mysql username_mambo1;

4)You can see all the tables of the database(username_mambo1) using the following command at mysql prompt.
mysql> show tables;

5)View all the fields in the mos_users table using the following command.
mysql> desc mos_users;

6)You can see all the users of the mambo addonh script using the command.
mysql> select * from mos_users;

7)You can reset the encrypted password using the following command.
mysql> update mos_users set password=md5(’password’) where id=1;
HINT:Most of the cases the admin user_id is either 1 or 2.

Cpanel scripts or addon software installations

Fantastico Installation

October 6th, 2009

1) vi tt ( place the content in the file )
rm -rf /usr/local/cpanel/3rdparty/fantastico/
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/fantastico
rm -rf /usr/local/cpanel/base/frontend/*/fantastico
rm -rf /var/netenberg/
rm -f /usr/local/cpanel/base/frontend/x/cells/fantastico.html
rm -rf /usr/local/cpanel/base/frontend/xcontroller

2) sh tt

3) cd /usr/local/cpanel/base/frontend

4) root@svr85 [/usr/local/cpanel/base/frontend]# wget -N http://svr86.ehostpros.com/~admin/downloads/xcontroller.tgz

5) tar -zxpf xcontroller.tgz

6) rm -rf xcontroller.tgz

7) chown -R root.root xcontroller

8) cd /usr/local/cpanel/whostmgr/docroot/cgi/

9) wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz

If it is 64 bit Os

http://www.netenberg.com/forum/index.php?topic=5430.0

rpm -qa wget ;
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/7/Everything/x86_64/os/Fedora/wget-1.10.2-15.fc7.x86_64.rpm ;
chattr -ia /usr/bin/wget
rpm -e wget ;
rpm -ivh –force wget-1.10.2-15.fc7.x86_64.rpm ;
rpm -qa wget ;

10) tar -zxpf fantastico_whm_admin.tgz

11) chown -R root.root fantastico

Login to whm

In Add-ons section  or Plugins

Fantastico De Luxe WHM Admin

Click here

If you get License Failed

https://netenberg.com/activation/user/  ( provide the server ip and submit )

Select all themes

Stable Versrion

Daily update No

( For some servers click on install )

Click here in order to activate Fantastico in the WHM Features Manager.

click on fantastico and de fantastico

Back to Feature Manager

Edit the  disabled ( enable the fantastico )

Click here in order to open the Fantastico De Luxe WHM Admin (Settings page) and configure Fantastico or it may not work properly

Features Sets

Edit

Uncheck the unwanted scripts
select No

Cpanel scripts or addon software installations

pluggable-functions.php file problem in wordpress

October 6th, 2009

Sometimes , you gets error of pluggable-function.php file while installation. the error of one domain is given below :-
=================================================
Warning: main(): Unable to access /home/jeffrayn/public_html/blog/wp-includes/pluggable-functions.php in /home/jeffrayn/public_html/blog/wp-settings.php on line 141

Warning: main(/home/jeffrayn/public_html/blog/wp-includes/pluggable-functions.php): failed to open stream: Permission denied in /home/jeffrayn/public_html/blog/wp-settings.php on line 141

Warning: main(): Unable to access /home/jeffrayn/public_html/blog/wp-includes/pluggable-functions.php in /home/jeffrayn/public_html/blog/wp-settings.php on line 141

Warning: main(/home/jeffrayn/public_html/blog/wp-includes/pluggable-functions.php): failed to open stream: Permission denied in /home/jeffrayn/public_html/blog/wp-settings.php on line 141

Fatal error: main(): Failed opening required ‘/home/jeffrayn/public_html/blog/wp-includes/pluggable-functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/jeffrayn/public_html/blog/wp-settings.php on line 141
===========================================================

This problem happens due to missing of pluggable-functions.php file.

To solve this problem , follow the below steps :-
1. login to server
2. excute the command
locate pluggable-functions.php
3. you will get many pluggable-functions.php file which is already installed under different home folder. Just copy that file under “wp-includes” folder.
It will solve the problem.

Cpanel scripts or addon software installations

solution of “safe mode error” while creating dir

October 6th, 2009

Generally, clients installs image galleries (like coppermine.) or some other script and get the problem safe mode error while uploading any type of file through php script after creating directories .

To resolve this problem we generally go to that directory and change the ownership from nobody.nobody to client’s username.username. But it is not sufficient because next time client get the same error while uploading the file after creating Dir or folder.

So, to resolve this error follow the below steps:-
======================================================

1. ask or find the name of folder where client installed the script (like coppermine). go to that folder.

2. you can execute the command
chown -R nobody.username .

The above command set the ownership nobody.username to all the folder and the file . So the next time client do not get the problem safe mode error while uploading any type of file through php script after creating directories .
=====================================================
The above error comes because php run with ownership nobody and assign nobody ownership to the created folder.

The above method is to solve the safe mode error, After changing the ownership, client can create or upload the file under installed script folder but he can’t edit files. So after doing this we have to inform the client that whenever he want to edit the files , he has to come to us.
====================================================
When client want to edit then you have to go to the installed script folder and ececute the below command.

chown -R username.username .

It will again set the ownership username.username to all the folder and files. After editing revert it to nobody.username.

Very rare, client need to edit the files under the installed script folder. But the uploading happens often.

Cpanel scripts or addon software installations

How to install phpbb manually ?

October 6th, 2009

Please go through following flash tutorial before installing phpbb manually.

http://www.phpbb.com/support/tutorials/dis…2_admin_install

If you want to all the flash tutorials for phpbb software visit following link.

http://www.phpbb.com/support/tutorials/

Cpanel scripts or addon software installations