Operation is not allowed when the object is closed

New problem come with javascript 🙂

php and mysql script that proven to work suddenly pop error message and entire editing process get stuck 🙁

Error message :

” Operation is not allowed when the object is closed “

line 94
char 11
code 0

file display.php

a few suspect come after :




Continue reading

in PHP | 146 Words

Powerfull Windows XP CD

Common job for technician is installing operating system. All packs contain with all CD, CD windows xp for example, cd for photoshop, cd adobe reader and others program in separate CD. When installation job become routine I need little tool to help me for making my windows slim.

I got the answer : nlite

nlite will produce smaller file iso that ready to install to new computer, with unattended install process, no more license key,faster install mean less time.

OK nlite me a lot, my other question :

Can I use existing windows iso created by nlite ( 206 MB) spare room for other program like photoshop, winzip, winrar, pdf reader etc in that iso file.

Yes, iso modification software need to accomplish that job

One of the software for this job : winiso

I have made new custom iso cd contain windows xp and other useful program into single cd, here’s the steps :

1. Install winiso and register it .

2. Right click on iso file to bring winiso windows


Continue reading

FreeBSD ports unfreeze

Fiuh, finally ports unfreeze

I thought my system is crash when I try to update ports, until I red about Xorg 7.2 ports committed 🙂

Yeah, big ports


kongja# csup -g -L2 ports-supfile -h cvsup12.freebsd.org

Parsing supfile “ports-supfile”
Connecting to cvsup12.freebsd.org
Cannot connect to 2001:468:902:201:209:3dff:fe11:442c: No route to host
Connected to
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Updating collection ports-all/cvs

Continue reading

in Unix | 125 Words

Mysql 4.0 and Mysql 4.1 Compability

My friend install serendipity (blog engine) in his laptop with mysql version 4.1.21 and dumping sql of his blog. When I try to restore sql file in his PC I got error message :

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

C:\Documents and Settings\Administrator>cd c:\appserv\mysql\bin

C:\AppServ\mysql\bin>mysql -uroot -p alam < blog.sql
Enter password:
ERROR 1064 at line 21: You have an error in your SQL syntax. Check the manual t
hat corresponds to your MySQL server version for the right syntax to use near ‘DEFAULT CHARSET=latin1’ at line 12


Then I realize that mysql server in my friend pc using 4.0.16, DEFAULT CHARSET=latin1 is everywhere in his sql file , this part not needed in mysql 4.0.16


Quick Solution is delete that part.

Still open sql file in wordpad, I choose replace, find DEFAULT CHARSET=latin1 with nothing . Press ‘Replace All’ button. Save the file and try to restore new sql file.


Success 🙂

Overwrite FreeBSD ports

Upgrade ports is easy, using portupgrade. Even portupgrade can upgrade it’s own program 🙂

The problem come with error message ‘xxxx already installed’, how to overcome this problem?

Answer: read the guide 🙂

kongja# portupgrade p5-libwww-5.79_1

—> Upgrading ‘p5-libwww-5.79_1’ to ‘p5-libwww-5.803’ (www/p5-libwww)
—> Building ‘/usr/ports/www/p5-libwww’
===> Cleaning for p5-Compress-Zlib-1.33

===> Checking if net/p5-URI already installed
===> p5-URI-1.35 is already installed
You may wish to “make deinstall” and install this port again
“make reinstall” to upgrade it properly.
If you really wish to overwrite the old port of net/p5-URI
without deleting it first, set the variable “FORCE_PKG_REGISTER”
in your environment or the “make install” command line.
*** Error code 1
Stop in /usr/ports/net/p5-URI.
*** Error code 1
Stop in /usr/ports/www/p5-libwww.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade30900.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! www/p5-libwww (p5-libwww-5.79_1) (unknown build error)
—> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

wow, check if the ports already installed

Continue reading

in Unix | 377 Words