4images Forum & Community

4images Modifications / Modifikationen => Templates & Styles (Requests & Discussions) => Topic started by: sekshi on December 06, 2005, 10:53:19 AM

Title: Admin CP Template Problem
Post by: sekshi on December 06, 2005, 10:53:19 AM
Hi! In the admin control panel under the templates area - I am not able to edit my templates from there. When i load the template page that I want, then edit it and I press "save changes", none of the changes I made were saved. Why is this? I even CHMOD the files I wanted to edit to 777 so it was read/write/AND excuteable. Can anyone help me? It's really irritating having to edit in notepad and continaully FTP upload it.
Title: Re: Admin CP Template Problem
Post by: V@no on December 06, 2005, 02:59:13 PM
Lets trace the problem. in admin/templates.php below
Code: [Select]
require('admin_global.php'); insert:
Code: [Select]
error_reporting(E_ALL);Then search for all @ signs and remove them.

See what happens.
Title: Re: Admin CP Template Problem
Post by: Acidgod on December 06, 2005, 03:54:52 PM
HAve the same Problem... )o:

When i enable error reporting i became:
Code: [Select]
Notice: Undefined variable: content in /srv/www/htdocs/web/html/admin/templates.php on line 132
Title: Re: Admin CP Template Problem
Post by: impss on December 06, 2005, 04:08:30 PM
HAve the same Problem... )o:

When i enable error reporting i became:
Code: [Select]
Notice: Undefined variable: content in /srv/www/htdocs/web/html/admin/templates.php on line 132

Acidgod,

Try this , http://www.4homepages.de/forum/index.php?topic=9780.0
Title: Re: Admin CP Template Problem
Post by: Acidgod on December 06, 2005, 04:15:49 PM
Cool, it works... *g*
Title: Re: Admin CP Template Problem
Post by: V@no on December 07, 2005, 12:51:57 AM
I have no recollection of that topic...:lol: yet, I'll post a bug fix.
Title: Re: Admin CP Template Problem
Post by: sekshi on December 11, 2005, 01:26:30 PM
thank you! works fine now! :)