Search

Ubuntu Lucid, Reverting PHP to 5.2

Posted in Joomla!,Linux by jdam on May 19th, 2010

Ubuntu Lucid 10.04

I recently got an issue on PHP 5.3.2 via Ubuntu Lucid, after upgrading from Ubuntu 9.10 to Ubuntu 10.04, On one of the old Joomla! source I’m working on I keep getting this warning “Warning: Parameter 3 to showItem() expected to be a reference, value given in…. “.

The solution is downgrade your PHP 5.3.2 to PHP 5.2, here are the steps to follow.

1. On your /usr/local/sbin/, create php5_2-downgrade.sh, copy paste this source.

#!/bin/bash
# by Ruben Barkow (rubo77) http://www.entikey.z11.de/

# Originally Posted by Bachstelze http://ubuntuforums.org/showthread.php?p=9080474#post9080474
# OK, here's how to do the Apt magic to get PHP packages from the karmic repositories:

echo "Am I root? "
if [ "$(whoami &2>/dev/null)" != "root" ] && [ "$(id -un &2>/dev/null)" != "root" ] ; then
echo " NO!

Error: You must be root to run this script.
Enter
sudo su
"
exit 1
fi
echo " OK";

# finish all apt-problems:
apt-get -f install

# remove all your existing PHP packages. You can list them with dpkg -l| grep php
PHPLIST=$(for i in $(dpkg -l | grep php|awk '{ print $2 }' ); do echo $i; done)
echo these pachets will be removed: $PHPLIST
# you need not to purge, if you have upgraded from karmic:
aptitude remove $PHPLIST
# on a fresh install, you need purge:
# aptitude remove --purge $PHPLIST

#Create a file each in /etc/apt/preferences.d like this (call it for example /etc/apt/preferences.d/php5_2);
#
#Package: php5
#Pin: release a=karmic
#Pin-Priority: 991
#
#The big problem is that wildcards don't work, so you will need one such stanza for each PHP package you want to pull from karmic:

echo ''>/etc/apt/preferences.d/php5_2
for i in $PHPLIST ; do echo "Package: $i
Pin: release a=karmic
Pin-Priority: 991
">>/etc/apt/preferences.d/php5_2; done

# duplicate your existing sources.list replacing lucid with karmic and save it in sources.list.d:
#sed s/lucid/karmic/g /etc/apt/sources.list | sudo tee /etc/apt/sources.list.d/karmic.list

# better exactly only the needed sources, cause otherwise you can get a cachsize problem:
echo "# needed sources vor php5.2:
deb http://de.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic main restricted

deb http://de.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic-updates main restricted

deb http://de.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic universe
deb http://de.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic-updates universe

deb http://de.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://de.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ karmic-updates multiverse

deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
" >> /etc/apt/sources.list.d/karmic.list

aptitude update

apache2ctl restart

echo install new from karmic:
aptitude -t karmic install $PHPLIST

# at the end retry the modul libapache2-mod-php5 in case it didn't work the first time:
aptitude -t karmic install libapache2-mod-php5

apache2ctl restart

2. Open your terminal, chmod +x /usr/local/sbin/php5.2-downgrade
3. On your terminal, ./php5_2-downgrade.sh
4. Just follow the steps, everything is very straight forward.

  • Share/Bookmark

“The 5th Software Freedom Day by CP Union in University of Santo Tomas. Another history in the making”

This year SFD 2009 is another history in the making. 3D Blender was formally introduced to students by the core member team of Pinoy Blender User Group. A demo was conducted and students were excited to discover what they can do using Blender. A Blender is a 3D graphics application released as free software under the GNU General Public License. An addition to the list of Open Source Software joining the yearly celebration of Software Freedom Day.

Last 4 years ago 2nd Software Freedom Day was held in Polytechnic University of the Philippines. I was also there to support the birth of Joomla! CMS. Back then opensource is never been so colorful, unlike today there are a lot of famous variaties of opensource application such as Content Management System, Graphic Software, LAMP easy setup, famous IDE & etc. On one part of my session during afternoon session of Dynamic/ Static CMS (Joomla!), I say to all students & professionals “You should be proud that you are here today. Opensource is more colorful than ever, more knowledge & oportunity for everyone”

