Ticket #112 (closed defect: fixed)
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
Change History
Changed 14 years ago by Chty
-
attachment
_public.php.patch
added
Note: See
TracTickets for help on using
tickets.
_public.php.patch fixing error message