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  

Problem with G2 for Platinum
Goto page 1, 2  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
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Sat Jul 30, 2005 2:31 pm    Post subject: Problem with G2 for Platinum Reply with quote

Ok, I installed Gallery2 (uploaded the module, block, and image onto my server), but am having some problems.

what should I put for:
Gallery2 Full filepath:
Embed URI:
Relative G2 path:
Login redirect:
Active User ID:

?


Everytime I think I have it right, it says "Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder."

"Make sure the modules/gallery2/gallery2.cfg on your server is writable.
If this is not the case: just chmod it to 666 ."

gallery2.cfg "Error: gallery2.cfg is not writable". How do I "just chmod it to 666"?

Thanks for the help

for fullpath I'm doing www/sven/modules/gallery2

any ideas?

I thought all you needed to do was configure it by uploading it to the server and then accessing the module admin.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Problem with G2 for Platinum  

Back to top
dari

Site Admin
Site Admin


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

PostPosted: Mon Aug 01, 2005 6:39 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

if you have command line access, type "chmod 666 gallery2.cfg" when you're inside your gallery2 directory. if you have a web file manager, you would have to change permissions using it's interface.
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 11:00 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

Ok, I've never done this before. Command line access? Does that mean .htaccess? If so, where in the .htaccess would I type that. Or do you mean open up gallery2's index.php and type it somewhere in there.

Can you please be a bit more specific...I just need to learn where to type the chmod once and I'll understand it.

Thanks
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 01, 2005 11:05 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

http://catcode.com/teachmod/
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 11:37 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

Thanks for the tutorial...atleast I understand it now; the only part that it was missing was that it never told me what file to open to modify!
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 01, 2005 11:39 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

you need to chmod gallery2.cfg to 666. there are no files that need to be opened.
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 11:52 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

AARRGGHHH...ok we're back where we started. So where on earth do I type "chmod 666 gallery2.cfg"? THere's gotta be a file or something or someplace where I type that.
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 01, 2005 11:55 am    Post subject: Re: Problem with G2 for Platinum Reply with quote

there are no files to be opened. you use a terminal program like telnet or ssh to connect to your host. you then navigate to the gallery 2 directory and issue the chmod COMMAND.

if you do not have shell access, and your host uses Cpanel or some other web-based file manager, you must use it instead.

some ftp programs offer the capability of changing file permissions as well.
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 12:15 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

There we go thank you. I found a good tutorial http://www.zachjorgensen.net/za/chmodtutor.html

Didn't realize I had that option on my FTP...thanks for being patient.
Back to top
Offline View user's profile Send private message
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 12:22 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

Ok this is what my gallery2.cfg looks like:
<?
$g2embedparams = array (
'embedphpfile' => '/modules/gallery2',
'embedUri' => 'http://www.Snoboreders.com/modules.php?name=gallery2',
'relativeG2Path' => '/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'false'; ?>



Any idea why I still get this error? "
Error : Gallery2 Full filepath
You need to install and configure G2 first.Then this field must point to your Gallery2 root folder."

I thought it was pointing to the root.
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 01, 2005 12:59 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

your embedphpfile is wrong.

it should be something along the lines of /home/yourusername/public_html/modules/gallery2/ (you need the COMPLETE filesystem path). if you don't know what it is, create a php file with the following in it:
PHP: › <?php echo dirname(__FILE__); ?>
and put it in your gallery2 folder. then, view the file through your web browser (ie, http://www.yoursite.com/modules/gallery ... ename.php) and use the value that's printed on the screen.

then, you MUST export your users before the configuration will be complete.
Back to top
Offline View user's profile Send private message Visit poster's website
dari

Site Admin
Site Admin


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

PostPosted: Mon Aug 01, 2005 1:00 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

Read the readme file for more information:
http://cvs.sourceforge.net/viewcvs.py/* ... ml?rev=1.2
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 3:03 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

Ok, thanks for the help...I got up to the export users part and then:
Warning: init(/home/sven/public_html/sven/modules/gallery2/home/sven/public_html/sven/modules/gallery2embed.php): failed to open stream: No such file or directory in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 169

Fatal error: init(): Failed opening required '/home/sven/public_html/sven/modules/gallery2/home/sven/public_html/sven/modules/gallery2embed.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sven/public_html/sven/modules/gallery2/admin/index.php on line 169

Why are the repeating the folders...shouldn't it only be /sven/modules/gallery2/admin/index.php?

Line 169 is this: require_once ($g2embedparams[embedphpfile]."/"._G2_EMBED_PHP_FILE);

any idea?
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 01, 2005 5:05 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

post your config lines.
Back to top
Offline View user's profile Send private message Visit poster's website
Snoboreders

Beginner
Beginner


Joined: Jul 30, 2005
Posts: 15

PostPosted: Mon Aug 01, 2005 10:12 pm    Post subject: Re: Problem with G2 for Platinum Reply with quote

<?
$g2embedparams = array (
'embedphpfile' => '/home/sven/public_html/sven/modules/gallery2',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'gate.html?name=Your_Account',
'activeUserId' => '0',
);
$g2mainparams = array (
'showSidebar' => 'true',
);
$g2configurationdone = 'false'; ?>
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 1, 2  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 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