See you in the next more event to come…

Some links:

http://www.cp-union.com/cpunion/

http://www.cp-union.com/cpunion/content/2009/06/22/software-freedom-day-2009

http://www.pinoyblender.com/

http://buko.pinoyblender.org/

http://www.joomla.org.ph

.

  • Share/Bookmark

Drupal day in ortigas w/ Joomla!PH & Pinoy Google Developer

Posted in Events,Joomla!,Opensource Communities,Philippines by jdam on Sep 11th, 2008

Drupal day in ortigas w/ Joomla!PH & Pinoy Google Developer
Sep. 11, 2008 – 6:30 PM

VENUE
G2VC Innovation Center (Offices of Exist and Morp)
5th Floor, The Orient Square
F. Ortigas Road (formerly Emerald Ave.)
Ortigas Center, Pasig City

We will be discussing Joomla, Drupal and other open source CMS.
Special guest is Jay Aguilar, Pinoy developer who works at Google in California.

those who cannot attend can watch live video streaming: http://www.ustream.tv/channel/barcamp-manila

  • Share/Bookmark

Joomla! Philippines Local Forum

Posted in Joomla!,Opensource Communities by jdam on Jun 23rd, 2008

Finally, our very own local forum.

Joomla User Group Philippines (JUG-Ph) started as a small group of filipino
way back Mambo days that migrated when Joomla! was born.

At the subforum of Joomla!, Filipino community had grown rapidly until today.

There are a couple of disadvantages on our existing subforum.
1. Most of us needed to use bookmark just to access the forum.
2. Newbie find it very difficult to browse the filipino international zone.
3. Limited privilege for forum moderation.

But this doesn’t mean that we will abandon the international forum, as a matter of fact
we link the international forum for international support.

To unite the filipino and keep the fire burning. We at the Joomla! Philippines
Core Team would like to present to the community a new dimensions towards our
JUG-PH future.

Link: http://forum.joomla.org.ph/

  • Share/Bookmark

Joomla! Day Philippines – June 14, 2008

Posted in Events,Joomla!,Opensource Communities,Philippines by jdam on Jun 2nd, 2008

The Philippines is set to witness the next biggest event for the month of June besides Independence Day. On June 14, 2008, Filipino webmasters and amateurs alike will converge at the Engineering Library and Computer Science Building, Velaquez Street, UP Campus, Diliman, Quezon City to liberate not just Filipinos but every single individual in cyberspace. The event is dubbed as Joomla! Day Philippines.

Since knowledge in computer technology assures individual a competitive edge in the 21st century, Joomla! Day Philippines is indeed as remarkable event for Filipinos as Independence Day (June 12). Joomla! is an award-winning free open source content management system (CMS) enabling professionals and amateurs to build and administer feature-rich, powerful web sites without having to have an extensive knowledge of web programming languages. It is designed to power simple personal homepages as well as complex corporate web applications.

Joomla! has been applied by individuals and institutions to manage online magazines and newspapers, school and church websites, personal or family homepage, small business websites, non-profit and organizational websites, etc.

The best things in life are free but things could still get better when they bring freedom. Joomla!, apart from being free (available to all under GPL license), precisely brings freedom to its end users. A Joomla! package is easy to install that even non-programmers can install the software up and have it running all by himself. All it takes to install and manage a Joomla! powered site is basic knowledge in word processing. Moreover, there are more than 150,000 friendly users and developers in the Joomla! community who will be very much willing to inform and assist.

For software developers, Joomla! features a powerful application framework to allow them to create sophisticated add-ons such as inventory control systems, data reporting tools, complex business directories, custom products, the possibilities are endless.

Born in cyberspace on August 17, 2005, the software was not named Joomla! until fifteen days later on September 1, 2005. Joomla! is the English spelling of the Swahili word jumla which means “all together” or “as a whole”. Joomla! has since lived up to the meaning of its Swahili equivalent, a large number of software developers, computer programmers, webmasters of the world have united rallied behind the software. Joomla! is broadly deployed worldwide with more than 3.5 million downloads.

