Upgrading to WordPress 3.0

No Comments »

Pretty easy actually, noting that I’ve upgraded from WPMU 2.9 with just 2 sites and running Apache with XAMPP. For the windows IIS users, hmmm… I’ll have to figure it out later at work. But with mod_rewrite enable in httpd.conf and .htaccess already reconfigured on upgrade, that was easy.. The only hiccup was the thumbnails in the secondary blogs were not showing up although the path and files were correct. WordPress does give a note that

The wp-content/blogs.php file is deprecated. Please remove it and update your server rewrite rules to use wp-includes/ms-files.php instead.”

What it actually means is that you have to edit .htaccess under the root folder and change

“RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2″

For

“RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2″

Quite evident really but sometime you just have to know these things…

Posted on June 22nd 2010 in IT/ Network Admin, LAMP-sites

Subnet Calc

No Comments »

It’s been a while since I programmed in PHP/MySQL. The last program I made was to manage the set of IPv4 addresses we have across the different sites we manage. It never really kicked off but the IP calculator I made is pretty handy. I know there are quite a few, with more features out there on the Internet but I like mine, simple and for people who know what they are looking for. This site was quite nice because I really got into more details, AJAX features and the usability was quite nice. I hope I find the time to work more on it in the future.

Posted on June 22nd 2010 in IT/ Network Admin, LAMP-sites

Remote Publishing, WordPress

No Comments »

I will sound a bit old-fashioned but my favorite word editor is and has always been “NOTEPAD”. It is way easier and less distracting that having to click a dozen times to get to the editor and get used to all the button/bars which changes from one page to another… I like the new Office 2010 (with the hidden ribbon), and the ability to publish directly with all the easy editing features is the icing on the cake.

HOW TO ??
http://www.screencast.com/users/absando/folders/Jing/media/2009773c-0bf6-4064-a528-e1918f5589f2

Posted on June 9th 2010 in IT/ Network Admin, LAMP-sites

## New XAMPP security concept (Apache 2.2)

No Comments »

hey

The new version of Apache 2.2 (installed with xampplite) comes with a set of new securities and I was installing WordPress for a friend of mind and it was a real pain in the a** to get his website published on the Internet.

Eventually, (just stick with it.. you’ll find the light.. initially we just get blinded by the “problem” and the problem of it being another new problem..) it was written very clearly at the end of the file

D:\xampplite\apache\conf\extra\httpd-xampp.conf

## New XAMPP security concept
<LocationMatch “^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))”>
Order Deny,Allow
Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>

For me it only made sense to make it all accessible through the Internet (.. the beauty of having it all anywhere in a webpage :) .. ) so I just changed
Deny from all to Allow from all

Just be careful though to put a password on MySQL database and changing the Acces through PhpMyAdmin..

Step 1:  Go into Phpmyadmin and change the mysql password..

- open your phpmyadmin page..
- Go to priviledges
- Edit Root Priviliges
- Change Password

Step 2:  Change the access method of phpmyadmin for Log-in..

D:\xampplite\phpMyAdmin

$cfg['Servers'][$i]['auth_type']            = ‘cookie‘;
$cfg['Servers'][$i]['user']                 = ‘root’;
$cfg['Servers'][$i]['password']             = ‘MyPassword‘;
$cfg['Servers'][$i]['AllowNoPassword']      = true;

And that’s it.. all good to go..

Well not quite for me.. we wanted to another “vitual directory” (the Microsoft guy would say) or rather an Alias (the Linux guy would say) that would give a /oterdirectory to a completely different folder on the disk..
http://www.mysite.com -> c:\xampplite\htdocs
http://www.mysite.com/software -> d:\MySoftware

Ok that was another tricky one since we have those additional securities of Apache right??.. Well turned out pretty simple to add.. Just set the securities on the folder as read for Everyone, then edit the file and add the following just before the </ifModule>..

D:\xampplite\apache\conf\extra\httpd-xampp.conf

Alias /software “D:/MySoftware/”
<Directory “D:/MySoftware/”>
Options Indexes
Order Deny,Allow
Allow from all
</Directory>

(Oh, Option Indexes - That is to make the folder Internet browesable.)

Posted on October 23rd 2009 in IT/ Network Admin, LAMP-sites

Calendar Pick

No Comments »

This week I had to make some modification in this little project I’m working with a friend and needed a new calendar pick.
The one I used to use was easy and just had to be an “include” and javascript parameter in the <’ input /> field, but wasn’t so nice looking and I guess pumped up the page because of the long include file.. Anyways, I’ve seen 2 which I liked and finally chose one, GNU License baby!! :)
My Previous Onezip
New Original Onezip -> Author: Martijn Korse , Website: http://devshed.excudo.net
New Modified One - zip

Modificiations was essentially to keep the basic feature that I needed and reduce the coding load so it is easy to integrate in multiple pages when working on a project. Well, just trim down the codes into external files and include them with PHP..

Thanks guys..


Posted on August 23rd 2009 in LAMP-sites

New project – Amagob Budget

No Comments »

The current project is to put in place a 1year financial plan and organize the family activities in a calendar. All expenses and gains are tabulated at the end of the month and compared to a budgeted figured that has been estimated at the beginning of the year..

Budget

Posted on February 16th 2009 in LAMP-sites

Old Projects

No Comments »

I’ve uploaded some of my old beginner’s projects. They design layout are very basic and not so nice looking but they do what I wanted them to do. The idea at this stage was to learn and master the tools and features keeping it simple and easy. (see in pages section for more detail on each website)

Radio Station

Feedback

Quotator

Aftersales

JVC

Posted on February 16th 2009 in LAMP-sites