Computer ForumsComputers  

Go Back   Computer Forums > The World Wide Web > Web Site Hosting / ISP Q & A

Reply
 
LinkBack Thread Tools Display Modes
Old 08-17-2007, 07:01 PM   #1 (permalink)
True Techie
 
Join Date: Sep 2006
Location: Altoona, PA
Posts: 240
Send a message via MSN to Mike9182
Default PHP problem

What does this error log message mean, and how do I fix it?

"[Fri Aug 17 19:57:31 2007] [error] [client 66.90.103.82] PHP Warning: require_once(SAM/php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1
[Fri Aug 17 19:57:31 2007] [error] [client 66.90.103.82] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1"
__________________

My Comp:
Antec 900
Gigabyte DS3
EVGA 8800GTS (G92)
Antec TruPower 650 watt psu
Core 2 Duo E6700 @ 3.3Ghz
G.Skill 4GB DDR2-800
2 x Seagate Barracuda 250GB HDD in RAID 0
1 x Seagate Barracuda 500GB HDD
ACER 19" 5ms monitor
ZALMAN CNPS9500 cpu fan/heatsink
Mike9182 is offline   Reply With Quote
Old 08-19-2007, 04:03 PM   #2 (permalink)
True Techie
 
Join Date: Feb 2006
Posts: 207
Default Re: PHP problem

Is this in SAM broadcasters error log? or is the output when you try to view the file on the web server?
poorman is offline   Reply With Quote
Old 08-19-2007, 04:18 PM   #3 (permalink)
True Techie
 
Join Date: Sep 2006
Location: Altoona, PA
Posts: 240
Send a message via MSN to Mike9182
Default Re: PHP problem

that error code is out of the apache error log
__________________

My Comp:
Antec 900
Gigabyte DS3
EVGA 8800GTS (G92)
Antec TruPower 650 watt psu
Core 2 Duo E6700 @ 3.3Ghz
G.Skill 4GB DDR2-800
2 x Seagate Barracuda 250GB HDD in RAID 0
1 x Seagate Barracuda 500GB HDD
ACER 19" 5ms monitor
ZALMAN CNPS9500 cpu fan/heatsink
Mike9182 is offline   Reply With Quote
Old 08-19-2007, 05:14 PM   #4 (permalink)
Super Techie
 
Join Date: Sep 2005
Posts: 421
Send a message via AIM to Kubel
Default Re: PHP problem

SAM is a PHP module. A script that is being executed, on line 1, has a require_once() function, which is trying to require the file SAM/php_sam.php, but it can't find it.

Your problem is probably a misconfiguration of php.ini (Windows installer doesn't completely make everything work 100%, because you need to manually configure things here and there). That file should be in your C:\Windows directory (possible system32, I can't remember). You want to open it and comment out all extension= lines. A comment is a semi-colon before the line.

That will fix the problem, but it will disable all your extensions. So uncomment the ones you need and test after each uncomment to make sure it doesn't produce a similar error.

You will need to go through your php.ini file and configure it to work properly with your system.

Good luck!
__________________
For I am not ashamed of the gospel of Christ: for it is the power of God unto salvation to every one that believeth
~Romans 1:16
Kubel is offline   Reply With Quote
Old 08-19-2007, 10:41 PM   #5 (permalink)
True Techie
 
Join Date: Sep 2006
Location: Altoona, PA
Posts: 240
Send a message via MSN to Mike9182
Default Re: PHP problem

ok thanks
__________________

My Comp:
Antec 900
Gigabyte DS3
EVGA 8800GTS (G92)
Antec TruPower 650 watt psu
Core 2 Duo E6700 @ 3.3Ghz
G.Skill 4GB DDR2-800
2 x Seagate Barracuda 250GB HDD in RAID 0
1 x Seagate Barracuda 500GB HDD
ACER 19" 5ms monitor
ZALMAN CNPS9500 cpu fan/heatsink
Mike9182 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd sound problem. VERY odd. Isilwen Computer Audio & Multimedia 3 08-04-2007 08:08 PM
Serious computer problem. HeeRoMaKi Hardware Troubleshooting 71 07-28-2007 10:42 PM
Media Library (I Presume) Problem. Nadegas Windows Operating Systems and Software 4 06-08-2007 07:27 AM
Software installation problem..... MadMikeXP Windows Operating Systems and Software 1 05-30-2007 03:10 AM
Chronic Rebooting Problem AND_YOU_ARE Hardware Troubleshooting 1 04-24-2007 05:04 PM


All times are GMT -5. The time now is 09:47 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0