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? ---- |
|
Posts: 13451
Basically your server/host doesn't have php installed, or php is not working.
Posts: 1
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
Posts: 13451
bedros, i can access your setup wizard fine, you just seem to have bad Galler URL and Album URLs?
Posts: 2
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
Posts: 13451
luckykat, basically your URL is wrong. No idea what it should be.
Posts: 1
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.
Posts: 3
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?
Posts: 3
ohh forgot to mention, I'm using apache2.049, php 4.3.6 and gallery 1.4.3 on win XP pro
Posts: 13451
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.
Posts: 3
Thanks, I've manage to solve the problem now, as you said apache and php didn't go together
Posts: 13451
nozze, great!
Posts: 3
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?