Archive for the ‘work’ Category
Morning Calling
I have just called my old client, there is something he want to complain. There are two point then. First, there is one variable mandatory in CMS he want to change. From being mandatory to not mandatory. Second, the news list in front end, it’s disappeared and always display no data although in database there are many data.
experience makes perfect
Since 2 days ago, I have a trouble in coding case upload csv file. I developed the fiture in order my client can upload csv file. I used xampp and Windows OS. I had tested my script in localhost, it run well. But when I upload the file to server, it can not run as well. So I asked to network administrator, why such a problem coming? And then, he examined my script, and the conclusion was because they are in different environment, the server uses Linux Fedora. The flow of my script is like this, I uploaded csv and get tmp file from the csv and I store it in folder tmp like I’ve set before. And then the tmp files, I opened and parsing the content and store to MySQL database. Well, it’s different in the server, the tmp file has no permission for user, so the tmp file can not be opened
. So, I have to change my technique in uploaded csv file, I change that the csv file can upload into a folder I made without tmp file like before, and opened the csv file, buat the method to parse manually, not using a fast method like before. But, finally it was done. So, I’ve realize that the same environment between developer environment and server are so important.
Finally It’s Done
Finally UAT part business process was done. But they still want to check part CMS (Content Management System),yeah of course. Just confident that the CMS will be fine. I’ll wait report tomorrow while doing the other task. I have some trouble in doing my new task, my problem is when I was parsing the HTML file, and I integrated with the default system setting,the CSS file can’t load an image that I’ve need,but in the other case, I mean the other file can load an image with the same sintaks, may be it’s a mistake in path loading image or something I still don’t know. Let’s check it out, what a shamefull if just doing this we need a long time
.
Bug Again
The final UAT (User Acceptance Test) still have 1 bug. Hope that will be fixed soon and UAT will finish as well. My first task in Myindo made a Mini Hydro Power Directory in http://agmhp.aseanenergy.org. The CMS for the web already done by other person, so I have to make one new module named directory. The programming style of CMS before are OOP, so i have to follow that style, also the database were ready, I am just have to add some of table relation with MHP directory. Finally MHP directory done, but why today one bug is appear ?
