Fatal error: Call to undefined function gregoriantojd()

That error message show up when I try to install wordpress plugin. I think it must be plugin author false since I already have php date extension enabled but I’m wrong :-)

Further search lead me to ‘calendar’ extension. Look no further to php5-calendar in my FreeBSD 7.3 box I install it.

cd /usr/ports/misc/php5-calendar && make install

stop php cgi prosess

/usr/local/etc/rc.d/php.cgi.sh stop

start php cgi process

/usr/local/etc/rc.d/php.cgi.sh start

check extension with phpinfo() function :

Great its on the list now. Refresh plugin install at wordpress and I’m back to business :-)

FreeBSD 7.3 released

FreeBSD 7.3 ready to serve.

From FreeBSD press release :

Some of the highlights:

  • ZFS updated to version 13
  • new boot loader gptzfsboot supports GPT and ZFS
  • hwpmc(4) enhancements including support for Core2/i7 processor and pmcannotate(8)
  • new mfiutil and mptutil tools for widely used RAID controllers
  • NULL pointer vulnerability mitigation
  • bind updated to 9.4-ESV
  • Gnome updated to 2.28.2
  • KDE updated to 4.3.5
  • Perl updated to 5.10

For a complete list of new features and known problems, please see the online release notes and errata list available at:

Download link : i386

for other architecture you may visit full 7.3 iso

Setting PATH for MYSQL bin

MYSQL PATH!

Yes, that thing come to my mind when I playing around with MYSQL.

Before setting PATH :

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd c:\wamp\bin\mysql\mysql5.1.36\bin

C:\wamp\bin\mysql\mysql5.1.36\bin>mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.1.36-community-log MySQL Community Server (GPL)

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql> exit
Bye

Continue reading

Preparing ubuntu usb install for nettop installation

Due to budget limitation and energy saving campaign in my office we try to explore more machine for our sms gateway. The criteria for this low traffic machine is clear :

Lowest energy with high storage facility and price within the range $100 – $250

Hardware

Search in the net give me a few result around mini pc aka netttop
like :

  1. Asus EeeBox EBXB202-BLK-X0081
  2. Acer AspireRevo AR1600-U910H
  3. QutePC-1000

Operating System

I have experience with ubuntu as operating system and more than one device for gammu.

Little problem came when I realize that install method available for this nettop stuff is via usb.

Searching with google for ubuntu usb install, live usb linux, bootable usb, bootable usb linux and install linux from usb give me hint for visit Lili USB Creator. Fortunately this tool run in Windows :-)

Continue reading

Step by step Install Pure-FTP inside pfSense

pfSense is great stuff when you’re looking for Firewall but I need more :-)

Case :

A user want to store his file in the form of FTP but pfSense is the only server that available in the office. New HDD ready to support this method.

Solution : Add new HDD and install FTP server inside pfSense.

Steps : ( I use vmware for reproduction the steps)

Install pfSense version 1.2.3

1. Install pfSense

I install version 1.2.3 as I need to produce it with latest pfSense version.

install ftp server on pfsense : create virtual machine

I use 2 HDD ( system located in 8G HDD and second HDD for FTP data)

Ethernet 1 set for LAN ( ip address 192.168.12.110) and ethernet 2 work as WAN ( I set to DHCP)

Enable sshd for remote configuration via ssh client like putty, securecrt  etc.

Restart system after successfully install to HDD.

Continue reading