Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: ReetP on May 07, 2009, 08:36:25 PM
-
Have 7.4 installation with PHP5 (I know, bad boy) and Kronolith from smetesting . Have followed the wiki & read numerous posts and seem to be stuck
With Lightning I can read from a Calendar but cannot seem to write.
I have added the suggested Apache mods to /etc/httpd/httpd.conf and can see POST instructions in the access_log. I have given the calendar full access rights
Any ideas where I can look and what I should be looking for cos I've run out of ideas ?
B. Rgds
John
-
Some solutions, search the archives here, http://marc.info/?l=kronolith&r=1&w=2. You can check bugs.horde.org to see if a bug as been filed, join the kronolith mailing list and ask your question there.
Quick google search gave me this link - http://wiki.horde.org/KronolithSunbird. It does want you to install a new pear module.
Good Luck,
John
-
Hi,
I'm running 7.4 without modifications. I have installed kronolith and lightning.
With everything default I can also read the calendar.
This new module mrjhb3 points out require php4.4 and the default sme is running 4.3.9, hence the need to upgrade to a new version of php.
After installing the module can you post back your results to see if that's what is required to make it work?
pear install HTTP_WebDAV_Server-beta
Thanks,
-
Thanks for the replies. Funnily enough I have managed to get it too work, though I'm not exactly sure how....
Had already followed the link : http://wiki.horde.org/KronolithSunbird (http://wiki.horde.org/KronolithSunbird) (reposted link without the fullstop !)
PHP5 is installed
pear-config-show is OK
Installed HTTP_WebDAV_Server-beta
Made a new custom template for the Apache mod and restarted it
Created a new Calendar under my name, and set sharing permissions on it
In Lightning I created a new ICS Calendar and copied the submission URL from Horde/Krono :
https://myserver.com/horde/rpc.php/kronolith/user@mydomain.com/43b5250cf09869123097f3eb5f9f68a5.ics
Lightning asked me for a user name & password. I used my own login on my machine and the users logins on their machines.
Job done........
No idea what I did - I tried it yesterday and I'm sure I did the same thing without success. I just wonder if a service such as httpd was restarted correctly last night.
To make the custom template, I copied the original 85HordeAccess to templates-custom/etc/httpd/con/httpd.conf
I then amended as follows:
# Horde specific configuration files.
<Directory /home/httpd/html/horde>
<FilesMatch "test.php\$">
Order Deny,Allow
Deny from all
</FilesMatch>
# added the following
<LimitExcept GET POST OPTIONS PROPFIND PUT>
Order Deny,Allow
Deny from all
</LimitExcept>
# to here
Options Indexes Includes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
Anyway, suffice to say that it now works quite happily. I'm not sure if the above bit did the trick or not. May have a play this week.
B. Rgds
John
-
its config really works? can you do a how to detailed?
tks
-
How to is pretty well detailed in my post above, barring a few details. Give me a few days and I'll knock up something a bit more detailed - just in a bit of a flat spin at the minute !
Need more :pint:
-
ok, thanks, sync turba its no posible?
-
ok, thanks, sync turba its no posible?
Don't think so I'm afraid. Easily shared addressbooks / calendars using non MS Clients (and MS Clients too) seem to be one of the Holy Grails of SME, and Linux in general. The ubiquitous 'MS Exchange' replacement.
I have long been looking for a neat solution but to date, there doesn't seem to be anything simple 'out of the box' that covers everyone's needs. We all seem to have to roll our own.
Shame, but I'm sure it will get there someday. Essentially mail, shared calendar & contacts with the ability to interface with MS Outlook & a few other mail clients such as Thunderbird. (Horde/IMAP mail, LDAP/Turba contacts & Kronolith addressbook ???) All rolled up in a SME server. How neat could you get ??? Yes, we could wish for loads of other bells & whistles, but that is the core of it all.
Yes, I've setup Egroupware, GroupOffice, OpenExchange & vTiger (I'm no guru - you just need a lot of spare time & follow the HowTos !). But none of them really hit the sweet spot - easy integration and ability to use external clients. I think it's more to do with the connectors than anything, but anyway. Sometimes I wish I was a coder..........
Did you manage to get the shared calendar going OK ? Be interested if you did - I will write up a HT
B. Rgds
JC
-
thanks ReetP, no i didnt iam waiting for your howto.
-
thanks ReetP, no i didnt iam waiting for your howto.
Bear with me - I'll do it ASAP
-
Rough Howto. I don't think I have Wiki access anymore, but this needs some serious reviewing in any case.
Kronolith / Lightning / Sunbird shared calendars
!!!!!!!!!!!! This is NOT supported !!!!!!!!!!!! You may break your server. Follow at your own risk.
How much of this is strictly relevant I'm not sure. I got it working by trial & error and didn't make too many notes on the way......
However, I do have two working shared Calendars.........
I had already upgraded my server to PHP5 The following Howto is a good guide and also shows you how to use PHP5 as a cgi though I haven't:
http://wiki.contribs.org/PHP
yum --enablerepo=centosplus install php.i386 php-pear-Net-Socket php-pear-Auth-SASL php-pear-DB php-pear-HTTP php-pear-Mail php-pear-XML-Parser
Looking at my history file I did something like this but I'm not sure which is the better - I know mine works !! :
yum --enablerepo=centosplus update php
yum --enablerepo=centosplus install php-pear php-mysql php-pear-HTTP php-cli php-pear-XML-Parser php-pdo php-imap php-xml php-pear-Auth-SASL php-pear-Mail php-ldap php-pear-Net-Socket php-pear-DB php-gd php-mbstring php-pear-Net-SMTP
expand-template /etc/php.ini
Either way,
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
See the end for possible removal/retrograde instructions - I have had to do it on mine several times due to update dependencies.
Ref : http://wiki.horde.org/KronolithSunbird
Check pear is working
pear config-show
pear install HTTP_WebDAV_Server-beta
yum --enablerepo=smetest install kronolith kronolith-h3
A console-save or post-upgrade & reboot again probably wouldn't hurt at this juncture. Unfortunately when doing stuff like this I'm never too sure which one to use !
Copy 85HordeAccess
from :
/etc/e-smith/templates/etc/httpd/conf/httpd.conf
to :
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
In the custom template look for the following lines :
# Horde specific configuration files.
<Directory /home/httpd/html/horde>
<FilesMatch "test.php\$">
Order Deny,Allow
Deny from all
</FilesMatch>
# added the following
<LimitExcept GET POST OPTIONS PROPFIND PUT>
Order Deny,Allow
Deny from all
</LimitExcept>
# to here
Options Indexes Includes FollowSymLinks
AllowOverride None
order allow,deny
allow from all
expand-template /etc/httpd/conf/httpd.conf
Restart Apache
svc -t /service/httpd-e-smith
Login to Webmail, go to Calendar.
Create a new Calendar
Change permissions & set all permissions on the following (needs more testing but using just All Authenticated doesn't see to do it) :
All Authenticated Users
Object Creator Creator
Save.
Right click & copy the Subscription URL
In Lightning, Create a New Calendar, On the network.
Format is ICS
Location is the URL you copied.
Right click the new Calendar & select Properties and ensure that Read Only is unchecked.
If you are asked for a user name & password, use your normal credentials.
Job done & test.......
Restore
To restore PHP to V4 you will need to do something similar to this :
rpm -e --nodeps php php-imap php-cli php-ldap php-common php-pdo php-mysq
l php-mbstring php-xml php-gd php-pear php-pear-Net-Socket php-pear-Auth-SASL ph
p-pear-Net-SMTP php-pear-HTTP php-pear-DB php-pear-XML-Parser php-pear-Net-URL p
hp-pear-HTTP-Request php-pear-Mail
yum install php
Good luck - any queries or comments welcome !!!
John
"Yes Sir, we do have a warranty on this car. It's for 10,000 miles, or the road. Whichever comes first........."