Posted by Rishikesh Vispute
Categories: mysql
If anyone has run into a situation where sql queries from your java app were erroring out because of letter case in tables and column names in MySQL database, I have a quick solution for you. First, what you should have done, but probably was too creative and used mixed case for creating table names/columns [ Read More ]
What is Web Hosting? Web hosting is a service that allows organizations and individuals to post a website or web page on to the Internet. A web host, or web hosting service provider, is a business that provides the technologies and services needed for the website or webpage to be viewed in the Internet. Websites [ Read More ]
Posted by Rishikesh Vispute
Categories: Knowledge
Which Is the Best Web Hosting Company? Finding a reliable and quality web hosting service provider for small busines is a so much difficult task today for business owners and entrepreneurs. There are many hosting services providers who offers cheap web hostings for small business. In many cases various companies charges different high charges for [ Read More ]
Svn(subversion) is used to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used Concurrent Versions System (CVS). It is very easy to install subversion client on linux OS using yum. You can us following command to install [ Read More ]
What is Nagios ? Nagios is a system and network monitoring application. It watches hosts and services that you specify,alerting you when things go bad and when they get better. It is a fairly complex tool for monitoring the status of IT infrastructure – everything ranging from web servers to routers. Installation is a complex [ Read More ]
Posted by Rishikesh Vispute
Categories: Tomcat
How to check JSP and Tomcat version ? You can easily check the JSP version. You need to create test.jsp page under your account and add the following code into that file and access the test.jsp page by using browser ” http://domainname/test.jsp ” then it shows the tomcat version ,JSP version and servlet version. ================== [ Read More ]
Posted by Rishikesh Vispute
Categories: Tomcat
Error : All domains shows the tomcat default page Solution: The problem I get is that all requests now are being sent to tomcat. The two html/php apps show the tomcat default page (but when you click on the links they are dead links). The problem due the httpd.conf file. The mod_jk.so entry not present [ Read More ]
Posted by Rishikesh Vispute
Categories: Tomcat
Error : javax.servlet.ServletException: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: Cannot open connection; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; Cannot create PoolableConnectionFactory (Unknown initial character set index ’192′ received from server. Initial client character set can be forced via the ‘characterEncoding’ property.); nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unknown initial character set index [ Read More ]
Posted by Rishikesh Vispute
Categories: Wordpress
Wp-e-commerce : have you ever wanted to build online shopping websites ? e-commerce type website ? yes this plugin is perfect for you can use it to make online e-commerce site.this plugin can easily handle shppoing cart,credit card processing,paypal etc. Cform : this plugin can help you to make form.sometime we need to make diffrent [ Read More ]
How to Redirect from http to https URL. If the ssl is installed on the server and you want to all the request redirected to https then you need to add the folloing code in .htaccess file. ============================ RewriteEngine on Options +FollowSymLinks RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] ============================ or ============================ RewriteEngine on Options [ Read More ]
Location of configuration files on number of CMS WordPress: /home/username/public_html/wp-config.php CommercePro: /home/username/public_html/catalog/includes/configure.php and /catalog/admin/includes/configure.php Picture Pro: /home/username/public_html/include/config.inc.php phpBB: /home/username/public_html/config.php Joomla: /home/username/public_html/configuration.php MediaWiki: /home/username/public_html/LocalSettings.php
Posted by Rishikesh Vispute
Categories: Wordpress
Error : After a wordpress upgrade we started to get all kinds of weird symbols in our posts, including  and ’. I figured it was a character encoding mismatch problem. Solution: You have to comment out two lines in your wp-config.php file (found in your main blog directory). These are the two lines: define(‘DB_CHARSET’, [ Read More ]
Create one test.cgi file and add the folloing test code for checking the .cgi file working on the server. ======================= #!/usr/local/bin/perl – # hello.pl — my first perl script! print “Content-type: text/html\n\n”; print “Hello, world!\n”; =======================
To login (from unix shell) use -h only if needed. # [mysql dir]mysql -u username -p Create a database on the sql server. mysql> create database [databasename]; List all databases on the sql server. mysql> show databases; Switch to a database. mysql> use [db name]; To see all the tables in the db. mysql> show [ Read More ]
Posted by Rishikesh Vispute
Categories: Wordpress
Error : The plugin does not have a valid header Solution : The simple solution is to move plugin files to /plugin root. For example: /wp-content/plugins/akismet/akismet.php Move or copy akismet.php to /wp-content/plugins/akismet.php Your plugins’ folder will be a messy, but at least missed plugins will come back and work.
Error : Virus Detected; File not Uploaded! (Clamd is not configured properly.) Solution : “Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of this software is the integration with mail servers (attachment scanning). The package provides a flexible and scalable multi-threaded daemon, a command line scanner, and a tool for automatic [ Read More ]
How to find the domain name (DNS) information. http://network-tools.com or http://xwhois.com http://intodns.com/ http://centralops.net/co/ http://www.dnsstuff.com/ http://www.ipmango.com/megadns.php http://www.dnswatch.info
How to Access perl script file without .pl extention for example: http://192.168.o.2/~test/cgi-bin/testperlpath.pl here in this case client want to access testperlpath.pl file without .pl extention like http://192.168.o.2/~test/cgi-bin/testperlpath then you need to add handler in .htaccess file <Files ~ ‘^[^.]*$’> SetHandler cgi-script </Files> Done
How to disable Core file generation first of all delete the core files which are preset on the server or under any account then vi /etc/init.d/httpd and below the “ulimit -n 16384″ you need to put ulimit -c 0 And Command to delete core files #find ./ -name “core.*” -exec rm -f {} \;
Posted by Rishikesh Vispute
Categories: Knowledge
Problem with phpBB Critical Error Could not connect to the database This error means that you have not configured your PhpBB’s database settings properly. Revise the configuration file of phpBB which is config.php located in the directory where your forum resides. Please note that your database names and usernames always begin the following prefix “user_” [ Read More ]
If you are using gzip compression in your webpage coding and you get following error Errror : Warning: ob_start(): output handler ‘ob_gzhandler’ conflicts with ‘zlib output compression’ in /home/username/public_html/…/… on line … Solution: You have to add following code on non-suexec server in your .htaccess file. php_value zlib.output_compression off or on suexec server create php.ini [ Read More ]
Posted by Rishikesh Vispute
Categories: PHP
PHP Configuration Directives ========================================== output_buffering One of the newest (and greatest) features of PHP is the ability to send header lines anywhere within a script. This directive turns on output buffering for all files. You should probably leave this set to “off” because calling one of the output buffering functions of PHP will work regardless. [ Read More ]
How to compress my CSS with gZIP? To compress your CSS files with gZIP there are two things that you should do. First, add the following line to the .htaccess file in your public_html folder: AddHandler application/x-httpd-php52 .css By doing this, you allow the server to process .css files through PHP. Next, add the following [ Read More ]
Posted by Rishikesh Vispute
Categories: Knowledge
while installation of third party application getting error as session.save_path error as session.save path is not defined your php.ini file then you need to copy php.ini file and under php.ini file you need to define session.save_path as session.save_path = /home/username/public_html/tmp beofore it was like session.save_path = /tmp here need to create tmp directory under installation [ Read More ]
Email account problem getting an error as fixed_login authenticator failed for localhost or fixed_login authenticator failed for localhost (domainname ) [127.0.0.1]:58923 I=[127.0.0.1]:25: 535 Incorrect authentication data (set_id=test@domainname) There are two ways for this one you can reset password for email account if still issue not resolved take backup of email account remove it from cpanel [ Read More ]
IonCube loader Install it on VPS and dedicated server. /sripts/phpextensionmgr list it will show you output as EAccelerator IonCubeLoader Zendopt SourceGuardian PHPSuHosin then /sripts/phpextensionmgr install Ioncubeloader
If you are getting following error while sending emails from squirrelmail. Error: Message not sent. Server replied: Connection timed out 110 Can’t open SMTP stream. Solution : If above case if you are having shell access then login to your server with root user, then edit config file and do the changes as given below. [ Read More ]