Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

More PHP Errors

Posted on 2008-11-18
14
Medium Priority
?
180 Views
Last Modified: 2012-05-05
I am trying to add a captcha to my web site.  I am receiving the following error messages:

Also during the processing I get this error:
PHP Warning: require(php-captcha.inc.php) [function.require]: failed to open
stream: Permission denied in
C:\Inetpub\wwwroot\CEIWebsiteV2\html\contact_process.php on line 3 PHP Fatal
error: require() [function.require]: Failed opening required
'php-captcha.inc.php' (include_path='.;C:\php5\pear') in
C:\Inetpub\wwwroot\CEIWebsiteV2\html\contact_process.php on line 3

I have an outside company working on the Captcha but any kind of errors they refuse to help resolve.  According to them, if I fix the above errors everything will work.  Can someone  help me please.
0
Comment
Question by:commeng
  • 7
  • 7
14 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22985046
Sounds like the C:\Inetpub\wwwroot\CEIWebsiteV2\html\contact_process.php is not readable by PHP.
0
 

Author Comment

by:commeng
ID: 22985059
OK, how do I fix that?
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22985066
This could be a directory permissions error.  I'm not very familiar with IIS, but on a Linux system, you would look at chmod() to grant read permission for that directory.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:commeng
ID: 22985130
Grant the permission to everyone?
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22985690
For reading purposes, yes, I would try that.  
0
 

Author Comment

by:commeng
ID: 22985702
OK, everyone already has Read and Execute rights to that folder.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22985829
And... (drum roll)
0
 

Author Comment

by:commeng
ID: 22985875
It did not work.  :(
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22985942
Exact same error?
0
 

Author Comment

by:commeng
ID: 22986051
Yes
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 22986152
0
 

Author Comment

by:commeng
ID: 22986476
This is so stupid!  The programer never restarted the IIS service after installing the code.  Thank you for you help.  I hate the easy fixes.
0
 

Author Closing Comment

by:commeng
ID: 31517860
Thank you for your time.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 22986808
Wow, glad that's behind us!  Have a good day, ~Ray
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This article discusses how to implement server side field validation and display customized error messages to the client.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question