Webmastersite.net
Register Log In

custom templates with hyphen
can not save into the template

Comments on custom templates with hyphen

gemini
Forum Regular

Usergroup: Customer
Joined: Oct 30, 2003

Total Topics: 54
Total Comments: 197
gemini
Posted Jul 27, 2005 - 7:55 PM:

strange.. I created a new template called submission-rules and when I tried to save some code into it, it bought up the follorin error:



Warning: fopen(../templates/ibs2/custom/submission/rules.tpl): failed to open stream: No such file or directory in /home/ibsteam/public_html/wsnlinks/filefunctions.php on line 314 Warning: fwrite(): supplied argument is not a valid stream resource in /home/ibsteam/public_html/wsnlinks/filefunctions.php on line 315

Warning: fwrite(): supplied argument is not a valid stream resource in /home/ibsteam/public_html/wsnlinks/filefunctions.php on line 316

Warning: fclose(): supplied argument is not a valid stream resource in /home/ibsteam/public_html/wsnlinks/filefunctions.php on line 317
WSN Links 3.20 Admin Panel

Could not save changes: you must chmod 666 or 777 the template files.

Continue

Logout | Browse Categories | Member List
7 total queries
This page was created in 0.66 seconds



looks like it is rewriting the path to the file not the same way as it was in 3.15 I tried just to open and save already existing template with - in its name and got the same error.

I created new file with the underscore symbol and had no problems saving it. What do I do wrong?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 27, 2005 - 9:36 PM:

You can't use hyphens in template names.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.