View Full Version : Gallery Configuration?
TheSaint
02-23-2004, 06:26 PM
I am configuring gallery and I keep getting two errors. It is telling me to create a config.php and a .htacces files each with 777 permissions. I have created them and given them the correct permissions but am still getting the errors. I am not sure of where they need to be. Right now they are just in the root folder. Should they be somewhere else?
Thanks,
When I have installed/upgraded Gallery I have not needed to create any files or directories.
I upload the Gallery gallery-1.4-pl1.tar.gz to my public_html folder and then, using SSH access, install withtar -xvzf gallery-1.4.1-pl1.tar.gz and then configure as directed. Works great.
TheSaint
02-23-2004, 09:04 PM
i downloaded the zip file unzipped it on my machine and then uploaded it. I was using the setup via the web. What is the .tar?
I have not tried to install Gallery that way. To answer your original guestion the .htaccess file and config.php file should be in the directory you put all the gallery files (gallery on my system).
For info on tar and other Linux/Unix commands that are available with Secure SHell (SSH) access to your site look at the Linux online documentation (tar (http://man.linuxquestions.org/index.php?query=tar§ion=0&type=2) is here) .
TheSaint
02-24-2004, 02:47 PM
did you configure it through ssh or using the webbased config?
I uploaded and then unzipped it and was using the webbased config and got the same error messages:
Error: You must create empty file config.php and chmod it 777 before proceeding. See documentation for more details.
Error: You must create empty file .htaccess and chmod it 777 before proceeding. See documentation for more details.
I use SSH but I am familiar with working on a Linux/Unix system.
Do you have a free or paid site? I don't think SSH is available on free sites. You haveto submit a trouble ticket to get SSH enabled on a paid site.
TheSaint
02-24-2004, 04:16 PM
i have a paid site and have ssh enabled
FTP the Gallery tar file to the public_html folder.
From the shell prompt in the public_html directory entertar -xvzf gallery-1.4.1-pl1.tar.gz (use the actual name of the tar file you uploaded).
This should create a gallery directory with the gallery files and directories. In the gallery directory entersh configure.sh and then point your browser to www.yourdomain.com/gallery and complete the configuration process.
When done then through SSH in the gallery directory enter sh secure.sh(The configure and secure stuff is from memory so double check the docs.)
TheSaint
02-25-2004, 11:10 AM
Its up and running. Thanks for help. I have another question separate from this?
In my site I want most of it to be open to the general public but some sections I want to keep private to certain users.
Right now they have to create separate usernames names for the message board and to register with the site.
Is there a way I could use their one login for multiple sections?
Glad to hear you got Gallery working. Thanks for the feedback. :)
Think about using the message board to manage user names and passwords and then check the board database to log in to the restricted areas.
Still two logins but if you use a cookie you could do an auto log in similar to what the boards do.
Viper007Bond
02-25-2004, 03:03 PM
Next time, read the documentation. ;)
http://gallery.menalto.com/modules.php?op=modload&name=GalleryDocs&file=index&page=gallery1-install.unix-ftp.php
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.