Month: July 2010

Enable server to parse the html files as php files on Linux 64bit working on XAMPP

I have been struggling hard to enable server to parse the html files as php files on linux 64 bit working on XAMPP. However there is confusion to which file here is the step by step process

Via httpd.conf

  1. For Linux servers using Apache with XAMPP, find a file called httpd.conf. This file should be in the folder called, “conf” in the Apache program files or should be at location  /opt/lampp/etc/original/ and also at location /opt/lampp/etc/ . Also  It may be on the server as /etc/httpd/conf/httpd.conf
  2. You should change at both of these location.
  3. In httpd.conf, find the line that looks like this:
    •  AddType application/x-httpd-php .php
    if you cannot find the above line look for the line 
    • AddType application/x-compress .Z
    • AddType application/x-gzip .gz .tgz
  4. Add the following line below:
      • AddType application/x-httpd-php .html
    • Or alter the AddType application/x-httpd-php .php to:
      • AddType application/x-httpd-php .php .html
  5. After making these changes, restart your web server. For unix based xampp servers, using this command:
    • /opt/lampp/lampp start

Strict standards : Non-static methods called statically Joomla Installation General problem

I have been using using joomla 1.5.7 on xampp 1.7.3a for my website

I have been struggling hard to remove the following errors comming to my webpage after installing Joomla.

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/joomla/libraries/joomla/import.php on line 29

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/joomla/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in /opt/lampp/htdocs/joomla/libraries/joomla/import.php on line 32

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/joomla/libraries/loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in /opt/lampp/htdocs/joomla/libraries/loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in /opt/lampp/htdocs/joomla/libraries/loader.php on line 138

Strict Standards: Non-static method JRequest::clean() should not be called statically in /opt/lampp/htdocs/joomla/libraries/joomla/import.php on line 33

The only way I was able to repair it was by changing the following value in configuration.php file which is present in Joomla home folder. Sometimes we also manually upload this file to joomla home folder.

  • EARLIER VALUE :  var $error_reporting = ‘-1’;
  • CHANGED VALUE:  var $error_reporting = ‘6135’;

It worked fine for me.

LINUX commands usage with examples

Clear the screen —clear

Login as superuser:—-sudo -s

ls List Command

  • view hidden files—ls -l -a

cp Copy Command

  • Copy single file
    • Command  $ cp addresssOfFileToBeCopied locationOfFolderWhereFileToBeCopied
    • Example:   $ cp home/sudeep/Desktop/configuration.php /opt/lampp/htdocs/joomla/
  • Copy compete directory
    • Command $ cp -r addressOfFolderTobecopied/* locationOfFolderWhereFolderToBeCopied
    • Example   $ cp -r /home/hope/files/* /home/hope/backup

chmod Change permissions

  • Change permissions of complete folder along with the files and folders within the folders
    • Command $chmod 777 -R directoryNameOrPath/
    • Example    $chmod 755 -R home/sudeep/Desktop/joomla/

tar -xvzf extract files

  • extarct the tar files to the specific location
    • Command $tar -xvzf file.tar.gz -C locationWhereFileToBeExtracted
    • Example   $tar -xvzf DBDesigner4.0.5.4.tar.gz -C /home/sudeep/Desktop/ise/

find Command to search a file or folder

  • to search any file or folder in the complete linux file system
    • Command $find / -name fileOrfolderNameToBeSearched
    • Example   $find / -name config.php
  • to search any file or folder at specific location  linux file system
    • Command $find locationWhereYouWantToSearch -name fileOrfolderNameToBeSearched
    • Example   $find /home/sudeep/Desktop/ -name original

How to configure SquirrelMail for IMAP

Hi

I have been struggling some time before hard to configure Squirrel Mail on my Microsoft outlook 2007. It is very simple.

Here is the configuration settings



This slideshow requires JavaScript.

The main problem comes in choosing incoming mail server and outgoing mail server. Use the same address which you use for logging into your email account through web browser. Like I used  http://mail.laser.com

and be careful to use your login details to enter as you use to login into yoour email and not which you use to login into mail.laser.com