Author Archive
BSD Posix Bug In PHP 5.2.1
Written by Harald Ponce de Leon on February 28, 2007 – 4:40 pm -There’s a posix related bug in PHP 5.2.1 that affects BSD systems. The closest bug report is 40410 which was reported for 5.2.1 RC 4 and is marked as closed.
Although 40410 fixed a posix related compilation error, usage of the PHP function posix_getgrgid() in PHP 5.2.1 returns the following fatal error:
Fatal error: Out of memory (allocated 2097152) (tried to allocate -1 bytes) in /tmp/test.php
This was reported to Anthony Dovgal, who took care of 40410, and confirmed that this problem was fixed in 5.2.2-dev (php5.2-200702281330).
I came across this problem today while working on the Administration Tool -> Tools -> File Manager section, which uses the posix_getgrgid() function to display the group owner name of the files and directories. As Mac OS X is based on BSD, it also affected my development environment.
Restoring From A Backup
Written by Harald Ponce de Leon on February 28, 2007 – 1:06 am -Some updates were backported today to the osCommerce 2.2 development branch regarding the Backup Manager section on the Administration Tool.
The problem that was addressed was that the contents of the sessions database table was being restored from an earlier state when the backup was made. This behaviour could introduce a conflict in session data when a database restoration would merge the session data if an earlier session ID is currently in use again.
The chances of this occurring would be rare and has been fixed so that the backup logic does not store the contents of the sessions database table in the sql dump, and the restoration logic clears the sessions table when an import is performed.
The changes here will be included in the next 2.2 Milestone 2 update package, and can be manually performed by reviewing commit r1274.
I Want To Ride My Bicycle
Written by Harald Ponce de Leon on February 13, 2007 – 2:26 am -Hi All! It’s been a while since my last blogging entry so here is a quick wrap-up of what has been happening.
We’re still working hard on the 3.0 Alpha 4 release and wanted to have gotten the final 3.0 release ready at the end of 2006. The features on the roadmap for the 3.0 release are not what is extending the 3.0 release schedule, but the core framework that is continually being improved on during the alpha release development cycle.
The current ticket (OSC-23) being worked on implements batch capabilities to the Administration Tool and is being programmed together with a major framework update. This brings in a more OOP approach to the Administration Tool that matches the Catalog side, and opens opportunities for the core and for add-ons to take advantage of, especially by means of administrative RPC calls.
This is the last major framework update that will be worked on for the 3.0 release, where cleaning-up and polishing will occur during Alpha 5 and Alpha 6.
We’re looking at releasing 3.0 Alpha 4 by the end of the month, and Alpha 5 and 6 quickly thereafter.
I will also post new movies showing some new features on the Administration Tool but this will wait until ticket OSC-23 is finalized.
Frank Heinen has joined the development group in the team and has been of great help with taking care of reported tickets/issues and being active in the community. Our priority is getting the Alpha 4 release finalized, and look forward to working closer with additional developers as soon as it is released to help with future releases.
Over to the community support forums, the forum software was upgraded today and also brings in a change to the representation of the team to the community. All team members usernames have been changed to their real names, and will also incorporate photos of themselves in their user profiles. To keep a reference, the username changes are:
hpdl -> Harald Ponce de Leon
241 -> Stephen Bissett
BlueNoteMKVI -> Chris Dunning
F.R.@.N.K -> Frank Heinen
wendyjames -> Wendy James
modom -> Melinda Odom
The_Bear -> Pierre Rollin
wheeloftime -> Howard van der Burgt
andyy15 -> Andrew Yuen
Please report any unusual problems introduced with the forum software upgrade in the Project Feedback channel on the forums (or directly to a team member if you can’t view the forums at all now :-)). Please be sure to refresh your browsers cache as there may be some minor CSS or javascript issues.
On the personal side, my responsibilities have increased by being a proud owner of a dwarf-hamster. This was a christmas present given to me and was presented as “I-Ham: Internet Capable Hamster”
It’s nice seeing her run around in her environment when I’m still working late at night ![]()
