Koozali.org: home of the SME Server

Joomla 1.5 on SME Server 7.2

Offline calisun

  • *
  • 620
  • +0/-1
Joomla 1.5 on SME Server 7.2
« on: September 21, 2007, 10:31:33 PM »
Since there is no contrib for Joomla 1.5, I have decided to install it using joomlas own web installation program. Everything works great after install, up to a point when I make updates to SME Server. At that point, joomla looses a lot of functionality. One example is Polls, before updates to SME server, when one casts a vote, you get a nice screen with poll results and number of votes cast. But after SME update, when I hit "vote" I get a message: Article Rating:: Invalid Rating: 0

Looks like SME updates override some joomla settings. Does anybody know how to keep this from happening?
« Last Edit: September 25, 2007, 12:45:46 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
Re: Joomla 1.5 on SME Server 7.2
« Reply #1 on: September 22, 2007, 10:28:00 AM »
Joomla 1.5 is not yet released AFAIK, so I wouldn't bother too much with it yet :-?
I'm a heavy Joomla-user myself, and I'll certainly look into the procedures once it's finally released. I would suspect though, that you need to create a couple of custom templates in order to get it working correctly on SME 7.2.

A fast way to find out would be to make local copies of certain files (  /etc/httpd/conf/httpd.conf  and possibly some more ) BEFORE installing Joomla 1.5, and afterwards compare them with the actual files using diff

That would give you an idea of what custom template gragments you should create...

But as I wrote earlier, I'll wait until it's finally released.

 

Offline judgej

  • *
  • 375
  • +0/-0
Re: Joomla 1.5 on SME Server 7.2
« Reply #2 on: September 22, 2007, 10:54:49 PM »
What you see is exactly what I would expect: SME Server and Joomla install both trying to configure the same files, and falling over each other.

Instead, why not just copy the Joomla files into an iBay and install from there? It works a treat - you can be up and running in five minutes.

-- JJ
-- Jason

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #3 on: September 23, 2007, 10:14:13 PM »
Joomla 1.5 is already Release Candidate 2,  it is pretty much finished, so I would not hesitate using it on a production server.

----------------------------
-Quoting judgej-
just copy the Joomla files into an iBay and install from there
-----------------------------

That is exactly what I did, I am not aware of any other way of doing it.
And yes, it works great until I do SME updates, and than I loose many Joomla functionalities.
« Last Edit: September 25, 2007, 12:52:01 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
Re: Joomla 1.5 on SME Server 7.2
« Reply #4 on: September 25, 2007, 11:59:31 PM »
AFAIK, there will be a RC3 as well before it's final release.

I've learned to wait until releases before spending too much time :pint:

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #5 on: September 26, 2007, 02:13:53 AM »
jumba

good suggestion about making local copies and than comparing to see what has changed. I will do some experimenting and see if I can figure this out.
 
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Joomla 1.5 on SME Server 7.2
« Reply #6 on: September 27, 2007, 10:55:47 PM »
Joomla 1.5 is already Release Candidate 2,  it is pretty much finished, so I would not hesitate using it on a production server.

----------------------------
-Quoting judgej-
just copy the Joomla files into an iBay and install from there
-----------------------------

That is exactly what I did, I am not aware of any other way of doing it.
And yes, it works great until I do SME updates, and than I loose many Joomla functionalities.

Try This but remember the security issue. Maybe you can see what needs to be done to stop the issue of updates undoing what you did.

Create database:
===========

Login as root and type 'mysql'. At the mysql promt:
Code:

CREATE DATABASE yourdatabasename;
GRANT ALL PRIVILEGES ON yourdatabasename.* TO yourdatabasename@localhost IDENTIFIED BY 'yourpassword';
FLUSH PRIVILEGES;
quit



(choose your own name for "yourdatabasename" and "yourpassword")

Create ibay:
========
Create a new ibay or use Primary
Go to the "html" directory of your ibay and delete the file "index.htm".


