Dotclear

Ticket #112 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

import url creating error log

Reported by: Chty Owned by: bruno
Priority: normal Component: theme:freshy2
Severity: normal Keywords: freshy2
Cc:

Description

I'm using the last version of Freshy2 available on  http://themes.dotaddict.org/galerie-dc2/details/Freshy-2 (1.4.1)

In my apache2 log files, I have an error loading the main page:

Directory index forbidden by Options directive: [...]/themes/freshy2/ [...]

It seems that the theme is trying to opening the directory itself. Indeed, my options for this virtual host are:

Options -Indexes FollowSymLinks -MultiViews

I found an import url of a directory in the source page.
But I was wondering why the theme needs to load this directory... I didn't find the reason, so I checked the _public.php file. I saw that the $cust variable isn't checked to see whether it's empty.
After patching the code, I don't have any error about this.

Please find the patch attached.

Attachments

_public.php.patch Download (438 bytes) - added by Chty 14 years ago.
_public.php.patch fixing error message

Change History

Changed 14 years ago by Chty

_public.php.patch fixing error message

comment:1 Changed 14 years ago by Chty

  • Status changed from new to closed
  • Resolution set to fixed

apply in svn through mailing list.

Note: See TracTickets for help on using tickets.

Sites map