Will not Execute PHP Page?

jkhewett

Joined: 2004-05-02
Posts: 5
Posted: Sun, 2004-05-02 20:33

I've uploaded glallery 1.x to my webserver .. yet when I try to access the configuration wizard it seems that index.php is not executing. What I see is the html code.

Help?

----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.rivercitiescheer.com/gallery/setup/index.php
Gallery version: 1.x
Apache version: I don't know
PHP version (don't just say PHP 4, please): I don't know
Graphics Toolkit: ??
Operating system:
Web browser/version (if applicable):

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2004-05-02 20:46

Basically your server/host doesn't have php installed, or php is not working.

 
bedros

Joined: 2004-05-04
Posts: 1
Posted: Tue, 2004-05-04 23:35

I have the exact problem. and it's not host/php issue because I have phpMyAdmin and b2evolution running php with no issues what so ever.

I followed the exact steps in the installation guide and got the error message when accessing http://hanounik.techbubbles.com/gallery/setup/index.php

the error log has the following

[Tue May 4 19:08:42 2004] [error] [client 66.153.60.210] Premature end of script headers: /home/virtual/site93/fst/var/www/interpreters/php-script

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2004-05-05 14:39

bedros, i can access your setup wizard fine, you just seem to have bad Galler URL and Album URLs?

 
luckykat

Joined: 2004-04-26
Posts: 2
Posted: Sat, 2004-05-08 17:01

Hi. Trying to get the configuration wizard to work but on attempting to access index.php, all I get is my customised 404 error screen. I have followed all the instructions in the install guide. I am working on Mac OSX and my gallery URL (not that it works) is www.mcdougalladventures.com/gallery/setup/index.php. I ran the file to check if my web hosting crew have the right php support etc and that was fine. Any advice/help welcome. I am using version 1.4.1

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2004-05-08 17:11

luckykat, basically your URL is wrong. No idea what it should be.

 
sikek

Joined: 2004-05-11
Posts: 1
Posted: Tue, 2004-05-11 05:59

I'm having the same issue also check all the previous post about the issue. And i'm still having the same problem.
http://www.thecane.net/gallery/setup/index.php
permission error access denied.

http://www.thecane.net/gallery/

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/html/gallery/config.php:2) in /var/www/html/gallery/session.php on line 60

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/html/gallery/config.php:2) in /var/www/html/gallery/session.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gallery/config.php:2) in /var/www/html/gallery/lib/lang.php on line 319

Gallery has not been configured!

Gallery must be configured before you can use it. First, you must put Gallery in Configuration Mode. Here's how:

Unix with shell access
% cd /path/to/your/gallery
% sh ./configure.sh

Unix with FTP access
ftp> chmod 666 .htaccess
ftp> chmod 666 config.php
ftp> chmod 755 setup

Windows
C:\> cd \path\to\your\gallery
C:\> configure.bat

Then start the Configuration Wizard. If you experience problems, you can find help on the Gallery Help Page.

 
nozze
nozze's picture

Joined: 2004-05-11
Posts: 3
Posted: Tue, 2004-05-11 15:05

I have a problem that I think should be under this topic.
When I'm about to configure my gallery and want to point my browser to /gallery/setup/index.php I don't get to view a homepage instead I get a question if I want to download index.php, whatever I choose I get to view index.php I wordpad, what is the problem?

 
nozze
nozze's picture

Joined: 2004-05-11
Posts: 3
Posted: Tue, 2004-05-11 15:08

ohh forgot to mention, I'm using apache2.049, php 4.3.6 and gallery 1.4.3 on win XP pro

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2004-05-11 19:19

nozze, your problem is that apache/php is not working properly. If you get asked to download the .php files, they don't get processed server-side before they are output to the browser.

http://php.net/install is probably a good place to start. :)

 
nozze
nozze's picture

Joined: 2004-05-11
Posts: 3
Posted: Tue, 2004-05-11 22:32

Thanks, I've manage to solve the problem now, as you said apache and php didn't go together

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2004-05-11 22:38

nozze, great! :)

 
dalbonese

Joined: 2007-10-22
Posts: 3
Posted: Tue, 2008-05-20 02:19

I have the same problem as bedros. phpmyadmin works fine but gallery does not work at all and it was working before and I have not changed anything. the url is pictures.futurecomsolutions.com but if you go there you will just see the index code why?