Access denied error Php

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Access denied error Php

Post by DarkRanger »

Hi guys,

I'm getting the following error when trying to log into the intraweb. I have no idea what it is. The file exists and the path is correct but still no luck

I've done chmod 777 to the folder, and still no luck.

Code: Select all

Warning: include(dynam_code/adLDAP.php) [function.include]: failed to open stream: Permission denied in /var/www/index.php on line 22

Warning: include() [function.include]: Failed opening 'dynam_code/adLDAP.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/index.php on line 22

Fatal error: Class 'adLDAP' not found in /var/www/index.php on line 24
Any ideas?
Image
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Access denied error Php

Post by Bladerunner »

DarkRanger wrote:Hi guys,

I'm getting the following error when trying to log into the intraweb. I have no idea what it is. The file exists and the path is correct but still no luck

I've done chmod 777 to the folder, and still no luck.

Code: Select all

Warning: include(dynam_code/adLDAP.php) [function.include]: failed to open stream: Permission denied in /var/www/index.php on line 22

Warning: include() [function.include]: Failed opening 'dynam_code/adLDAP.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/index.php on line 22

Fatal error: Class 'adLDAP' not found in /var/www/index.php on line 24
Any ideas?
What are lines 22 and 24 in index.php ?
If I weren't insane: I couldn't be so brilliant! - The Joker
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Access denied error Php

Post by DarkRanger »

22 - 24:

Code: Select all

		include ("dynam_code/adLDAP.php");
        try {
		    $adldap = new adLDAP();
Image
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Access denied error Php

Post by DarkRanger »

Problem solved
Image
Post Reply