Author Topic: *eeek* template won't edit!! help me please!  (Read 14071 times)

0 Members and 1 Guest are viewing this topic.

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
*eeek* template won't edit!! help me please!
« on: December 11, 2005, 09:19:43 PM »
ok ... I went too edit my default template and everytime I make a change and click "save changes" it goes back to being regular. It diesn't say "template edited!" like it should. I did everything it said to do (chmoded my files. etc) ... I don't understand! Help me please!!  :(

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: *eeek* template won't edit!! help me please!
« Reply #1 on: December 11, 2005, 09:27:47 PM »
bug fixes
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #2 on: December 11, 2005, 10:32:49 PM »
Huh? How can I fix it ... ?

Just wondering, why is this happening?

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: *eeek* template won't edit!! help me please!
« Reply #3 on: December 11, 2005, 10:45:32 PM »
Read the Bug fixes Forum... Link you can find in V@nos Signature...

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #4 on: December 11, 2005, 11:33:18 PM »
ok ... I went to this link here: http://www.4homepages.de/forum/index.php?topic=10682.0 . I went to my ACP and I went to templates ... however I couldn't find where it said what it's suppose to say that I'm suppose to change like it said in that topic.

Any ideas where I would find that ... ? I looked at most of all the .html files in the "template.php" but couldn't find it ...

Offline Acidgod

  • Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: *eeek* template won't edit!! help me please!
« Reply #5 on: December 12, 2005, 12:03:56 AM »
You must edit the template.php and then put the changed File by FTP back on the Server!

Offline Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #6 on: December 12, 2005, 01:05:08 AM »
hmm ok ... I did that but when I went to edit my template, I clicked on "templates" in my ACP and got this msg here:

Quote
Parse error: parse error, unexpected T_ELSE in /home/coponfan/public_html/visuals/admin/templates.php on line 41

Now I put the code ... unless I did it wrong  :? here's what I put:

Code: [Select]
if (isset($HTTP_GET_VARS['template_folder']) || isset($HTTP_POST_VARS['template_folder'])) {
  $template_folder = (isset($HTTP_GET_VARS['template_folder'])) ? trim($HTTP_GET_VARS['template_folder']) : trim($HTTP_POST_VARS['template_folder']);
if (isset($HTTP_POST_VARS['content'])) {
  $content = trim($HTTP_POST_VARS['content']);
}
else {
  $content = "";
}

wat's wrong??

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: *eeek* template won't edit!! help me please!
« Reply #7 on: December 12, 2005, 03:31:54 AM »
How about you read instructions very slow, and very carefull?
Looking at your prevous posts, I came to a conclusion that you are very careless regarding following the instructions.

Re-read the bug fix instructions and try again.
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #8 on: December 12, 2005, 05:47:51 AM »
Ok ... so I got the code figured out (thanks to some1 else who explained it) , but now I get these warning messages when I go to edit something. And the code doesn't show. Now why is this happening??

Also, I use this for my other site, why is this problem happening now and didn't happenwith my other site? That's strange...

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: *eeek* template won't edit!! help me please!
« Reply #9 on: December 12, 2005, 06:01:24 AM »
WHAT PROBLEM? WHAT MESSAGES?
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #10 on: December 12, 2005, 06:29:59 AM »
 ... this is the warning msg I recieve when I try to edit something:

Warning: file(): Unable to access ./../templates//home.html in /home/coponfan/public_html/visuals/admin/templates.php on line 131

Warning: file(./../templates//home.html): failed to open stream: Permission denied in /home/coponfan/public_html/visuals/admin/templates.php on line 131

Warning: implode(): Bad arguments. in /home/coponfan/public_html/visuals/admin/templates.php on line 131

and the problem I'm talking about is this. The fact that I had/have that little "bug" problem for this site but everything was fine when using it for my other site. Well ... hope this warning msgs get fixed ;)

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: *eeek* template won't edit!! help me please!
« Reply #11 on: December 12, 2005, 07:46:17 AM »
attach your templates.php (rename it to templates.txt) I bet that you made a misstake when edited it.
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #12 on: December 12, 2005, 11:13:33 PM »
http://coponfan.com/visuals/templates.txt <- there's the link ... wat mistake did i make?

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: *eeek* template won't edit!! help me please!
« Reply #13 on: December 13, 2005, 12:22:56 AM »
Ok, I lost the bet :?

Can you create phpinfo.php file with this contents:
Code: [Select]
<?php
phpinfo
();
?>
and show the link to it.

Secondly, if you dont mind, I'd like to test it myself, so if you could create a temporary administrator account and send me the login info via PM.
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 Caramel_lady

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: *eeek* template won't edit!! help me please!
« Reply #14 on: December 14, 2005, 12:54:26 AM »
ok done ... here's the link http://coponfan.com/visuals/phpinfo.php and I just sent you a PM w/ your info.