Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Thursday, May 15 2008 @ 11:47 PM EDT
   

Problems with calendars

GeeklogI've installed Geeklog twice on a test web server and have run across the same problems. It could well be me as I'm unused to Linux, Apache, PHP etc. but I've managed to get a few other systems working okay.

As an indicator, when I bring up a calendar, the 'small' calendars either side of the month have links which go to '/calendar.php...' instead of '/geeklog/public_html/calendar.php...'. It seems that in that module, the use of $_CONF['site_url'] returns a blank string when used in a function (like getSmallCalendar) but the correct value in the main part of the code.

I don't know anything about PHP so cannot really debug any better. Can you tell me what I've done wrong here.

One other possible clue: in the 'Display Preferences' section, there are no Themes in the drop-down box.

Hope someone can help (and if this is a bug, I'll post it but I assumed I'd followed the quickie instructions wrongly).

Tony.

Story Options

Problems with calendars | 4 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
I had same problem
Authored by: Anonymous on Sunday, January 06 2002 @ 09:51 AM EST
I just edited the config.php with the correct pathways to
the calendar and it corrected problem.
Done that...
Authored by: tonylinde on Monday, January 07 2002 @ 04:17 AM EST

I assume you mean that you hacked calendar.php - I did do that initially but didn't like the solution. I joined the mailing list and posted the problem and was told that it was a known bug to be fixed in 1.3.1 - supposed to be out last week - guess there's more bugs than the developers thought.

I was just hacking around in the code and it looks like the problem is a missing line:

    global $_CONF;
at the beginning of the functions. Strange: I would have thought that global variables would be available to all functions - better go buy a PHP book :-)

Still not worked out the missing themes problem yet. Must go do some real work, though.

__
Tony Linde

Themes
Authored by: Tony on Monday, January 07 2002 @ 05:51 AM EST
The themes bug will be fixed in 1.3.1. I\'m wrapping up development on it today but still need to adjust the installation script so it\'ll be later today or tomorrow before it is out.
Themes
Authored by: tonylinde on Monday, January 07 2002 @ 02:40 PM EST
No worries, Tony. Looking forward to it.

I wish I had time to get involved in the development myself - seems a great way to learn a new language quickly. I\'ll be hiring a half-time web developer/administrator shortly and intend that he/she will contribute to one or more of the OS projects that we\'re going to make use of. Keep up the good work.
__
Tony Linde