Support Forums | Demo Gallery [1.x] [2.x] | Downloads | News | Site Map ]
Nuked Gallery
  Create a FREE account or Login   As a guest, you don't have access to our FULL navigation system.
 Forum FAQForum FAQ   StatisticsStatistics   SearchSearch   UsergroupsUsergroups   FavoritesFavorites  

gallery 2 database installation failure

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic
Author Message
skl

Beginner
Beginner


Joined: Aug 09, 2005
Posts: 8

PostPosted: Mon Aug 15, 2005 11:12 am    Post subject: gallery 2 database installation failure Reply with quote

Hy!

i gave up gallery 1 in nuke Crying or Very sad

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
Offline View user's profile Send private message
AdBot
   Post subject: gallery 2 database installation failure  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Aug 15, 2005 11:15 am    Post subject: Re: gallery 2 database installation failure Reply with quote

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
Offline View user's profile Send private message Visit poster's website
skl

Beginner
Beginner


Joined: Aug 09, 2005
Posts: 8

PostPosted: Mon Aug 15, 2005 11:28 am    Post subject: Re: gallery 2 database installation failure Reply with quote

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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Aug 15, 2005 11:59 am    Post subject: Re: gallery 2 database installation failure Reply with quote

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
Offline View user's profile Send private message Visit poster's website
skl

Beginner
Beginner


Joined: Aug 09, 2005
Posts: 8

PostPosted: Mon Aug 15, 2005 12:42 pm    Post subject: Re: gallery 2 database installation failure Reply with quote

i made a new, absolutely empty database "gallery2" to try it.

same error, so my idea was wrong as well Very Happy

So, now, i just hitting the monitor and i don't have any ideas what to do...
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Mon Aug 15, 2005 12:45 pm    Post subject: Re: gallery 2 database installation failure Reply with quote

then definitely post this, with the content of the error message to this forum:
http://gallery.menalto.com/index.php?na ... forum&f=22
Back to top
Offline View user's profile Send private message Visit poster's website
skl

Beginner
Beginner


Joined: Aug 09, 2005
Posts: 8

PostPosted: Mon Aug 15, 2005 8:33 pm    Post subject: Re: gallery 2 database installation failure Reply with quote

i got it Very Happy

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 Rolling Eyes ,, 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
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 16, 2005 6:22 am    Post subject: Re: gallery 2 database installation failure Reply with quote

your embedphpfile is incorrect. it needs to be the full path (ie. /home/user/public_html/modules/gallery2/)
Back to top
Offline View user's profile Send private message Visit poster's website
skl

Beginner
Beginner


Joined: Aug 09, 2005
Posts: 8

PostPosted: Tue Aug 16, 2005 8:06 am    Post subject: Re: gallery 2 database installation failure Reply with quote

it isn't works with your embededphpfile setting at all
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 16, 2005 9:22 am    Post subject: Re: gallery 2 database installation failure Reply with quote

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
Offline View user's profile Send private message Visit poster's website
skl

Beginner
Beginner


Joined: Aug 09, 2005
Posts: 8

PostPosted: Tue Aug 16, 2005 10:41 am    Post subject: Re: gallery 2 database installation failure Reply with quote

/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 Cool , like i posted, and it works very well. I'm uploading my albums yet.. Very Happy
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Tue Aug 16, 2005 10:59 am    Post subject: Re: gallery 2 database installation failure Reply with quote

please post the initial configuration along with a sampling of the errors you received.
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 2 Integration View previous topicPrinter friendly versionView next topic

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours

Powered by phpBB © phpBB Group



Sponsors: Dedicated ServersDomain NamesWeb HostingDomain Name RegistrationDedicated Web HostingWeb Design New YorkCompare VoIPseo packagesSEO CompanyNew York Yellow PagesFind LocationsVOIP Phone ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

8th year online! 2003-2011
Legal • Use of this site consitutes agreement to the Acceptable Use Policy
Hosted by Implosion WorksSourceForge.net Logo • Theme by TonicMedia