actualy this is not realy a installation problem since my s9y runs great. But it kind of bugs me that I have to run in a wraper.
I didn't find any mambo / joomla component for this.
I tried it on my own by creating in the components directory a link to my blog
ln -s com_blog /var/www/dracula/blog/ and then in the serendipity directory I created a link blog.php -> index.php then I went to my mambo installation with index.php?option=com_blog but then s9y tries to start the admin php to do the installation. I changed path and everything and also did a little modification in the source so that it doesn't do http Autodetect host when running in embeded mode but with no result.
anybody got this running in mambo / joomla or a module / component for s9y ?
joomla / mambo integration
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: joomla / mambo integration
If you embed serendipity, you need to pay attention that you previously chdir() to the s9y directory, so that s9y can find it's installation files! After the s9y installation, you can/must chdir() back to the directory where joomla started from.
Sadly I have never used Mambo/Joomla, so I cannot give you feedback on this.
Best regards,
Garvin
Sadly I have never used Mambo/Joomla, so I cannot give you feedback on this.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
thank you thank you thank you !
this is sooooooooo easy after your tip with the chdir.
so what I did is install the blog in components/com_blog/ direcotry ( or com_foobar ) mambo / joomla then uses this as component if you enter as link index.php?option=com_blog ( or com_foobar ) then you need a blog.php ( or foobar.php ) with just a simple content
this is it ... then serendipity works
don't forget to set serendipity in embeded mode ...
/me happy ...
this is sooooooooo easy after your tip with the chdir.
so what I did is install the blog in components/com_blog/ direcotry ( or com_foobar ) mambo / joomla then uses this as component if you enter as link index.php?option=com_blog ( or com_foobar ) then you need a blog.php ( or foobar.php ) with just a simple content
Code: Select all
<?
chdir("/var/www_livadaru/html/cristian/components/com_blog");
include('index.php');
chdir( "/var/www_livadaru/html/cristian/");
?>
don't forget to set serendipity in embeded mode ...
/me happy ...
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
That's great! Maybe you can tell that on the Mambo/Joomla! forums as well, in case other people are interested
Best regards,
Garvin
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 340
- Joined: Sun Jun 12, 2005 5:28 am
Re: joomla / mambo integration
Hi
I have done everything as explained in here but I am getting something I could not really expect..
Any ideas ?
Many thanks
I have done everything as explained in here but I am getting something I could not really expect..
Code: Select all
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/44/d35/htdocs/components/com_blog/include/db/mysql.inc.php on line 270
serendipity error: unable to connect to database - exiting.
Many thanks
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: joomla / mambo integration
Hi ranman!
the error messag estems from s9y not being able to connect to your database. Which database config did you enter in serendipity_config_local.inc.php? Maybe you needd to enter the IP address of the DB server instead of a hostname to prevent socket connections.
Regards,
Garvin
the error messag estems from s9y not being able to connect to your database. Which database config did you enter in serendipity_config_local.inc.php? Maybe you needd to enter the IP address of the DB server instead of a hostname to prevent socket connections.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/