| Author |
Message |
skl
Beginner


Joined: Aug 09, 2005 Posts: 8
|
Posted: Mon Aug 15, 2005 11:12 am Post subject: gallery 2 database installation failure |
|
|
Hy!
i gave up gallery 1 in nuke
now i have a prob. with g2:
click here plííz [electroclash.hu]
i can't figure it out what to do! All the parameters are correct, and it's returns an 1044 error, tells me the username is incorrect!
The most strange thing in this: the table in the electroclash database is created correctly by the installation program...
Help me dudes! |
|
| Back to top |
|
|
AdBot
|
| Post subject: gallery 2 database installation failure |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 15, 2005 11:15 am Post subject: Re: gallery 2 database installation failure |
|
|
why did you give up on Gallery1?
A.3. How do I integrate Gallery 1.x into PHPNuke? [nukedgallery.net]
re: your DB errors - you need to make sure that your host, username, and password are correct. also make sure that you have selected the correct database type. for G2, you should not use the same database as phpnuke, it is best to create a new database for it. |
|
| Back to top |
|
|
skl
Beginner


Joined: Aug 09, 2005 Posts: 8
|
Posted: Mon Aug 15, 2005 11:28 am Post subject: Re: gallery 2 database installation failure |
|
|
because i have a theme conflict, and it's too complicated to make it work,
that's why, i would like to try g2..
I'm sure the host, username, password & database type are correct.
Using the same database with nuke, but i'm sure there isn't any problem with this.
But, as you can see below, it's returns an error tells i have "electroclash@%" username. Not "electroclash@localhost". But this appears after g2 test table is created by the script already,
so,
I'm asking because i'm sure, it's a script problem somewhere in the complex code. It's loosing the username, which appears when somebody trying to use the same username and database name together.
Any ideas? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Aug 15, 2005 11:59 am Post subject: Re: gallery 2 database installation failure |
|
|
| if you are absolutely, 100% sure that your database parameters are correct, post a bug report on the gallery project page on sourceforge.net or in the main gallery forums (as this is a potential issue w/ install that is independant of integration). |
|
| Back to top |
|
|
skl
Beginner


Joined: Aug 09, 2005 Posts: 8
|
Posted: Mon Aug 15, 2005 12:42 pm Post subject: Re: gallery 2 database installation failure |
|
|
i made a new, absolutely empty database "gallery2" to try it.
same error, so my idea was wrong as well
So, now, i just hitting the monitor and i don't have any ideas what to do... |
|
| Back to top |
|
|
dari
Site Admin


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


Joined: Aug 09, 2005 Posts: 8
|
Posted: Mon Aug 15, 2005 8:33 pm Post subject: Re: gallery 2 database installation failure |
|
|
i got it
problem caused of wrong php settings at my host...
many probs after that, but the biggest with the urls,,,
setting in gallery2.cfg (bellow) works very well for me, but i edited the file manualy becuase the administration module wouldn't like to accept it ,, but works. I uploaded the gallery to "modules/gallery2".
<?php
$g2embedparams = array (
'embedphpfile' => 'modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2/',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/',
'cookiepath' => '/',
); |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 16, 2005 6:22 am Post subject: Re: gallery 2 database installation failure |
|
|
| your embedphpfile is incorrect. it needs to be the full path (ie. /home/user/public_html/modules/gallery2/) |
|
| Back to top |
|
|
skl
Beginner


Joined: Aug 09, 2005 Posts: 8
|
Posted: Tue Aug 16, 2005 8:06 am Post subject: Re: gallery 2 database installation failure |
|
|
| it isn't works with your embededphpfile setting at all |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 16, 2005 9:22 am Post subject: Re: gallery 2 database installation failure |
|
|
what was the embedphpfile setting that was suggested in the box when you first did the configuration? if you're unsure, get the blank config file here:
http://cvs.sourceforge.net/viewcvs.py/* ... llery2.cfg
and replace your current config file with it, then re-run the configuration. |
|
| Back to top |
|
|
skl
Beginner


Joined: Aug 09, 2005 Posts: 8
|
Posted: Tue Aug 16, 2005 10:41 am Post subject: Re: gallery 2 database installation failure |
|
|
/var/web/www.sitename/modules/gallery2
but hundreds of errors listed with this like "can not open stream" and "no such file and directory"...
almost the same with "http://www...."
the administration module didn't accept any version. I made it by hand , like i posted, and it works very well. I'm uploading my albums yet..  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 16, 2005 10:59 am Post subject: Re: gallery 2 database installation failure |
|
|
| please post the initial configuration along with a sampling of the errors you received. |
|
| Back to top |
|
|
|
|
|
|
|