- Moderated by:
- Support
-
- rank:
-
Freshman
- registered:
- April 2004
- Status:
- offline
- last visit:
- 18.06.04
- Posts:
- 36
I have install under windows. The install went fine but when I go to my index page I get to errors
Code
Fatal error: Call to undefined function: themeheader() in C:\sambar51\docs\tsg_portal\header.php on line 188
andCode
Fatal error: Call to undefined function: themefooter() in C:\sambar51\docs\tsg_portal\footer.php on line 55
What can be done about this? -
- rank:
-
Legend
- registered:
- December 1969
- Status:
- offline
- last visit:
- 01.12.08
- Posts:
- 6533
jsellnau
I have searched through your entire forum and FAQ's and none of it works.
http://forums.postnuke.com/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=33#255
It is either missing files or a flawed theme, the PostNuke Swiss Army Knife should be helpful in geting a them that workes. Try changing it to PostNuke or ExtraLite. -
- rank:
-
Professional
- registered:
- December 1969
- Status:
- offline
- last visit:
- 06.09.05
- Posts:
- 763
I'm not sure what you meant when you said "none of it works" -
If you were searching for the part of the error message that is unique to your own installation (i.e. "C:\sambar51\docs\tsg_portal") you won't get any finds except your own message. I just did a sear for the string
call to undefined function: themeheader()
and got 256 finds with that.
If you haven't already done so - you might want to install "phpMyAdmin" on your site and check things out just to make certain your Windows web server/MySQL/PHP installation is working.
You can grab phpMyAdmin from:
http://sourceforge.net/projects/phpmyadmin/
Even if that is not the problem, I would be willing to bet that later on phpMyAdmin turns into a valuable tool for you and your site endeavors - particularly for doing quick and dirty backups of your MySQL databases.
Hope this helps!
-=dave=- -
- rank:
-
Freshman
- registered:
- April 2004
- Status:
- offline
- last visit:
- 18.06.04
- Posts:
- 36
All of the strings suggest to do the same thing......and it doesn't work. Also your FAQ was not helpful either.
I have mySQL and PHP running just fine on the site because all of the other PHP and SQL pages run fine.
That is why i asked:
Quote
Do I need either apache or IIS specifically?
-
- registered:
- June 2002
- Status:
- offline
- last visit:
- 10.11.04
- Posts:
- 611
They have already answer your question a few posts up.
Quote
You need a web server that works with PHP.
They also stated that the problem is with the theme.
Quote
It is either missing files or a flawed theme, the PostNuke Swiss Army Knife should be helpful in geting a them that workes. Try changing it to PostNuke or ExtraLite.
Have you even attempted to switch themes using this utility? Do you still get the same error with other themes (PostNuke or extralite) ? -
- rank:
-
Freshman
- registered:
- April 2004
- Status:
- offline
- last visit:
- 18.06.04
- Posts:
- 36
I have tried several themes using your Swiss Army Knife file. The error occurs with them all.Which I also said a few posts up.Quote
I have mySQL and PHP running just fine on the site because all of the other PHP and SQL pages run fine.
AND AGAIN:
Quote
Do I need either apache or IIS specifically?
-
- rank:
-
Legend
- registered:
- December 1969
- Status:
- offline
- last visit:
- 01.12.08
- Posts:
- 6533
AND AGAIN:
Quote
You need a web server that works with PHP.
Given you said:Quote
I have mySQL and PHP running just fine on the site because all of the other PHP and SQL pages run fine.
That means whatever server you're using is fine.
If all themes, even the core themes are giving you problems, then something is either missing or your PHP is misconfigured.
If you want help, you need to give us more information on your server setup, what versions of PHP, MySQL, What Server, ect. -
- rank:
-
Freshman
- registered:
- April 2004
- Status:
- offline
- last visit:
- 18.06.04
- Posts:
- 36
PHP 4.3.5
mySQL 4.0.18
Sambar server soon to be IIS 6.0
And I am the host for the web server.......and all of the other php/mySQL pages work fine.
The only issue is with the install of PostNuke -
- rank:
-
Legend
- registered:
- December 1969
- Status:
- offline
- last visit:
- 01.12.08
- Posts:
- 6533
I'm not familar with Sambar, it could be something in the way it works with PHP.
Can you open your PHP.INI file (Should be in the root windows system folder (where command.com and such is, usually WinNT for 2000 and Windows for the others I think) and post the include_path line?
