First thing I would check is your file that includes the HttpAuthPlus_class.php file. Make sure the path passed to your require_once() call is correct and readable, and that you are not supressing warnings from require_once().
If that does not work, please send a full sample of your srcipt that uses HttpAuthPlus (minus any sensitive data) and...
What version of php are you using?
What platform are your running on?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The server that has got my web page is www.ipowerweb.com has got
-PHP 4.3.4
-MySQL 4.0.16
-OS is:FreeBSD 4.8-RELEASE
-What Web Server Software : Apache 1.3
and I think it runs on a UNIX system
Question: how do I send you an attatchment with my php files? and where to?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Attachments are not needed. You can just copy and paste the segment of your code that has the require_once() call to the HttpAuthPlus class file. I can take a look, but there is not much I can do on my end to help you with this. You may want to contact your system administrator and verify the path used to require_once() the HttpAuthPlus class file. I suspect the path to the class file is incorrect and/or not readable. The problem you are describing would only happen if php was not able to include/require the class file itself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I receive this message when using your code. I followed the instructions but ... nothing. This is the complete error message:
Fatal error: Cannot instantiate non-existent class: httpauthplus in /home/missione/public_html/english/test_restricted01.php on line 20
the folder it refers to is where the php document (that requests_once your file) is.
This file is located at the same location of HttpAuthPlus_class.php They are both at the same level.
Line 20 is where I wrote ..... $login = new HttpAuthPlus;
I have tried many things, but nothing works, got any idea?
I am using MySQL
First thing I would check is your file that includes the HttpAuthPlus_class.php file. Make sure the path passed to your require_once() call is correct and readable, and that you are not supressing warnings from require_once().
If that does not work, please send a full sample of your srcipt that uses HttpAuthPlus (minus any sensitive data) and...
What version of php are you using?
What platform are your running on?
Hello,
The server that has got my web page is www.ipowerweb.com has got
-PHP 4.3.4
-MySQL 4.0.16
-OS is:FreeBSD 4.8-RELEASE
-What Web Server Software : Apache 1.3
and I think it runs on a UNIX system
Question: how do I send you an attatchment with my php files? and where to?
Attachments are not needed. You can just copy and paste the segment of your code that has the require_once() call to the HttpAuthPlus class file. I can take a look, but there is not much I can do on my end to help you with this. You may want to contact your system administrator and verify the path used to require_once() the HttpAuthPlus class file. I suspect the path to the class file is incorrect and/or not readable. The problem you are describing would only happen if php was not able to include/require the class file itself.