2 Şubat 2011 Çarşamba

Checking out a project

Suppose your path of the directory is as follows:

http://10.23.98.12:8080/svn/project1

To check out a file simply writedown the code below:

svn checkout http://10.23.98.12:8080/svn/project1

The project will be checked out into your computer.

15 Ocak 2011 Cumartesi

Virtual Box shared folders

Here is the steps to share a folder in VirtualBox when windows is your host operating system and ubuntu is your guest operating system.

1) For your guest, you have to install the virtual box guest additions.

Download the virtual box guest additions from the website below:

http://download.virtualbox.org/virtualbox/4.0.0/

choose  the  VBoxGuestAdditions_4.0.0.iso package and download it.You are downloading a .iso file. Therefore after you download you have to extract the including files into a folder. Enter to this folder,
and write the command below, in the terminal:

sudo sh ./VBoxLinuxAdditions-x86.run

The guest additions will be installed and then you will be asked to restart the computer.


For downloading the virtual box guest additions you can find additional information in the following website:

http://www.dedoimedo.com/computers/virtualbox-guest-addons.html

2) Define a folder name in the vitual box. Go to your host machine and then from

Devices -> Shared Folders

define a new shared folder. Define its location in your host and the name of the folder.

3) Finally, you have to mount this newly defined folder in host to a folder in your guest machine.

Enter the command below:

mount -t vboxsf work /mnt/yeter/


This command means that the folder that you defined in your host wachine, whose name is "work", will be mapped to a folder in your guest machine /mnt/yeter.


POSSIBLE ERRORS YOU CAN FACE WHEN YOU ARE FOLLOWING THIS PROCEDURE:

1) /sbin/mount.vboxsf: mounting failed with the error: Invalid argument

To solve this problem, please rename the shared folder in your host computer. For this case it is windows. Therefore, open Devices->shared folder and rename the folder and then give the command:

mount -t vboxsf calisma /mnt/shares/

7 Ocak 2011 Cuma

"less"

If you are using linux from command line and you want to look at what your current folder includes. You type the command below:

ls

and press enter. If there is so much file or folder in this current folder and if you strall around in the folder you should enter the command below:

ls | less

and press enter. This will allow you to strall around the folder.

In the "less" mode you can search by with "/".
For example, you want to search for the word "apple" in your current folder, type what is written below:

/apple

and press enter. The words which includes "apple" will be highlighted.

<space> means "page down"
<q> will quit

10 Aralık 2010 Cuma

mount a usb to a sun virtual machine

lease follow the steps below:

1) Insert the usb disk which you want to mount to the sun virtual box.

2) In the sun virtual box user interface press the "settings" in the operating system that you want to study.

3) Press "Usb" in the settings menu. Press "Add filter From Device (Alt-Ins)".

4) The list of the usb devices will be shown after you press "Add filter from device" button. Select the usb device that you want to insert.

5) Hit "ok" to save the modifications.

6) Start the operating system that you want to work with.

7) After all, you have to "mount" the usb folder to a folder in your operating system. In the /dev folder you have to observe the "sda" folder which is the folder for the usb device. The name of the folder shall not be sda. It shall be "sda", "sda1", "sda2",.. or "sdb", "sdc" etc.

8) Then, you have to create a folder to map the usb device folder. Threrefore, run the command below in the command line:

[code]
mkdir   /mnt/sda1
[/code]

This command means that in the mnt folder we created a folder named "sda1". This is the folder that we will map the device.

9) Finally, enter the command in the command line:


[code]
mount    /dev/sda1      /mnt/sda1
[/code]

In this command the device mapped to a folder in your own system.

Now, you are ready to get and add folders to your usb disk.

20 Kasım 2010 Cumartesi

Strict Standards: Non-static method JLoader::import() should not be called statically


after deleting the "installation" folder and opening the website what I observe is:

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 29

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 32

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::load() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 161

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 138

Strict Standards: Non-static method JRequest::clean() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 33

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 463

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 464

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 465

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 466

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 467

Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\environment\request.php on line 468

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 35

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 38

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\joomla\import.php on line 39

Strict Standards: Non-static method JLoader::register() should not be called statically in C:\Program Files\EasyPHP-5.3.2\www\infinity\libraries\loader.php on line 71


SOLUTION:

open the "php.ini" file in the EasyPHP-5.3.3.1/conf_files/ and make the changes below:


1) change
Code:

Kod:
error_reporting = E_ALL | E_STRICT

by
Code:

Kod:
error_reporting = E_ALL & ~E_STRICT


2) change
Code:
Kod:
display_errors = On

by
Code:
Kod:
display_errors = Off


Warning : Be sure your error_reporting and display_errors variables are the last one to be read in the php.ini file, else yours could be overwritten by default values.
Furthermore, you can leave var $error_reporting = '-1'; unchanged in joomla configuration.php

Installing Joomla_1.5.22 using EasyPHP-5.3.3.1 a problem in the database section

I'm trying to install joomla with using easyphp. While I opened localhost website I follow the procedure for the joomla installation procedure. However, when I reach to database section I enter

localhost to "hostname" field
root to "user" field
I left the password field empty.
I enter the database that I want to use

After all these steps have been done, I hit "next" button. However, the ftp website is not opening.

The reason for this problem is "localhost" is not defined in the "hosts" file in the "C:\Windows\System32\drivers\etc" directory. Open this file and add 

127.0.0.1       localhost

Then, try again.