CAll Us: USA +1 9176775553   Login

Cannot run code from this file in conjunction with non encoded files in

Error : Fatal error: Cannot run code from this file in conjunction with non encoded files in /home/username/public_html/tpl_c/%%CD^CDB^CDBF33CB%%user_media_iptc_single_tag.tpl.php on line 1265 Solution : This problem is not activeCollab related, but caused by platform activeCollab is running on. From articles I read by googling for “Cannot run code from this file in conjunction with non encoded […]

Read More »

php parse with shtml

How to parse the php code in .shtml file. Ans : If you want to use php code in .shtml file then you need to add the following handler in .htaccess file. AddType application/x-httpd-php5  .php5 .php4 .php .php3 .php2 .phtml .shtml AddHandler application/x-httpd-php5  .php5 .php4 .php3 .php2 .phtml .shtml Done

Read More »

PHP-Java bridge on plesk

  What is php-java bridge? The php-java bridge is the php extension for using the java code in php files . You can access Java clasess etc from within your PHP code. How to install php-java bridge on plesk centos  ? If you want to install php-java bridge then you need to follow the steps. […]

Read More »

Custom php.ini not working on SuExec Enabled Server

How to enable Custom php.ini  on SuExec Enabled Server ? Ans : Normally, on SuExec Enabled Server, you can create php.ini in your account to customize php settings for your account. If php.ini is created under an account with customize php setting and it doesn’t work for you, then this is because override is disabled […]

Read More »

Request exceeded the limit of 10 internal redirects

Error : Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace Solution : When access the domain and the domain not shows the content and the server logs shows the above error then you need to […]

Read More »

install propel-gen

How to install propel-gen on Linux server ? Ans: Propel is an open-source Object-Relational Mapping (ORM) for PHP5. It allows you to access your database using a set of objects, providing a simple API for storing and retrieving data. Propel gives you, the web application developer, the tools to work with databases in the same […]

Read More »

how to install APC

How to install APC on Linux ? Ans: The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. Besides being a opcode cache it provides a user cache for storing application data. APC […]

Read More »

How to enable SSI ?

How to enable Server Side Includes on the server ? Ans: First you can check SSI are enabled on your server or not.  So create one test.html file and add the following code . <!–#ECHO var=”DATE_LOCAL” –> Then access the page by using the URL http://domain.com/test.html  and  it shows the current date to the screen […]

Read More »

Set expiration for you index page

If you want to set the expiration to your site   means after some date or year your site shows custom error on the page then you can add following code in index page below the “<?php” code  and set the date as per your request. ============================================ $exp_date = “2010-04-31”; $todays_date = date(“Y-m-d”); $today = […]

Read More »

Enable mssql support on Linux server

How to enable mssql support on Linux server ? Ans : You need to first compile freetds and then compile PHP with freetds support. What is FreeTDS? FreeTDS is a free implementation of the TDS (Tabular Data Stream) protocol that is used by Sybase and Microsoft for their database products. It implements TDS 4.2, 5.0, […]

Read More »
Internal Server Error

Internal Server Error

SuPHP Permission Issue suPHP enhances overall server security. When migrating from a server that is not running suphp to a server running these, permission and ownership issues occur . When you access your domain you usually see Tail the Apache error logs to see what the error is # tail -f /usr/local/apache/logs/error_logs You can see […]

Read More »

How to enable php setting for all Directories

If you want enable some php related setting by using php.ini file and it reflect to all  other directories which is under your account. Then follow the steps.. First create php.ini file under the document root of your domain and change or add the default setting which you want or which is required for your […]

Read More »

PHP Configuration Directives

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 CSS with gZIP

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 »

Fatal error: Call to undefined function: strripos() in

Error : Fatal error: Call to undefined function: strripos() in Solution : strripos() is a working on only php5 . So you need to switch you account to php5 installed server or if php4 and php5 is installed on the same server then add the folloging code in .htaccess file to switch to php5. AddHandler […]

Read More »

How to install PDFlib on linux server

You can easily install PDFlib on linux server. ========================== cd /usr/local/src/ wget  ftp://ftp.free.fr/.mirrors1/ftp.netbsd.org/packages/distfiles/PDFlib-Lite-7.0.3.tar.gz or check this URL  http://www.filewatcher.com/m/PDFlib-Lite-7.0.3.tar.gz.5898798.0.0.html tar -zxf PDFlib-Lite-7.0.3.tar.gz cd PDFlib-Lite-7.0.3 ./configure make make install mount -o remount rw /tmp pecl install pdflib mount -o remount noexec,nosuid,rw  /tmp php -m | grep pdf ========================== Done

Read More »

Redirect by using php code

How to redirect index.php page to another url by using php code. If you want to redirect your index.php page to another URL or page then add the following code in your index.php page. <?php header( ‘Location: http://www.domain.com/new_page.html’ ) ; ?> Note : Replace “http://www.domain.com/new_page.html” with exact URL on which you want to redirect you […]

Read More »

PHP Fatal error: Call to undefined function

Error : PHP Fatal error: Call to undefined function Solution : The server shows this warning because your script is not working on php4 version so you need to switch to php5 version for the domain who is facing the problem. If on the server both php4 and php5 installed then you can switch to […]

Read More »

osCommerce error 'Cannot reassign this'

osCommerce error ‘Cannot reassign this’ The error appears because your OS Commerce is based on PHP4 rather than PHP5. To resolve the error message, you should follow the instructions below: 1. Go to your cPanel. Refer to SiteGround cPanel access guide. 2. Click on the File Manager icon. 3. Click on the folder icon next to public_html folder […]

Read More »