Shortly after Joomla! was made the official name of the software, the Philippines celebrated Software Freedom Day at the Polytechnic University of the Philippines (PUP) on September 10, 2005 joining the ranks of other nations in their quest for cyberspace freedom.

Come June 14, 2008, Filipinos online will once again express its commitment to the free software movement with the holding of the first-ever Joomla! Day Philippines – a great opportunity to learn and network with other Joomla! users and developers in the country. The conference will be attended by representatives from the Joomla! Core Team and Working Group, representatives from non-governmental organizations, local government units, and the business sector. Joomla! Day Philippines is another good reason to celebrate freedom after Philippine Independence Day. Don’t remove the Philippine flags just yet until June 14.

FOR MORE DETAILS VISIT www.joomla.org.ph

  • Share/Bookmark

Power of Magento and Joomla merge for the future of ecommerce

Posted in Joomla! by jdam on May 5th, 2008

Recently I was amaze of Magento’s beauty. Why is that so? It has smooth integration and cutting edge features that offers professional and reliable support from the passionate community of Magento.

Most of my project was previously created on virtuemart. But now, I would love to choose Magento over virtuemart. Currently, I’m playing with Joomla and Magento integration. It may encounter some bugs but I’m confident that this will be a challenge for the two community especially on the e-commerce industry.

As of April 2008 Magento and Joomla Integration is still on its beta stage. If you would like to try this integration you may visit the following link.

Magento and Joomla How tos
Magento Joomla! Integration Updates

  • Share/Bookmark

EB for April 19, 2008: All Filipino Joomla Enthusiasts and Developers

Posted in Joomla!,Opensource Communities by jdam on Apr 15th, 2008

What: EB for All Filipino Joomla Enthusiasts and Developers
When: April 19, 2008 – Sat – 1:30 PM – 5:30 PM (GMT +8)
Where: 28 Mapagkawanggawa cor. Magiting Street, Teachers Village
Diliman, Quezon City, Philippines 1101
[IPD Headquarters]

for the full announcement visit the forum

  • Share/Bookmark

Joomla forum migration from smf to phpbb3

Posted in Joomla!,Opensource Communities by jdam on Feb 13th, 2008

Almost 24 hours of waiting the new forum of Joomla was successfully migrated, just this Feb. 12, 2008. It was a sweet success for opensource community like Joomla. There is  a big difference now just imagine from smf to new phpbb3. Great job for the core and the rest of the moderator of Joomla. Its another history in the making.

  • Share/Bookmark

A tips for newbie on Joomla 1.5.0 Beta

Posted in Joomla! by jdam on Jan 5th, 2008

I assume that you already have Joomla 1.5.0 beta installed on your server.
And for your convenience here are some tips how to play smoothly.
Before you install any extension make sure that the required directory are writable.
To check the permission click on ( Help => System info ).

To support older version of Joomla extensions such as template, components, and modules
enable the “System – Legacy” go to extensions => plugin manager.

Here are the list needed to be writable:

administrator/backups/
administrator/components/
administrator/language/
administrator/language/en-GB/
administrator/modules/
administrator/templates/
components/
images/
images/banners/
images/stories/
language/
language/en-GB/
language/pdf_fonts/
modules/
plugins/
plugins/content/
plugins/editors/
plugins/editors-xtd/
plugins/search/
plugins/system/
plugins/user/
plugins/xmlrpc/
tmp/
templates/
Cache Directory /home/jdsits08/public_html/cache/
Cache Directory /home/jdsits08/public_html/administrator/cache/

I may update this tips from time to time. More tips coming soon….

  • Share/Bookmark

Two day event of 1st Philippine Conference on FOSS and E-Governance

Posted in Events,Joomla! by jdam on Mar 8th, 2007

The two day event of the 1st Philippine Conference on FOSS and E-Governance at the Shangrila Hotel, Mandaluyong City was a success to Pinoy Joomla User. It is also the first meet ups of Joomla pinoy since Joomla was born. Even we don’t have enough time for preparation still the event was a success.

  • Share/Bookmark