PDA

View Full Version : admin/install.php returns 403 Forbidden


Xiang
09-15-2005, 01:36 PM
Hallo,

I just try to install Pixelpost on my (Shared) Server.

I unpacked the zip-file and uploaded all files, edited pixelpost.php, created images and thumbnails directory (mode 777).

When I open "servername/admin/install.php" in my browser I get an error "403 Forbidden".
The directory "admin" and file "install.php" are mode 777.

What's the problem?

Thanx

Xiang
09-15-2005, 02:25 PM
That Problem was with PHP in CGI-mode. In normal mode it there ist no 403. :-)

But then I get:
-----
Warning: Unknown(/www/htdocs/w005a69c/admin/install.php): failed to open stream: Permission denied in Unknown on line 0

Warning: Unknown(/www/htdocs/w005a69c/admin/install.php): failed to open stream: Permission denied in Unknown on line 0

Warning: (null)(): Failed opening '/www/htdocs/w005a69c/admin/install.php' for inclusion (include_path='.:..') in Unknown on line 0
-----

What's this?

GeoS
09-15-2005, 04:21 PM
Try to set line:
error_reporting(0);
at start (line after <?) of /index.php and /admin/index.php

Xiang
09-16-2005, 06:25 AM
That didn't help, the same errors still appeared.

What helped was adding read permission for everyone to the *.php files.
Is that really necessary or is there a problem with my php?

But now I get the next error:
-----
Error: Access denied for user: 'wwwrun@localhost' (Using password: NO)
-----

Can anybody help?

raminia
09-16-2005, 07:18 AM
permission.....
check username/password
check permission to includes files between directories on your host. ask host admin.

Xiang
09-16-2005, 07:32 AM
check username/password

Which username and password for what and where to check it?


check permission to includes files between directories on your host. ask host admin.

How should they be?
Sorry, I'm new to PHP.

GeoS
09-16-2005, 07:37 AM
Which username and password for what and where to check it?


User, pass and DB name for MySQL at file /includes/pixelpost.php

Xiang
09-16-2005, 07:49 AM
Now it's working! :-)))
Looks like some changes needed time - perhaps the database to be build.

THANX a lot to all of you!

GeoS
09-16-2005, 08:05 AM
Nope.
PP needs only CORECT DB login data :P

Have fun with Pixelpost :D