New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Issue with installing gallery2

Got problems with your B2 or B3? Share and get helped!
Post Reply
bervan
Posts: 17
Joined: 29 Oct 2008, 12:35

Issue with installing gallery2

Post by bervan »

Hi,

I try to install gallery2 on my b2

After an apt-get install gallery2
Adding a mysql database called gallery2
And changing the /etc/apache2/conf.d/gallery2 file incl a restart

I try to get to the installer for galery2, it should be via the next url:
http://bubba.local/gallery2/install/index.php

If I hit this URL then the browser downloads a file called index.php and ends with a blank screen and no installer.

The content of this file is a php script? (i'm not sure though)

I don't know if there is something wrong with php? Does somebody know what I am doing wrong?

Thanks in advance

Bert

--------------content of the index.php-------------------
<?php
/*
* ATTENTION:
*
* If you're seeing this in your browser, and are trying to install Gallery,
* you either do not have PHP installed, or if it is installed, it is not
* properly enabled. Please visit the following page for assistance:
*
* http://gallery.sourceforge.net/
*
* ----------------------------------------------------------------------------
*
* $Id: index.php,v 1.73.2.1 2006/08/08 00:00:00 mindless Exp $
*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2006 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/

/* Show all errors. */
@ini_set('display_errors', 1);

/*
* Disable magi etc...
bervan
Posts: 17
Joined: 29 Oct 2008, 12:35

solved

Post by bervan »

I solved it by a reinstall of the bubba2, maybe things were meshed up a bit.

Bert
carl
Posts: 474
Joined: 07 May 2008, 04:41

Re: solved

Post by carl »

bervan wrote:I solved it by a reinstall of the bubba2, maybe things were meshed up a bit.

Bert
could have been an missconfiguration in apache2, thoug as you have reinstalled, I hope it will work for now.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Post Reply