Make the "PHP session save-path" writable:
=========================
Code:

/sbin/e-smith/db accounts setprop youribayname PHPBaseDir /home/e-smith/files/ibays/youribayname/:/tmp
/sbin/e-smith/signal-event ibay-modify youribayname



(change "youribayname")

Get the software:
===========
Get the latest version from the Joomla! site:

http://developer.joomla.org/sf/frs/do/downloadFile/projects.joomla/frs.joomla_1_0.1_0_11/frs6655?dl=1

or whatever version you wish. I suggest the latest stable version.

Unpack the file with:

Code:

tar -zxvf Joomla_1.0.11-Stable-Full_Package.tar.gz



and copy the directories and files to the "html" directory of your ibay.


Start Joomla!
=========

In your browser type:
Code:

http://your.domain.name/youribayname



Follow the instructions of the install-program.
The install-program will tell you which directories you have to make writable.
In your ibay's html-directory you can make them writable with:
Code:

chmod -R 777 mambots modules ...........

(I don't remember exactly which directories you have to make writable but the install program will tell you)

You can get your language files from: http://extensions.joomla.org/component/option,com_mtree/task,listcats/cat_id,1837/Itemid,35/. Unpack and copy them to
Code:

/home/e-smith/files/ibays/youribayname/html/language



There are a lot of add-ons and templates. I use the templates from http://www.rockettheme.com/
You can find add-ons at http://www.joomlaresource.com/

success

This was done by someone else and I have tested it and it works. Take a look at expand template and get the answer.

Carl



« Last Edit: September 28, 2007, 10:45:09 PM by cbacani »

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #7 on: October 02, 2007, 02:13:54 AM »
Thanks Carl,
What you have explained I have already done, only difference is I used phpmyadmin to create and edit database.

I do have one question for you, you said:
"Take a look at expand template and get the answer."

Can you please explain.

Thanks
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #8 on: October 07, 2007, 08:24:14 AM »
Joomla 1.5 is now Release Candidate 3, Next step for Joomla 1.5 is final. I would like to figure this out so I can run joomla 1.5 on SME Server when final version is out. 
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline kruhm

  • *
  • 680
  • +0/-0
Re: Joomla 1.5 on SME Server 7.2
« Reply #9 on: October 08, 2007, 03:21:30 PM »
I suggest installing Joomla in the  /opt directory rather than an ibay.

There are certainly enough broken Joomla installs out there to convince anyone that they need to pay attention to security matters concerning any type of cms. Also I would suggest not chmod'ing anything to 777. If you do, only do so temporarily to make the changes then chmod back to 755.

It's important to note also that the Joomla project is in a downward spiral will probably pass along the wayside (like so many other great projects). Many external devs have left or plan to leave once the next milestone it hit. There are important lessons here for anyone managing a team or a project. Interesting to watch. Sad to see.

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Joomla 1.5 on SME Server 7.2
« Reply #10 on: October 08, 2007, 08:07:23 PM »
I suggest installing Joomla in the  /opt directory rather than an ibay.

There are certainly enough broken Joomla installs out there to convince anyone that they need to pay attention to security matters concerning any type of cms. Also I would suggest not chmod'ing anything to 777. If you do, only do so temporarily to make the changes then chmod back to 755.

It's important to note also that the Joomla project is in a downward spiral will probably pass along the wayside (like so many other great projects). Many external devs have left or plan to leave once the next milestone it hit. There are important lessons here for anyone managing a team or a project. Interesting to watch. Sad to see.

As I said please read the first line in my post as stated it IS a security risk if you have 2 or more Joomla sites running. I woun't explain it here as that would be really stupid. Follow the directions for installing in the /opt directory. The above script was ment to allow some people a quick and dirty way to get a site up and running in a few moments. Until we work out the security bugs - use it at your own risk.

Also Kruhm is correct in stating NEVER chmod a directory to 777 and leave it that way. Remember when the Internet was friendly, I remember back to 1979 and using the now internet in a different way! Now, People just want to be upset and angry and over what? Hacking and spam is all destructive and that is easier than to build. The people involved with SME are some of the greatest people around. Long live SME. and no this isn't a rant so don't get me started.  :-x

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #11 on: October 08, 2007, 11:31:46 PM »
It's important to note also that the Joomla project is in a downward spiral will probably pass along the wayside (like so many other great projects). Many external devs have left or plan to leave once the next milestone it hit. There are important lessons here for anyone managing a team or a project. Interesting to watch. Sad to see.

That is strange, I thought that Joomla project is growing, you can see more and more users signing up on their site.

I suggest installing Joomla in the  /opt directory rather than an ibay.

Can someone point me to a place where I can read why to install joomla in /opt directory and not ibay?
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline cbacani

  • *
  • 111
  • +0/-0
Re: Joomla 1.5 on SME Server 7.2
« Reply #12 on: October 09, 2007, 12:31:15 AM »
snoble suggested an alternate implementation of joomla
this is installed in /opt/joomla rather than Primary

Joomla, Portal & CMS
yum install joomla smeserver-joomla

> YourServer.net/joomla

joomla.org
Joomla - the dynamic portal engine and content management system

0.
For new installs [;\ lets you copy and paste in one go]
touch /opt/joomla/configuration.php ;\
chmod 660 /opt/joomla/configuration.php ;\
chown www.www /opt/joomla/configuration.php

yes this is a pain, but it now won't be overwritten on upgrades

nano /opt/joomla/globals.php, edit 1 to 0 if required
define( 'RG_EMULATION', 0 );
(why does it ship this way ??)

1.
During installation you will be asked for your mysql details
databasename 'joomla'
user 'joomla'
find mysql password with 'config show joomla', [see extra settings below]

2. after installed, rm -rf /opt/joomla/installation

3. Setup of joomla itself will take some time, we suggest you change the default template, and visit joomlahelp.org

4. to add a more memorable URL eg. YourServer.net/site
as described below, as well as this extra step pico -w /opt/joomla/configuration.php and
edit $mosConfig_live_site from joomla to site

Carl

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #13 on: October 09, 2007, 12:59:27 AM »
Thanks,
I have three questions,

1) I still don't understand Why to install in /opt and not ibay.

