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 !
Bubba TWO and Gallery2 setup problem
Rewien,
Check the manual pages of nano if you want to create the file. But as Gallery says, they have the file already, you only have to download it and upload the file to the specified directory via filemanager.
`As a convenience to you, we've prepared a correct version of login.txt for you. Download that and copy it into your /usr/share/gallery2 directory and you're all set. `
Check the manual pages of nano if you want to create the file. But as Gallery says, they have the file already, you only have to download it and upload the file to the specified directory via filemanager.
`As a convenience to you, we've prepared a correct version of login.txt for you. Download that and copy it into your /usr/share/gallery2 directory and you're all set. `
Hello Nitram,nitram wrote:Rewien,
Check the manual pages of nano if you want to create the file. But as Gallery says, they have the file already, you only have to download it and upload the file to the specified directory via filemanager.
`As a convenience to you, we've prepared a correct version of login.txt for you. Download that and copy it into your /usr/share/gallery2 directory and you're all set. `
I installed gallery2 using ; apt-get istall gallery2
Which folder isn't visible with bubbatwo filemanager nor FTP,
so I have no idea where to put the login.txt file, it should be placed where the main.php file is located of gallery2.
But can't find the folder containing gallery2 on the filemanager or ftp.
so I used putty and login as root.
After that I when to: cd /usr/share/gallery2#
Then I opend nano: /usr/share/gallery2# nano
And inserted the downloaded caracters of the autentification of gallery2.
After that: ctrl 0 to save, and them to save typed in login.txt
and then ctrl x to exit nano
Pushed the authentication buttin on the gallery2 installer and saids:
Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again.
I even copy pasted the nummers it gives in to nano and then saved in as login.txt
Any idea what I did wrong?
Thanks,
Rewien
Rewien
Rewien,
Reading the line from gallery2 ´Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again.´
It looks to me that Gallery2 did find the file, which is good
, but the contents do not match, so i think you put in to much characters or not enough. Did you tried to download the file which gallery2 makes for you? The file should go to /usr/share/gallery2 and should have 644 permissions.
Whenever you're searching for a file try the following as root in the root (/) directory:
#find ./ -name gallery2
./usr/share/gallery2
./usr/share/gallery2/modules/rewrite/data/mod_rewrite/gallery2
./usr/share/gallery2/modules/rewrite/data/mod_rewrite_no_options/gallery2
./usr/share/doc/gallery2
./etc/apache2/conf.d/gallery2
./etc/gallery2
./var/lib/mysql/gallery2
./var/lib/gallery2
So whenever you have a filename (or part of it) and you don't know it's location, you can find it with find
Good luck
Reading the line from gallery2 ´Error: your login.txt key does not match correctly. Please download a new authentication string from below and try again.´
It looks to me that Gallery2 did find the file, which is good

Whenever you're searching for a file try the following as root in the root (/) directory:
#find ./ -name gallery2
./usr/share/gallery2
./usr/share/gallery2/modules/rewrite/data/mod_rewrite/gallery2
./usr/share/gallery2/modules/rewrite/data/mod_rewrite_no_options/gallery2
./usr/share/doc/gallery2
./etc/apache2/conf.d/gallery2
./etc/gallery2
./var/lib/mysql/gallery2
./var/lib/gallery2
So whenever you have a filename (or part of it) and you don't know it's location, you can find it with find

Good luck
hi Rewien,
just do
cheers
Eek
just do
Code: Select all
su -
cd /usr/share/gallery2
cat "fc0a4f9cae0d84376dedb023748c1cf7" > login.txt
Eek
Thank you all I got it to work!
Only on the installer I have no idea what to enter here:
Database Setup
Please select your database type and enter your database authentication information. The installer will not create the database for you, so you must create one yourself and enter the database name here. If you are installing Gallery into a database that already has tables in it, the table and column prefixes will keep Gallery data from conflicting with what you already have.
Database type: MySQL (all versions) MySQL with Transactions (v3.23.34a and newer) PostgreSQL v7.x and newer PostgreSQL v6.x (not well tested) Oracle (9i and newer) IBM DB2 (v8.2 and newer)
DB Hostname: ( when installing it ask for this)
DB Username: (i think when installing gallery2 it ask for username)
DB Password: (as wel as the paswoord)
DB Name:
Table Prefix:
Column Prefix:
We received the following database related errors:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in /usr/share/gallery2/lib/adodb/drivers/adodb-mysql.inc.php on line 348
server: Access denied for user 'admin'@'localhost' (using password: YES)
Save
But when I enter the username, passwoord and database name i gave gallery2 during the install it saids:
"Unable to connect to database with the information provided. "
any idea what i did wrong here?
Thanks a lot Rewien
Only on the installer I have no idea what to enter here:
Database Setup
Please select your database type and enter your database authentication information. The installer will not create the database for you, so you must create one yourself and enter the database name here. If you are installing Gallery into a database that already has tables in it, the table and column prefixes will keep Gallery data from conflicting with what you already have.
Database type: MySQL (all versions) MySQL with Transactions (v3.23.34a and newer) PostgreSQL v7.x and newer PostgreSQL v6.x (not well tested) Oracle (9i and newer) IBM DB2 (v8.2 and newer)
DB Hostname: ( when installing it ask for this)
DB Username: (i think when installing gallery2 it ask for username)
DB Password: (as wel as the paswoord)
DB Name:
Table Prefix:
Column Prefix:
We received the following database related errors:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in /usr/share/gallery2/lib/adodb/drivers/adodb-mysql.inc.php on line 348
server: Access denied for user 'admin'@'localhost' (using password: YES)
Save
But when I enter the username, passwoord and database name i gave gallery2 during the install it saids:
"Unable to connect to database with the information provided. "
any idea what i did wrong here?
Thanks a lot Rewien
Did you create a gallery2 database before you started the install of gallery2?
The gallery2 setup wont do that for you.
Check out the installation guide on this site:
http://codex.gallery2.org/Gallery2:Inst ... _on_Debian
PS mysql is already on your bubba, so you don't have to install it.
The gallery2 setup wont do that for you.
Check out the installation guide on this site:
http://codex.gallery2.org/Gallery2:Inst ... _on_Debian
PS mysql is already on your bubba, so you don't have to install it.
Solved the problem
Hello nitram,
That's the step I forgot
I got it to work!
I forgot to install the data base.
Thanks alot you guys!
Rewien
That's the step I forgot

I forgot to install the data base.
Thanks alot you guys!
Rewien
Re: Solved the problem
Hi all,
I just installed Gallery2. It works ! Nice
But, i am not able to upload 1 big picture (> 3mb)
It seems there is some kind of size limitation due to PHP ?
Any clue ?
Thanks for your help
jmv
I just installed Gallery2. It works ! Nice

But, i am not able to upload 1 big picture (> 3mb)
It seems there is some kind of size limitation due to PHP ?
Any clue ?
Thanks for your help
jmv
I am having problem with the gallery2. Every time I tried to connect to /bubba2/gallery2 the system is not executing the php scripts. Seems like apache2 is not loading the php module. When firefox opens the gallery2 site, it is asking me what to do with the file?
I have issued the command a2enmod php5 to enable php but still the same. Can somebody give me info how to solve this issue?
Regards,
Efiggy
I have issued the command a2enmod php5 to enable php but still the same. Can somebody give me info how to solve this issue?
Regards,
Efiggy