| Author |
Message |
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Sep 02, 2003 4:36 am Post subject: |
|
|
OK - let's start from the beginning again and try this:
Upload all files from GALLERY 1.4 in to a folder called 'gallery' inside yoursite.com/modules/ (e.g. yoursite.com/modules/gallery)
If it exists - delete the .htaccess in /gallery/setup and the /gallery/ root folder
create a blank config.php file (nothing in it at all) and upload to /gallery/ (if theres one there already - delete it)
Create folders /gallery/albums/ and /gallery/tmp/ (or place them in your ROOT directory e.g. yoursite.com/albums , yoursite.com/tmp) - remember the locations as you will need to know during the CONFIG WIZARD.
CHMOD (set permissions)
/albums/ and /tmp/ to 777
/setup/ to 755
and config.php to 777
Goto yoursite.com/modules/gallery/setup/
Run the CONFIG WIZARD (making sure you go all the way through to the end - where it shows you a complete list of your configuration, and then saves it to the BLANK config.php file)
CHMOD (set permissions)
/setup/ to 0
NETPBM
You will need to check your UNIX server config to find out which BINARIES to d/l. (UNIX = Linux/BSD) This can be done by going to yoursite.com/modules/gallery/setup/phpinfo.php before you CHMOD /setup/ to 0 or create a BLANK file, fill it with
Code: ›
<? phpinfo(); ?>
upload it to your server, then call it from your browser. The following screen will show the server details.
Download the RIGHT binaries, UNZIP/TAR, then upload those to a directory on your server (yoursite.com/netpbm) then specify in the gallery configuration, the path to it... (/your/path/to/netpbm) be sure to upload them in binary and afterwards make sure the permissions on them are 755 including the directory where you put them. |
|
| Back to top |
|
|
AdBot
|
|
| Back to top |
|
 |
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Tue Sep 02, 2003 2:23 pm Post subject: |
|
|
slackbladder wrote: › Run the CONFIG WIZARD (making sure you go all the way through to the end - where it shows you a complete list of your configuration, and then saves it to the BLANK config.php file)
I don't think I am getting past this point. After I enter the last of the information in the configuration wizard, I am sent to a page that says this:
Gallery Setup: Step 4
Confirm that the settings you entered came through correctly. If you find this page confusing, you can probably safely ignore it (unless you see stuff in red which indicates an error)
From your last post, I am assuming that there should be more on this page than there is. Above is all that is there. The setup is never actually saving any information to the config.php file.
I also noticed that, after getting to this point, there is another empty .htaccess file that has been created if the root of /gallery. I deleted it, but as soon as I refreshed the Step 4 page, I got the same messege on the screen and the .htaccess file was back... Still empty. I tried chmodding it to 777, and then refreshing as well, but it made no difference.
What next? |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Sep 02, 2003 3:14 pm Post subject: |
|
|
| Just tried the SETUP - WIERD!!! - Dari? any ideas? |
|
| Back to top |
|
|
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Tue Sep 02, 2003 3:38 pm Post subject: |
|
|
| So I'm not screwing it up? I thought I was doing it the way I was supposed to. I hope we can get this figured out, because I have been told from several differant people that Gallery is by far the best picture gallery module out there. |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Sep 02, 2003 4:10 pm Post subject: Re: Wrong version of the config wizard??? |
|
|
OK - this is a stab in the dark - but I have compiled a config.php from my gallery install and re-worked it with your details.
CHMOD /setup/ to 0
Copy this code in to an empty file, save as config.php, upload in to your /modules/gallery/ directory and chmod to 755
Code: ›
<?php
/*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2003 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id: gpl.txt,v 1.5 2003/06/26 09:23:57 jefmcg Exp $
*/
?>
<?php
/*
* Protect against very old versions of 4.0 (like 4.0RC1) which
* don't implicitly create a new stdClass() when you use a variable
* like a class.
*/
if (!isset($gallery)) {
$gallery = new stdClass();
}
if (!isset($gallery->app)) {
$gallery->app = new stdClass();
}
/* Version */
$gallery->app->config_version = 40;
/* Features */
$gallery->app->feature["zip"] = 0; // (missing <i>zipinfo</i> -- it's optional)
$gallery->app->feature["rewrite"] = 1;
$gallery->app->feature["mirror"] = 0; // (missing <i>mirrorSites</i> -- it's optional)
/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->graphics = "NetPBM";
$gallery->app->pnmDir = "/var/www/html/NetPBM";
$gallery->app->pnmtojpeg = "ppmtojpeg";
// optional <i>ImPath</i> missing
$gallery->app->highlight_size = "200";
// optional <i>zipinfo</i> missing
$gallery->app->unzip = "/usr/bin/unzip";
// optional <i>use_exif</i> missing
// optional <i>use_jpegtran</i> missing
$gallery->app->movieThumbnail = "/var/www/html/nuke/modules/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/var/www/html/albums";
$gallery->app->tmpDir = "/var/www/html/tmp";
$gallery->app->photoAlbumURL = "http://www.oklahomaxriders.com/nuke/modules/gallery";
$gallery->app->albumDirURL = "http://www.oklahomaxriders.com/albums";
// optional <i>mirrorSites</i> missing
$gallery->app->showAlbumTree = "no";
$gallery->app->autorotate = "yes";
$gallery->app->default_language = "en_GB";
$gallery->app->ML_mode = "2";
$gallery->app->available_lang[] = "en_US";
$gallery->app->available_lang[] = "de_DE";
$gallery->app->available_lang[] = "en_GB";
$gallery->app->available_lang[] = "es_ES";
$gallery->app->available_lang[] = "fr_CA";
$gallery->app->available_lang[] = "he_IL";
$gallery->app->available_lang[] = "is_IS";
$gallery->app->available_lang[] = "it_IT";
$gallery->app->available_lang[] = "lt_LT";
$gallery->app->available_lang[] = "nl_BE";
$gallery->app->available_lang[] = "nl_NL";
$gallery->app->available_lang[] = "no_NO";
$gallery->app->available_lang[] = "pl_PL";
$gallery->app->available_lang[] = "ru_RU";
$gallery->app->available_lang[] = "ru_RU.koi8r";
$gallery->app->available_lang[] = "sv_SE";
$gallery->app->locale_alias[en_US] = "0";
$gallery->app->locale_alias[de_DE] = "0";
$gallery->app->locale_alias[en_GB] = "0";
$gallery->app->locale_alias[es_ES] = "0";
$gallery->app->locale_alias[fr_CA] = "0";
$gallery->app->locale_alias[he_IL] = "0";
$gallery->app->locale_alias[is_IS] = "0";
$gallery->app->locale_alias[it_IT] = "0";
$gallery->app->locale_alias[lt_LT] = "0";
$gallery->app->locale_alias[nl_BE] = "0";
$gallery->app->locale_alias[nl_NL] = "0";
$gallery->app->locale_alias[no_NO] = "0";
$gallery->app->locale_alias[pl_PL] = "0";
$gallery->app->locale_alias[ru_RU] = "0";
$gallery->app->locale_alias[ru_RU.koi8r] = "0";
$gallery->app->locale_alias[sv_SE] = "0";
$gallery->app->cacheExif = "no";
$gallery->app->jpegImageQuality = "95";
$gallery->app->timeLimit = "30";
$gallery->app->debug = "no";
$gallery->app->use_flock = "yes";
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";
$gallery->app->userDir = "/var/www/html/albums/.users";
/* Defaults */
$gallery->app->default["bordercolor"] = "black";
$gallery->app->default["border"] = "1";
$gallery->app->default["font"] = "arial";
$gallery->app->default["cols"] = "4";
$gallery->app->default["rows"] = "9";
$gallery->app->default["thumb_size"] = "150";
$gallery->app->default["resize_size"] = "400";
$gallery->app->default["fit_to_window"] = "no";
$gallery->app->default["use_fullOnly"] = "no";
$gallery->app->default["print_photos"] = "none";
$gallery->app->default["returnto"] = "yes";
$gallery->app->default["showOwners"] = "no";
$gallery->app->default["albumsPerPage"] = "50";
$gallery->app->default["showSearchEngine"] = "yes";
$gallery->app->default["useOriginalFileNames"] = "no";
$gallery->app->default["display_clicks"] = "no";
$gallery->app->default["public_comments"] = "yes";
$gallery->app->default["extra_fields"] = "Description";
$gallery->app->default["item_owner_modify"] = "yes";
$gallery->app->default["item_owner_delete"] = "yes";
$gallery->app->default["item_owner_display"] = "no";
$gallery->app->default["add_to_beginning"] = "no";
?>
This probably won't fix the fault completely but may determine if GALLERY is able to run on your server>! |
|
| Back to top |
|
|
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Tue Sep 02, 2003 4:55 pm Post subject: |
|
|
| and then activate and try to run the gallery from within my site? or rerun the configuration wizard again? |
|
| Back to top |
|
|
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Wed Sep 03, 2003 10:11 pm Post subject: |
|
|
| Well, I uploaded the config.php file that you so graciously edited for me slackbladder, but it made no difference. Do any of you have any other suggestions for how to fix my problem, or am I just Shit outa luck on getting this damn thing to work? If so what is my next best bet as far as Gallery software? |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Thu Sep 04, 2003 1:14 am Post subject: |
|
|
I would contact your HOSTSand ask if there are any restrictions running on your webspace. Ask what is the actual server path to your space. Tell them that you are trying to install GALLERY - give them the URL to GALLERY, and ask if there is a problem with using this application in your space.
What plan are you on with doteasy? |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Thu Sep 04, 2003 1:17 am Post subject: |
|
|
| Also I noticed that Coppermine Photo Gallery IS supported by doteasy, which also runs inside NUKE, so maybe easier to follow their tutorial and istall that. |
|
| Back to top |
|
|
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Thu Sep 04, 2003 12:11 pm Post subject: |
|
|
I am running the ultra hosting package. With 1 extra DB. I am currently not using the second DB though, I just paid for it up front, in case I ever needed it.
There are NO restrictions on this hosting package. That is one of the reasons why I went with them.
I will contact them and see what they say, but I'm not going to hold my breath.
I will let you know what, if anything I find out... in the mean time I will take a look at coppermine. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Sep 04, 2003 12:29 pm Post subject: |
|
|
| what version of PHP? i had a discussion earlier with some of the gallery developers re: incompatibility with PHP 4.1.2 and earlier (ie, you need to have PHP 4.3.x installed) with the newest release candidate. afaik, they are going to sort the issue out, though. |
|
| Back to top |
|
|
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Thu Sep 04, 2003 4:10 pm Post subject: Re: Wrong version of the config wizard??? |
|
|
http://www.oklahomaxriders.com/nuke/modules/gallery/setup/phpinfo.php [oklahomaxriders.com]
PHPinfo is listing my PHP version as 4.2.2
I am still getting the incomplete step 4 page but now I am also getting an error that I was NOT getting before
Warning: Cannot add header information - headers already sent by (output started at /var/www/html/nuke/modules/gallery/config.php:2) in /var/www/html/nuke/modules/gallery/util.php on line 1934
Gallery Setup: Step 4
Confirm that the settings you entered came through correctly. If you find this page confusing, you can probably safely ignore it (unless you see stuff in red which indicates an error)
I'm not sure what the new one meens either, but as many times as I have un-loaded and reloaded these folders and files, I may have just missed soemthing the last time. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Thu Sep 04, 2003 4:43 pm Post subject: |
|
|
| ok, in your php.ini file, change the output_buffering to On |
|
| Back to top |
|
|
bladerunner
Novice


Joined: Aug 31, 2003 Posts: 24 Location: Tulsa, Oklahoma
|
Posted: Fri Sep 05, 2003 8:23 am Post subject: |
|
|
and my php.ini file would be where?
Never mind. I just got a response from doteasy support. They said that they DO support coppermine, but that Gallery has not been tested on thier servers yet. They also sent me a link to a graphical set-up tutorial. I think I am going to go with the coppermine option, because I need to get this thing up and running.
Thanks to slackbladder and Dari for all the help and support that you have given me. Maybe I will check back later to see if an upgrade will fix these issues... Bladerunner out |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Sep 05, 2003 8:48 am Post subject: |
|
|
| it may be an issue with gallery requiring PHP safe mode to be off. don't know if coppermine needs it, though. |
|
| Back to top |
|
|
|
|
|
|
|