Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: steever on October 08, 2004, 01:18:10 AM

Title: MAMBO NEWSFEEDS
Post by: steever on October 08, 2004, 01:18:10 AM
HI!
I run a Mambo 4.5.09 site in my Primary ibay:  it works like a dream except I can't display any newsfeeds - the newsfeeds I want to use are RSS feeds from other sites on my box, and from outside.

Anybody got this working with Mambo, or anyone who can do it using geeklog or phpnuke etc, please respond.

Steever
Title: how did you get your /tmp folder writable for Mambo?
Post by: cb122 on October 12, 2004, 04:30:32 AM
subject states it all I am trying to install mambo on a fresh 6.0.1 install

Thanks
Chris
Title: /tmp directory
Post by: MarkR on October 15, 2004, 04:23:37 PM
I have mambo 4.5.1 running, not tried RSS, (shall give it a whirl)

as for the tmp directory, i entered the following at the command prompt.

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

it worked for me.
(dont forget to change <ibayname>)
Title: Mambo HowTo
Post by: EdelingF on October 16, 2004, 08:22:49 PM
I was looking for info about Mambo and came about your posts.
Is there a HowTo about installing Mambo on SME6?

Freek
Title: Mambo HOWTO
Post by: synaptic on October 18, 2004, 09:08:27 AM
I just did this.
See if its any use. PLEASE if you find errors contact me..

https://www.synapticserver.com/Mambo_howto.html

regards
Robert Slater
www.synapticserver.com
Title: MAMBO Howto
Post by: synaptic on October 20, 2004, 10:56:55 AM
watch this space for a slightly more [ahem] finished howto.... :roll:

http://www.synapticserver.com/mambo-howto.htm
Title: MAMBO NEWSFEEDS
Post by: Bernt on October 21, 2004, 05:23:22 PM
Hi!

Thanks for nice the HowTo. I followed the instruction for the Primary ibay and ran in to problem.

 mysql mambo < mambo.sql

ERROR 1064 at line 7: You have an error in your SQL syntax near 'bid int(11) NOT NULL auto_increment,
  cid int(11) NOT NULL default '0',
  t' at line 1

Best Regards
/Bernt
Title: MAMBO NEWSFEEDS
Post by: Jon_Reynolds on October 28, 2004, 10:08:57 PM
Quote from: "Bernt"
mysql mambo < mambo.sql

ERROR 1064 at line 7: You have an error in your SQL syntax near 'bid int(11) NOT NULL auto_increment,
  cid int(11) NOT NULL default '0',
  t' at line 1


Hi Bernt,

I was also having the same problem and I found a really stupid simple work-around. Try this, download Mambo and unpack it in your /home/e-smith/files/ibays/Primary/html/ if you want it to be off your main site make a directory called mambo or whatever and put that in the Primary ibay, e.g. /home/e-smith/files/ibays/Primary/mambo/.

The point your browser at the ip address that you have downloaded and unpacked mambo on and follow the webbased setup.

How easy is that?

Hope that helps,

Jon
Title: MAMBO NEWSFEEDS
Post by: Jon_Reynolds on October 29, 2004, 07:08:46 AM
Ok, having just gone through this again let me clarify a little better on the steps I used. I installed directly into my Primary ibay so that is how I am explaining this.

Mambo:

1. Download mambo

2. Move mambo
mv Mambo-<version>.tar.gz /home/e-smith/files/ibays/Primary/html/

3. Change directory into Primary/html/ directory
cd /home/e-smith/files/ibays/Primary/html/

4. Untar mambo
tar zxvf Mambo-<version>.tar.gz

5. Create the data base
mysqladmin create mambo

6. Drop down into mysql
mysql

7. Add the DB user this is one long command
grant all on mambo.* to mambouser@localhost identified by 'pass';

8. Flush mysql
flush privileges;

9. Quit mysql
\q

10. Create the configuration.php file
vi configuration.php

11. Save configuration.php file
:wq

12. Change ownership on html directory
chown -R admin.shared /home/e-smith/files/ibays/Primary/html

13. Change the mode for the configuration.php file
chmod 777 config

Thats it....almost. :)

Open a web browser and point to the local IP address of your e-smith server and follow the instructions. I had to change the permission of the directories to be able to write to them. You may have to do the same.

Hope that helps,

Jon
Title: changing permission in directories to install Mambo
Post by: Jáder on November 12, 2004, 11:55:39 AM
Hi

I just do not know what to do to change directories permission to enable writing

(why this S**T do not came with right permissions!!!!).


I have done
chown -R admin.shared <html directory>/
chmod -R 664          <html directory>/

I now have this:
administrator/backups/ Unwriteable
administrator/components/ Unwriteable
administrator/modules/ Unwriteable
administrator/templates/ Unwriteable
cache/ Writeable
components/ Writeable
images/ Writeable
images/banners/ Unwriteable
images/stories/ Unwriteable
language/ Writeable
mambots/ Writeable
mambots/content/ Unwriteable
mambots/search/ Unwriteable
media/ Writeable
modules/ Writeable
templates/ Writeable

(all subdirs are Unwriteable!!!)

I´m testing mambo 4.51a!

Thanks in advance by any help/tip!

Regards

Jáder
Title: MAMBO NEWSFEEDS
Post by: Jon_Reynolds on November 29, 2004, 01:16:45 AM
Hi Jader sorry for the long delay in my reply.

You have to make those files writeable by making them 777 or whatever to giver everyone permission to write to the file. I think that is what I did when I did this. It probably just needs to be writeable by whoever is trying to access those files. I don't know who that would be because I ran out of time to keep working on it and my workaround was just a chmod 777 on those files.

hope that helps,

Jon
Title: chmod 777
Post by: Jáder on November 29, 2004, 07:09:44 PM
Hi

No problem with delay... I have my MAMBO working... but I avoid to chmod 777 anything... this is my LAST resource! :D

I found here a howto about Mambo... and it appears to work. I haven´t done hard tests... but everything appears to be working! :)

Jáder
Title: mambo HOWTO
Post by: synaptic on January 31, 2005, 12:08:19 AM
Hi all
Its a really bad idea to set the configuration.php to 777 this allows world readable and writable permissions to this file.
Someone else can reset your pasword,delete your database and gain access to your system..

That said...

I did enable " Notify me when a reply is posted" but I don't appear to have got the posts :-(

I will update the HOWTO ASAP with all the added info...