Joomla

Joomla 1.5 to 1.6

Upgrading a site from Joomla 1.5 to 1.6.

Much of this is taken from : http://docs.joomla.org/Migrating_from_Joomla_1.5_to_Joomla_1.6

  1. Unser cPanel go in to Fantastico and upgrade your Joomla 1.5 to the latest release... 1.5.23
  2. Under your cPanel account make a full site backup and down load it.
    If things go bad we can restore your site to this backup.
  3. Download the latest from here or here http://wk.ai.net.nz/downloads/com_jupgrade-1.2.0.zip
  4. or for the latest http://redcomponent.com/free-downloads

 

 

 

Issues

Where is php.ini

Needded to edit this so jUpgrade would work, it was timing out. Since I am running cPanel I did this:

 

php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
php -i | grep php.ini

And got this:

Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini

 

So I edited /usr/local/lib/php.ini

;;;;;;;;;;;;;;;;;;;

; Resource Limits ;

;;;;;;;;;;;;;;;;;;;


max_execution_time = 0     ; Maximum execution time of each script, in seconds

max_input_time = 60 ; Maximum amount of time each script may spend parsing request data

memory_limit = 128M      ; Maximum amount of memory a script may consume (32MB)

 

Joomla and Mysql

Had an interesting problem.

One of my hosted sites lost the mysql database for Joomla, not sure, but it would appear that a sysadmin some how deleted the mysql database, but we did not know this until the user went to their website and found it gone.

Database Error: Unable to connect to the database:Could not connect to MySQL

I take two backups from my cPanel, one via cPanel, and one via my owb backup system.

Therefore I had a copy of the database sitting on my remote backup server.

  1. Copied back the remote backup.
  2. Put the Joomla, mysql database back in to /var/lib/mysql
  3. Set all chmod and chown to correct settings
  4. Website still gone
  5. In mysql there is no user or db records for this site/database
  6. Used this script to create the needed users for this database.
  7. Replace the'something' with what it should be, every site will be different.
USE mysql;
REPLACE INTO user (host, user, password)
VALUES (
'localhost',
'something_jo151',
-- IMPORTANT: Change this password.
PASSWORD('somethingelse')
);

REPLACE INTO db (host, db, user, select_priv, insert_priv, update_priv, delete_priv,
create_priv, drop_priv, references_priv, index_priv, alter_priv, create_tmp_table_priv,
lock_tables_priv, create_view_priv, show_view_priv, create_routine_priv, alter_routine_priv, execute_priv)
VALUES (
'localhost',
'something\_jo151',
'something_jo151',
'Y', 'Y', 'Y', 'Y',
'Y', 'Y', 'Y', 'Y',
'Y', 'Y', 'Y', 'Y',
'Y', 'Y', 'Y', 'Y'
);

FLUSH PRIVILEGES

My customers site was back.

select_priv, insert_priv, update_priv, delete_priv, create_priv, drop_priv, references_priv, index_priv, alter_priv, create_tmp_table_priv, lock_tables_priv, create_view_priv, show_view_priv, create_routine_priv, alter_routine_priv, execute_priv

Podcasting

The main tool I used for pod-casting is 1Pixelout Audio Player

You can find it here and download for a small donation, $3.00. Well worth it!

If you have a site with us we may have already installed it.

  • Once installed this extension needed to be activated,
  • under the menu item Extensions >> Plugin Manager >> Click to enable Content - 1Pixelout Audio Player

I generally create a folder in my Joomla Website called MP3 and use Firefox and FireFTP to upload my MP3 podcasts.

Download Firefox from HERE

Download FireFTP from HERE

Setup FireFTP to login to your website:

  1. The Account Name can be anything you like
  2. The Host must be the FQDN for your site i.e. www.mysite.co.nz
  3. Login is as I have provided to your previously
  4. Password is as I have provided to your previously
  5. Click on OK

Now connect.

You will get a listing of your web account. You are interested in the directory called public_html.

Go into this directory and make a new directory called mp3

  • Once inside public_html right click anywhere in side the right hand panel.
  • Click on the Menu item "Create Directory"
  • Name this mp3
  • Save
  • Go inside this Directory
  • In the left hand panel navigate to where your mps files are
  • Select the files you want to upload
  • Click the green right point button to upload

Once you have uploaded the pod-casts we need to create or edit an article that holds the pod-casts.

Examples of use:
Start with the first example and once you have that working try something more interesting.

{audio}file.mp3{/audio}

{audio}http://uri/mp3/file.mp3{/audio}

{audio autostart:yes}Title of song|/mp3/file.mp3{/audio}

{audio autostart:yes;loop:no;leftbg:00FF00;rightbg:0000FF}Name of Artist|Title of song|/mp3/file.mp3{/audio}

{audio width:180}Name of Artist1|Title of song1|file1.mp3;Name of Artist2|Title of song2|/mp3/file2.mp3{/audio}

ai Domain Check

Domain Name :
Check All Domain Types
.co.nz .net.nz
.org.nz .gen.nz
.school.nz .ac.nz
.maori.nz .geek.nz