1
Zeegy
Xoops gallery 2
  • 2007/1/31 16:44

  • Zeegy

  • Just popping in

  • Posts: 4

  • Since: 2007/1/31


Hi,

I've installed XOOPS Gallery 2 Module. I read the install.txt file, and try to do everything that it says, but when I go tohttp://website/modules/xoopsgallery/engine/install/
I get the error
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'LANG' - it's not in the allowed list in /home/vol1/host/o/sitename/www/modules/xoopsgallery/engine/modules/core/classes/GalleryTranslator.class on line 299

Anyone know how I can fix this?

This is the part of the readme.txt file where it says what I have to do:

III. INSTALL GALLERY 2
4. Initialize Gallery2.
a. Go to www.yourdomain.com/modules/yourgalleryname/engine/install:
b. Follow the instructions!
c. You will need to upload an authorization text file to the gallery2 (aka engine) directory
i. /server/path/to/html/modules/yourgalleryname/engine
d. You will need to create an empty config.php file in with webserver access
i. create an empty file in /server/path/to/html/modules/yourgalleryname/engine called config.php
ii. change permissions to 777 for config.php or at least 666 for write ability.
d. If you are not using the existing XOOPS database, you will need to have one ready prior to the Gallery2 initialization
i. you will need hostname (localhost if on same server), database name, user access name and password.
e. Follow the Gallery2 install instructions, they work!
i. the files are correct to version 2.0.2 but my computer made the crc checks bad
f. Gallery 2 is installed.

2
skenow
Re: Xoops gallery 2
  • 2007/1/31 17:35

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


If I remember correctly, XoopsGallery will only work if safe_mode = off in PHP.ini

3
Zeegy
Re: Xoops gallery 2
  • 2007/1/31 18:23

  • Zeegy

  • Just popping in

  • Posts: 4

  • Since: 2007/1/31


And where do I find that file (PHP.ini)? In which folder?

4
mjz55
Re: Xoops gallery 2
  • 2007/1/31 22:16

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


I paid somebody $20.00 to install it for me. I spent hours and it saved me more hours o jerkin' around, and it was done in minutes.

5
skenow
Re: Xoops gallery 2
  • 2007/2/1 0:44

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


php.ini is part of your server configuration - you may, or may not, have access to the files that control it. The configuration I ended up with on one site that I installed XoopsGallery for needed safe_mode OFF and register_globals ON.

6
Zeegy
Re: Xoops gallery 2
  • 2007/2/1 15:34

  • Zeegy

  • Just popping in

  • Posts: 4

  • Since: 2007/1/31


as far as I know, those options are that way, so that isn't the problem...

7
skenow
Re: Xoops gallery 2
  • 2007/2/1 17:48

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


safe_mode also has several options that can be set -

Quote:
safe_mode_allowed_env_vars string
Setting certain environment variables may be a potential security breach. This directive contains a comma-delimited list of prefixes. In Safe Mode, the user may only alter environment variables whose names begin with the prefixes supplied here. By default, users will only be able to set environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).

Note: If this directive is empty, PHP will let the user modify ANY environment variable!


I have switched to xcGallery - much simpler and cleaner

Login

Who's Online

184 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 184


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits