Page 1 of 1

Please Guide

Posted: Sun Apr 30, 2006 3:19 pm
by andersen
All Expert,

Since I just upgrade to (Sokkit php5), have problem below

Previously using Sokkit php4 is no problem

Please guide me below

Warning: message(/include/header.inc.php) [function.message]: failed to open stream: No such file or directory in C:\sokkit\site\station\include\initialize.inc.php on line 459

Fatal error: message() [function.require]: Failed opening required '/include/header.inc.php' (include_path='.;c:/sokkit/php5/pear;c:/sokkit/site') in C:\sokkit\site\station\include\initialize.inc.php on line 459

Posted: Mon May 01, 2006 1:19 am
by wbartels
I think it is a php miss configuration.
Is the extension_dir in the php.ini set correctly?

Maybe you can get further help on the Sokkit forum:
http://www.phpgeek.com/phorum/list.php?f=1

Posted: Tue May 02, 2006 4:41 am
by andersen
Hmmm.... I had checked. The setting default is right as below

; Directory in which the loadable extensions (modules) reside.
;extension_dir = "./"
extension_dir = c:/sokkit/php5/extensions

I don't find any wrong config at php.ini .... :cry:

Posted: Tue May 02, 2006 7:58 am
by andersen
When I uninstall the sokkit php5 and install the sokkit php4, it work. and the netjukebox did not work in php5?

Posted: Tue May 02, 2006 10:09 am
by wbartels
Now I found it.
The $cfg['home_dir'] was detected after the first message() was used in initialize.inc.php.

Bug fix release:
http://prdownloads.sourceforge.net/netj ... p?download

I assume you got the error only with PHP 5 because one of the required PHP extensions was not installed.
But now you will get a proper message with the required extension.

Posted: Wed May 03, 2006 7:56 am
by andersen
I see, Thanks for the version b. I will try it again... ^_^