2) You said: YourServer.net/joomla
Right now I install in ibay, I point domain to that ibay, and everybody can get to it by just typing mydomain.com, so what you are saying is if I install in /opt, people will only be able to get to it by typing mydomain.com/joomla??

3) You said: it IS a security risk if you have 2 or more Joomla sites running.
I have 5 domain names, all on my SME server at home. 3 of them I use regular HTML, and 2 of them I have on Joomla. Each in a separate ibay, separate SQL database and different passwords. Is that still a security risk?

(you guys don't have to answer here, you can just post links as to where I can read about it).
« Last Edit: October 12, 2007, 05:27:58 AM by calisun »
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite

Offline calisun

  • *
  • 620
  • +0/-1
Re: Joomla 1.5 on SME Server 7.2
« Reply #14 on: October 15, 2007, 10:33:33 PM »
It's important to note also that the Joomla project is in a downward spiral will probably pass along the wayside (like so many other great projects). Many external devs have left or plan to leave once the next milestone it hit. There are important lessons here for anyone managing a team or a project. Interesting to watch. Sad to see.

I have searched the interned, and I don't see any signs of Joomla being on downward spiral. Contrary to that, I see a huge international following. Recently they had Joomla! Day in, New York, Ontario and newest one upcoming is in Budapest, Hungary.

PS.Does anyone know answers to my previous questions?  I know that to some of you die-hard Linux users, these questions might be stupid, but how can anybody learn if we don't share knowledge.
SME user and community member since 2005.
Want to install Wordpress in iBay of SME Server?
See my step-by-step How-To wiki here:
http://wiki.contribs.org/Wordpress_Multisite