| Author |
Message |
masterkey
Beginner


Joined: Jul 03, 2005 Posts: 12
|
Posted: Sat Jul 16, 2005 6:09 pm Post subject: Re: Gallery2 integration |
|
|
What does it mean...?
"you need to chmod your gallery2.cfg file (and the gallery2 directory recursively) to at least 755." |
|
| Back to top |
|
|
AdBot
|
| Post subject: Re: Gallery2 integration |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 18, 2005 3:32 pm Post subject: Re: Gallery2 integration |
|
|
at a command prompt, in your modules directory:
Code: › chmod -R 755 gallery2/ |
|
| Back to top |
|
|
eldolfis
Beginner


Joined: Jul 13, 2005 Posts: 1
|
Posted: Tue Jul 19, 2005 1:44 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
masterkey
Beginner


Joined: Jul 03, 2005 Posts: 12
|
Posted: Tue Jul 19, 2005 5:32 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 19, 2005 4:50 pm Post subject: Re: Gallery2 integration |
|
|
| recursively means every file and folder within the gallery2 directory. |
|
| Back to top |
|
|
ManMtl
Beginner


Joined: Jul 22, 2005 Posts: 2
|
Posted: Fri Jul 22, 2005 2:43 am Post subject: Re: Gallery2 integration |
|
|
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 )
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Fri Jul 22, 2005 5:36 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
masterkey
Beginner


Joined: Jul 03, 2005 Posts: 12
|
Posted: Sat Jul 23, 2005 2:25 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
ManMtl
Beginner


Joined: Jul 22, 2005 Posts: 2
|
Posted: Sun Jul 24, 2005 8:08 am Post subject: Re: Gallery2 integration |
|
|
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"  |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Sun Jul 24, 2005 11:31 am Post subject: Re: Gallery2 integration |
|
|
| 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 |
|
|
masterkey
Beginner


Joined: Jul 03, 2005 Posts: 12
|
Posted: Sun Jul 24, 2005 1:53 pm Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Jul 25, 2005 6:30 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
aster
Beginner


Joined: Jul 26, 2005 Posts: 2
|
Posted: Tue Jul 26, 2005 7:48 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Tue Jul 26, 2005 8:05 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
aster
Beginner


Joined: Jul 26, 2005 Posts: 2
|
Posted: Tue Jul 26, 2005 8:22 am Post subject: Re: Gallery2 integration |
|
|
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 |
|
|
|
|
|
|
|