It’s Suck!
January 30th, 2008
yeaa..i’am crazy.. i don’t know what i say.. and what must i say…
i’am not sure what i say to you!
My Bad English so Suck..!!!!!!!!!!!!!!!!!!!!!
I Want to share my brain content, state my hearth content….
I Hate to use translator program forever…. SUCK@!!!!@##%
I Don’t care your reaction if you listen to my speak!
I Hate you! If you heed me!
Fuck you alllll……….!!!!!!!!!!!!!!!!!!!!!
Prelude ** Slipknot - Subliminal Verses **
January 28th, 2008
I don’t know why…
…I never told you
I don’t know why…
…I never tried
When we shed these bitter skins again
All the reasons come to life
But now it’s over..
Now it’s over
Now it’s over
Now it’s over
I don’t know why
You never asked me
And I don’t know why
You never cared
When we hide these little sins again
All the reasons
Have to die…
But now it’s over
Now it’s over
And now it’s over
And now it’s over
Unable to open something.tmp
January 16th, 2008
Weww… i got stressfull today when i start to trying SWFUpload for
handling my files upload nicer, interactive, and informative. I just want
my files upload tasks act like a desktop application, that no need
page refresh. Yeaah now u know what is SWFUpload used for. And i will
not explain more in detail about SWFUpload because this is not thing that
i want to talking about, and i will talking about SWFUpload
in another article if i has been familiar with this great uploader. Soon!
trust me.
Umm.. what i want to talking about now is error message that
say like this : ” Hey! i unable to open or move blablab.tmp in
\yourdir\yourphp_tmp_session_dir\blabla.tmp blablabla”
wtf?! i guess you will checking out your php.ini and go to
session.save_path and make sure if its value is correct.
I got this problem when using all in one web development package. That
is xampp. And i’am not sure if you will deal with something like my problem
maybe your server is good configured. yeaah just for documentation
if someday i meet with same problem like this.
Ok what kind of things you need to configure?
1. php.ini
make sure your php.ini configuration variable below :
session.save_path is correct
upload_tmp_dir is correct
ok enough deal with that two variabel configuration
2 httpd.confg
you need to add this new rule in httpd.conf
add this lines :
<Directory “driveLetter:/path/to/your/saved/tmp/session”>
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
what’s next? hehehe guess by yourself.. ![]()
dbo_source Bug Fixes in cakePHP 1.2.0.6311-beta
January 4th, 2008
Today at 06:00 PM when i learning new version cakePHP framework, i want to implement ACL feature. After reading some tutorial, i start to doing each steps explained by the tutorial.
I run this command, in my dos console :
cake acl create aco / ROOT and got error messages like this :
Fatal error: Undefined class name ’string’ in D:\tohtdocs\MyBand\cake\libs\model
\datasources\dbo_source.php on line 1456
This error message annoying, after asking question everywhere, i’am still stuck! no solutions. After that, i decided to visiting all of my new friends in #cakephp at IRC. Hooorraayy i was very luck because i meet very great people AD7six . He ask me for checking cake trac and ask me browse the dbo_source.php in
THE BUG FIXES
The db0_source.php bug is not too serious.. just adding this line :
uses(’String’);
at the top of all classes from dbo_source.php
looks like this :
- <?php
- /* SVN FILE: $Id: dbo_source.php 6311 2008-01-02 06:33:52Z phpnut $ */
- /**
- * Short description for file.
- *
- * Long description for file
- *
- * PHP versions 4 and 5
- *
- * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
- * Copyright 2005-2008, Cake Software Foundation, Inc.
- * 1785 E. Sahara Avenue, Suite 490-204
- * Las Vegas, Nevada 89104
- *
- * Licensed under The MIT License
- * Redistributions of files must retain the above copyright notice.
- *
- * @filesource
- * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
- * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
- * @package cake
- * @subpackage cake.cake.libs.model.datasources
- * @since CakePHP(tm) v 0.10.0.1076
- * @version $Revision: 6311 $
- * @modifiedby $LastChangedBy: phpnut $
- * @lastmodified $Date: 2008-01-02 00:33:52 -0600 (Wed, 02 Jan 2008) $
- * @license http://www.opensource.org/licenses/mit-license.php The MIT License
- */
- uses('set');
- /**
- * DboSource
- *
- * Creates DBO-descendant objects from a given db connection configuration
- *
- * @package cake
- * @subpackage cake.cake.libs.model.datasources
- */
- class DboSource extends DataSource {
and the new with bug fixes look like this :
- <?php
- /* SVN FILE: $Id: dbo_source.php 6311 2008-01-02 06:33:52Z phpnut $ */
- /**
- * Short description for file.
- *
- * Long description for file
- *
- * PHP versions 4 and 5
- *
- * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
- * Copyright 2005-2008, Cake Software Foundation, Inc.
- * 1785 E. Sahara Avenue, Suite 490-204
- * Las Vegas, Nevada 89104
- *
- * Licensed under The MIT License
- * Redistributions of files must retain the above copyright notice.
- *
- * @filesource
- * @copyright Copyright 2005-2008, Cake Software Foundation, Inc.
- * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
- * @package cake
- * @subpackage cake.cake.libs.model.datasources
- * @since CakePHP(tm) v 0.10.0.1076
- * @version $Revision: 6311 $
- * @modifiedby $LastChangedBy: phpnut $
- * @lastmodified $Date: 2008-01-02 00:33:52 -0600 (Wed, 02 Jan 2008) $
- * @license http://www.opensource.org/licenses/mit-license.php The MIT License
- */
- uses('set');
- uses('String'); // add this line
- /**
- * DboSource
- *
- * Creates DBO-descendant objects from a given db connection configuration
- *
- * @package cake
- * @subpackage cake.cake.libs.model.datasources
- */
- class DboSource extends DataSource {
I hope this article help you.. ![]()
PHP CLI PROBLEM
January 4th, 2008
Today i’am was learning new web development technology, that is cakePHP web development framework. Yeaahh cake! web development that doesn’t hurt. And i wanna be a professional baker
.
So what’s the relation with cakePHP ? i will not explain what is cakePHP and why use cakePHP. I just want to share my solved problem when working with cakePHP when baking MVC using its console. If your are also a baker, you absolutely know why we are using php command line interface? and you are really same with me if you are using XAMPP for all in one server for web development. Why because i not want to be headcache for doing configuring, compiling, and man other suck tasks. Just unpack the XAMPP package, and you are ready for use it! Your life happy, and you have much time for your girlfriend to get a date with you!
But, unfortunately PHP CLI for the PHP 5 in XAMPP is not compiled in order support with MySQL, and other database extensions. So..? what we must do?
Use php cli for php 4. PHP CLI for php4 is good enough executing all of php application in cakePHP console that had been using pure PHP 5 Object Oriented Programming features.
Find PHP CLI for PHP 4 in xampp\php\php4\phpcli.exe
In order you can use it without any problem happen, you must follow this steps first :
- Set the your windows Environment variable. find in, right click My Computer, and go to Advance tab, and click the Environment Variables butto. Set the Path variable in the System variables group. Add the new value to the existing line with semicolon for separatinhpg new value. Add this value : drive_leter_where_u_save_xampp:\xampp\php\php4 . click Ok, and click Ok again, restart your computer, finish!
- You must use php cli with its important option. The options -c . For more information type phpcli -h in your console
Now you can use php cli for php cli for php 4 and free from suck error message and problem.
Example Use :
I used php cli for php 4 for my web app development with cakePHP console.
phpcli -c \xampp\php\php4\php.ini console\cake bake all
Enjoy..
All of My Ending Waiting to Begin
January 3rd, 2008
I was very amazed when first time i listening to Slipknot Subliminal Verse. A Song titled Circle very make me amazed.. the lyric that i think was very cloud. I Love the sentence in the lyric that state : “All of My Ending Waiting to Begin…..”
You know.., all of our ending is need to begin.. just like the ran race, it’s need the word “Begin!” for the race started. So, ending is not end of everything, because ending also a process that will to be end. Absolutely you can’t understand what i talking about. Just imagine the circle. Enjoy
CIRCLE
Give me the dust of my father
Stand on the face of the ancients
Bare the secret flesh of time itself
Follow me (Follow me)
I’ve come so far behind again
Follow me (Follow me)
Wish so hard I’m there again
Follow me (Follow me)
Follow me (Follow me)
All that I wanted were things I had before
All that I needed I’ve never needed more
All of my questions are answers to my sins
All of my endings waiting to begin
I know the way that I faulter
Can’t be afraid of my patience
There’s a sacred place where Razel keeps safe
Follow me (Follow me)
I’ve seen so much I’m blind again
Follow me (Follow me)
I feel so bad I’m in love again
Follow me (Follow me)
All that I wanted were things I had before
All that I needed I’ve never needed more
All of my questions are answers to my sins
All of my endings waiting to begin