FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » php in header/footer
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
php in header/footer [message #14422] Thu, 13 November 2003 21:35 Go to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
is php possible in the header and footer
Re: php in header/footer [message #14423 is a reply to message #14422] Thu, 13 November 2003 21:39 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Yes.

FUDforum Core Developer
Re: php in header/footer [message #14437 is a reply to message #14423] Fri, 14 November 2003 00:41 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
hopefully theres a way to fix this but i put some php into the header and managed to cause a parse error somewhere in the script - it's probably a small error but now i cant get into the header file to fix it ( cant access the file directly as per the other post ---- changing the templates )

thanks in advance

bob Embarassed
Re: php in header/footer [message #14440 is a reply to message #14437] Fri, 14 November 2003 00:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fix the header and rebuild the theme.

FUDforum Core Developer
Re: php in header/footer [message #14447 is a reply to message #14440] Fri, 14 November 2003 07:51 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i cant access the file (header) directly -- as per my other post --- "changing the templates" on this forum

neither can i access the header through the fourm as it wont load beacause of the parse err

[Updated on: Fri, 14 November 2003 07:52]

Report message to a moderator

Re: php in header/footer [message #14455 is a reply to message #14447] Fri, 14 November 2003 14:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The admin control panel does not use header or footer, so you should be able to fix the program without it having any impact on you.


FUDforum Core Developer
Re: php in header/footer [message #14464 is a reply to message #14422] Fri, 14 November 2003 17:34 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
I can't open up the message board at all,when i wrote the faulty code into the header,it seemed to screw up the main index page,so i can't access the admin control panel.
Re: php in header/footer [message #14465 is a reply to message #14464] Fri, 14 November 2003 17:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Just go to it manually.

http://your_forum/adm/


FUDforum Core Developer
Re: php in header/footer [message #14466 is a reply to message #14422] Fri, 14 November 2003 17:47 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i cant,as far as i know you mean to access the .tmpl files in the specific folder within the thm directory but the only directories in there are,default and path info,or should i be looking somewhere else
Re: php in header/footer [message #14467 is a reply to message #14422] Fri, 14 November 2003 18:36 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i dont know why the directories arent appearing-maybe it would be easier to reinstall the forum from scratch-what do you think
Re: php in header/footer [message #14468 is a reply to message #14467] Fri, 14 November 2003 18:50 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Re-installing is probably easier in your case.

FUDforum Core Developer
Re: php in header/footer [message #14471 is a reply to message #14465] Fri, 14 November 2003 20:28 Go to previous message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
Ilia wrote on Fri, 14 November 2003 17:38

Just go to it manually.

http://your_forum/adm/



sorry this may sound lame but i actually had a mate read this post out to me over the phone as i was away from my pc and the person didn't see the link .... all is well now i tried it and i got back in.


  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Hide several messages?
Next Topic: site integration/ adding links
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 13:25:40 GMT 2024

Total time taken to generate the page: 0.02757 seconds