Loading...
 
Skip to main content

tiki-edit_templates.php making bad composition of url to save a tpl to a local-theme directory

Status
Pending
Subject
tiki-edit_templates.php making bad composition of url to save a tpl to a local-theme directory
Version
1.9.x
Category
  • Error
Feature
Others
Templates (Smarty)
MultiTiki
Submitted by
Xavier de Pedro
Lastmod by
Xavier de Pedro
Rating
(0)
Description

Bug for a site (e.g. drecerca) on a multitiki site (e.g. moviments.net). Using a 1.9.7cvs from a month ago (early may07, I guess)

Attempting to edit the tiki-top_bar.tpl smarty template from the web interface: http://www.moviments.net/drecerca/tiki-edit_templates.php

I got this message, when clicking on the "save only in the theme: drecerca" button:

Copy to clipboard
Warning: mkdir(templates//drecerca/styles/drecerca) [function.mkdir]: No such file or directory in /home/httpd/tiki19/tiki-edit_templates.php on line 61 You do not have permission to write the template: templates//drecerca/styles/drecerca/tiki-top_bar.tpl


And right place where it should attempt to save the file is:

templates/styles/drecerca/tiki-top_bar.tpl


Is this a configuration problem or just a bug?
If it's a configuration problem, the should be a tip or warning somewhere explaining how to avoid this error...

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1118
Created
Wednesday 06 June, 2007 12:28:53 UTC
by Unknown
LastModif
Wednesday 06 June, 2007 12:30:55 UTC


Show PHP error messages