Author Topic: Admin CP Template Problem  (Read 8117 times)

0 Members and 1 Guest are viewing this topic.

Offline sekshi

  • Pre-Newbie
  • Posts: 2
    • View Profile
Admin CP Template Problem
« 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.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Admin CP Template Problem
« Reply #1 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Admin CP Template Problem
« Reply #2 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

Offline impss

  • Sr. Member
  • ****
  • Posts: 382
    • View Profile
    • Cusstom.net
Re: Admin CP Template Problem
« Reply #3 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

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: Admin CP Template Problem
« Reply #4 on: December 06, 2005, 04:15:49 PM »
Cool, it works... *g*

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Admin CP Template Problem
« Reply #5 on: December 07, 2005, 12:51:57 AM »
I have no recollection of that topic...:lol: yet, I'll post a bug fix.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline sekshi

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: Admin CP Template Problem
« Reply #6 on: December 11, 2005, 01:26:30 PM »
thank you! works fine now! :)