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  

Gallery2 integration
Goto page Previous  1, 2, 3  Next
 
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
masterkey

Beginner
Beginner


Joined: Jul 03, 2005
Posts: 12

PostPosted: Sat Jul 16, 2005 6:09 pm    Post subject: Re: Gallery2 integration Reply with quote

What does it mean...?

"you need to chmod your gallery2.cfg file (and the gallery2 directory recursively) to at least 755."
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: Gallery2 integration  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Mon Jul 18, 2005 3:32 pm    Post subject: Re: Gallery2 integration Reply with quote

at a command prompt, in your modules directory:
Code: › chmod -R 755 gallery2/
Back to top
Offline View user's profile Send private message Visit poster's website
eldolfis

Beginner
Beginner


Joined: Jul 13, 2005
Posts: 1

PostPosted: Tue Jul 19, 2005 1:44 am    Post subject: Re: Gallery2 integration Reply with quote

What if I have my gallery 2 installed in a folder diferent from nuke...

lets say

nuke is on

httpdocs/nuke/html/

and my gallery

httpdocs/gallery2/
Back to top
Offline View user's profile Send private message Visit poster's website
masterkey

Beginner
Beginner


Joined: Jul 03, 2005
Posts: 12

PostPosted: Tue Jul 19, 2005 5:32 am    Post subject: Re: Gallery2 integration Reply with quote

Sorry Dari, it doesn't work!

File and folder are 775 or 777 - same error: _G2_ERROR: modules/gallery2/ _NOTWRITABLE


I would know what you mean with "recursively"?
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 Jul 19, 2005 4:50 pm    Post subject: Re: Gallery2 integration Reply with quote

recursively means every file and folder within the gallery2 directory.
Back to top
Offline View user's profile Send private message Visit poster's website
ManMtl

Beginner
Beginner


Joined: Jul 22, 2005
Posts: 2

PostPosted: Fri Jul 22, 2005 2:43 am    Post subject: Re: Gallery2 integration Reply with quote

I'll join you guys if you don't mind. I went through all the same steps, finally got "_G2_ERROR: modules/gallery2/ _NOTWRITABLE"
I did CHMOD 777 all inside both integtration g2 folder and installed g2 gallery folder (just in case Wink )

On top of this impass I got an extra msg on top of nuke's header :

Warning: main(modules/gallery2/admin/language/lang-russian.php): failed to open stream: No such file or directory in /var/www/html/modules/gallery2/admin/case.php on line 33

Warning: main(): Failed opening 'modules/gallery2/admin/language/lang-russian.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/modules/gallery2/admin/case.php on line 33

Apparently there is a language file missing, but I don't think there is a localised file for integration of g2, so may be you'll tell me how to get rid of these warnings?
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: Fri Jul 22, 2005 5:36 am    Post subject: Re: Gallery2 integration Reply with quote

re: the russian error...there is a russian localization of G2, in the index.php of G2, you'll see an array of languages, simply add:
'russian' => 'ru'
to the end and see if it works.

re: the not writable error, does it say what line is throwing that error?
Back to top
Offline View user's profile Send private message Visit poster's website
masterkey

Beginner
Beginner


Joined: Jul 03, 2005
Posts: 12

PostPosted: Sat Jul 23, 2005 2:25 am    Post subject: Re: Gallery2 integration Reply with quote

It doesn't work. Also when I chmod 777 the "public html" folder...
Is it possible that something is missing?

ManMtl - how do you mean "...inside both integtration g2 folder and installed g2 gallery folder..."? Do you have two folders? Can you post a screenshot?
Back to top
Offline View user's profile Send private message
ManMtl

Beginner
Beginner


Joined: Jul 22, 2005
Posts: 2

PostPosted: Sun Jul 24, 2005 8:08 am    Post subject: Re: Gallery2 integration Reply with quote

Yes, masterkey, I have 2 different directories. First I installed G2 into "Gallery" directory in "modules", then once I understood I need to port it, I installed integration in "gallery2" (modules part as default).

Now I think that might be a problem and I began a clean install of G2 into gallery2 directory, then integration into the same dir. Now I still got to the same "_G2_ERROR: modules/gallery2/ _NOTWRITABLE" 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: Sun Jul 24, 2005 11:31 am    Post subject: Re: Gallery2 integration Reply with quote

aahh...ManMtl...you need to make sure that your path is <nuke_html>/modules/Gallery instead of "gallery2". the integration package needs to be installed into your gallery2 directory.
Back to top
Offline View user's profile Send private message Visit poster's website
masterkey

Beginner
Beginner


Joined: Jul 03, 2005
Posts: 12

PostPosted: Sun Jul 24, 2005 1:53 pm    Post subject: Re: Gallery2 integration Reply with quote

I can't find the error...

To install the integration package I have to replace the index.html and two other image files in the gallery2 directory!? Is that correct?
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 Jul 25, 2005 6:30 am    Post subject: Re: Gallery2 integration Reply with quote

you need to move the contents of the :
html/admin folder into your <nuke_root>/admin/ folder.
html/modules/gallery2/ folder into your <nuke_root>/modules/gallery2/ folder
html/images/ folder into your <nuke_root>/images/ folder.
Back to top
Offline View user's profile Send private message Visit poster's website
aster

Beginner
Beginner


Joined: Jul 26, 2005
Posts: 2

PostPosted: Tue Jul 26, 2005 7:48 am    Post subject: Re: Gallery2 integration Reply with quote

mmh I think I have the same problem....

I installed g2 a while ago and it worked fine.
( http://fkserv.ugent.be/politeia/gallery2/main.php )

so now i downloaded the integration file and followed everything , my .cfg =
Quote: ›
<?php
$g2embedparams = array (
'embedphpfile' => '/home/politeia/public_html/gallery2/',
'embedUri' => 'http://fkserv.ugent.be/politeia/html/modules.php?name=gallery2modules.php?name=gallery2',
'relativeG2Path' => '/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'cookiepath' => '/',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'false';

?>


When i fill all this in my admin panel and i want to "update main settings" , i get this :

Fatal error: Undefined class name 'gallerycoreapi' in /home/politeia/public_html/html/modules/gallery2/admin/index.php on line 406

Do I do everything wrong or am I close to get it to work ...

tia,
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 Jul 26, 2005 8:05 am    Post subject: Re: Gallery2 integration Reply with quote

your settings are incorrect. note that the URL you pasted above your config file is lacking the "html" after the "politeia".
your embedphpfile is wrong, as well. gallery 2 should be installed in your modules directory.

you need to double check all your path settings.
Back to top
Offline View user's profile Send private message Visit poster's website
aster

Beginner
Beginner


Joined: Jul 26, 2005
Posts: 2

PostPosted: Tue Jul 26, 2005 8:22 am    Post subject: Re: Gallery2 integration Reply with quote

but it was installed on his own ...

my old site :
http://fkserv.ugent.be/politeia
new site :
http://fkserv.ugent.be/~politeia/html/

so gallery was there before nuke.... do I have to reinstall gallery but now in nuke ? or can i just move it ?

I thought this release integrated gallery 2 in nuke ?

how should my configfile look like then ?

thx!
Back to top
Offline View user's profile Send private message
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
Goto page Previous  1, 2, 3  Next

 
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 ServiceNeckermannBluetooth HeadsetOnline internetSEOchina factoryDressesRestaurant Locatorandroid tablet

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