Reply
Trouble Installing PHP programs
Old 06-02-2004, 12:06 AM Trouble Installing PHP programs
Annorax's Avatar
Junior Talker

Posts: 4
Location: MA
Trades: 0
Hello, I'm new here and kind of new to PHP. Let me explain my problem.

I'm trying to use a PHP web site counter for my site. I am serving it myself from my machine, and it's all configured to be a server (it's running Windows 2000 Pro). I have installed PHP, and installed phpBB2 forums which are fully functional. But now, it seems when I want to install a PHP application (I'm currently trying to install EliteStats: http://firestorm.all-interviews.com/?act=elitestats) I get a long list of errors, such as:

Warning: fread(): Length parameter must be greater than 0. in c:\inetpub\wwwroot\stats\include\functions.php on line 33

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 767 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

Notice: Uninitialized string offset: 279 in c:\inetpub\wwwroot\stats\include\functions.php on line 126

The last error will continue to repeat for pages. The program seems to work, but I get a ton of these annoying errors that I never got when installing my phpBB message boards. Does anyone know what is wrong? Thanks for any help.
Annorax is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 04-25-2008, 12:34 PM Re: Trouble Installing PHP programs
Experienced Talker

Posts: 46
Trades: 0
Contact EliteStats directly or check their forums
__________________
Squirrel bombing -> Home of the crasher squirrel
jeff_oneil is offline
Reply With Quote
View Public Profile Visit jeff_oneil's homepage!
 
Old 04-25-2008, 01:46 PM Re: Trouble Installing PHP programs
addonchat's Avatar
Super Talker

Posts: 113
Name: Chris Duerr
Trades: 0
Might want to check your php.ini -- I think the default is to report everything except for E_NOTICE. You could always modify the script:

PHP Code:
error_reporting(E_ALL E_NOTICE); 
__________________
Chris Duerr
AddonChat Java Chat Software
http://www.addonchat.com/ - Affiliate Program
addonchat is offline
Reply With Quote
View Public Profile
 
Old 04-25-2008, 02:51 PM Re: Trouble Installing PHP programs
tripy's Avatar
Do not try this at home!

Posts: 3,176
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
Does anyone know what is wrong? Thanks for any help.
As the log state, thoses are notice level message. It's the PHP engine that is configured to give you every little message that the PHP engine had to make an assumption. This is good on a dev server, but should never bee enabled on production. You can safely ignore them, they nothing more than indication than the code works, but that PHP had to "guess" something to make it so.

I would be more concerned about the "warning", on the first line. This means that the error was not fatal, but that something went wrong. In that case, the PHP engine did not found a file that was specified. It's not fatal, but trying to read the content of a non existent file causes this warning.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Reply     « Reply to Trouble Installing PHP programs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.13578 seconds with 13 queries