1
Shine
PiCal: Minicalenderblock error, doesn't show up.
  • 2003/11/7 1:43

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Also started an experimental picalender module tour
Unfortunately I get a blank page with some error msgs when I activate the block: piminicalender.
I'm using XOOPS 2.05/ php version: 4.3.0/ (not on a win.-server)

The error msgs are:
Quote:
Warning: get_mini_calendar_html() [function.get-mini-calendar-html]: open_basedir restriction in effect. File(/usr/local/lib/php/include/patTemplate.php) is not within the allowed path(s): (/www/htdocs/XXXXXX) in /www/htdocs/XXXXXX/xoops/modules/piCal/piCal.php on line 400

Warning: get_mini_calendar_html(include/patTemplate.php) [function.get-mini-calendar-html]: failed to create stream: Operation not permitted in /www/htdocs/XXXXX/xoops/modules/piCal/piCal.php on line 400

Fatal error: get_mini_calendar_html() [function.get-mini-calendar-html]: Failed opening required 'include/patTemplate.php' (include_path='.:/usr/local/lib/php') in /www/htdocs/XXXXX/xoops/modules/piCal/piCal.php on line 400


Don't know if you need more information to figure out and/or hand a suggestion in how to fix this and this sweet little block running (on my website).

[edit] Oh Yes,.......forgot to ask:
What does:
'Permission of outputting ics files'
mean?
Never heard of it, nor do I know what it does/works.[/edit]

Thanks,
Grtz., Shine
ps: meanwhile busy in translating it into the Dutch-language.

2
GIJOE
Re: PiCal: Minicalenderblock error, doesn't show up.
  • 2003/11/7 2:09

  • GIJOE

  • Quite a regular

  • Posts: 265

  • Since: 2003/8/13


This is an indeed interesting case.
Certainly, there can be a system which puts patTemplate.php on include_path.

The cause of the error and the correction method are made clear.

You should change all lines of piCal.php
require_once( "[color=ff0000]$this->mydir/[/color]include/patTemplate.php" ) ;

I'll patch my archive by tommorow.

Login

Who's Online

180 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits