| Author |
Message |
snewham
Beginner


Joined: Feb 26, 2005 Posts: 3
|
Posted: Sat Feb 26, 2005 9:31 am Post subject: 2 Installation Problems- Please Help |
|
|
Hi,
I am trying to install the gallery to my php nuke 7.6 I have downloaded the latest version of gallery and uplaoded as told and am configing it.
I am on the last step and have had errors of creating config.php, .htaccess. I have done those errors but I need helps resolving these ones:
1/
/* Constants */
$gallery->app->galleryTitle = "4Sight's Gallery";
$gallery->app->useIcons = "both";
$gallery->app->skinname = "bubbles";
$gallery->app->uploadMode = "applet_mini";
$gallery->app->albumDir = "/home/xsightr/public_html/albums";
Error: // Missing value: Temporary directory!
(I Created the albums directory and set it to 777 permissions. I'm not sure wat's wrong.)
2/
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";
$gallery->app->rssEnabled = "yes";
$gallery->app->rssMode = "basic";
// optional rssHighlight missing
$gallery->app->rssMaxAlbums = "25";
$gallery->app->rssVisibleOnly = "yes";
$gallery->app->rssDCDate = "no";
$gallery->app->rssBigPhoto = "no";
$gallery->app->rssPhotoTag = "yes";
$gallery->app->userDir = "/home/xsightr/public_html/albums/.users";
// Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!
Not sure how to resolve this.
Any help would be great.
Cheers Scott |
|
| Back to top |
|
|
AdBot
|
| Post subject: 2 Installation Problems- Please Help |
|
|
|
|
|
| Back to top |
|
 |
snewham
Beginner


Joined: Feb 26, 2005 Posts: 3
|
Posted: Sat Feb 26, 2005 9:53 am Post subject: Re: 2 Installation Problems- Please Help |
|
|
UPDATE,
I've resolved the secondimage myself, I download netpbm and uploaded it then set the path to the netpbm folder. That error's resolved. i still don't understand 1st error tho  |
|
| Back to top |
|
|
snewham
Beginner


Joined: Feb 26, 2005 Posts: 3
|
Posted: Sat Feb 26, 2005 10:10 am Post subject: Re: 2 Installation Problems- Please Help |
|
|
Ok I've resolved all of those problems and saved the config.
I now activated it in my administration/modules.
But I have a fatal error when I click on gallery:
Fatal error: Cannot redeclare _() (previously declared in /home/xsightr/public_html/site/modules/gallery/lib/lang.php:191) in /home/xsightr/public_html/site/modules/gallery/lib/lang.php on line 191
Can someone help please?  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
weee
Beginner


Joined: Mar 01, 2005 Posts: 1
|
Posted: Tue Mar 01, 2005 6:50 pm Post subject: Re: 2 Installation Problems- Please Help |
|
|
Quote: › Fatal error: Cannot redeclare _() (previously declared in /home/xsightr/public_html/site/modules/gallery/lib/lang.php:191) in /home/xsightr/public_html/site/modules/gallery/lib/lang.php on line 191
Hey, I had this same exact problem. What I did to fix it was to edit
/home/xsightr/public_html/site/modules/gallery/lib/lang.php and remove the lines from about 184 thru 207.
Yours might vary a little bit. Basically, get rid of the problem code, it seems to work fine without it, unless of course you need different languages installed. I've had no problems since. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
|
| Back to top |
|
|
|
|
|
|
|