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  

Can't log into admin or manipulate gallery after integration
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
Canadrian

Beginner
Beginner


Joined: Jun 02, 2004
Posts: 8

PostPosted: Mon Aug 29, 2005 2:46 pm    Post subject: Can't log into admin or manipulate gallery after integration Reply with quote

Hello! Sorry if this has been answered, but I did search. It's always hard to find things when people use such generic subject lines! Smile

I installed G2 without a hitch, and installed the integration package, following the instructions carefully. However, after installation, I can't really do anything in the gallery - not even log into admin! I can open the gallery2 module, and the empty gallery shows up fine (though without theme integration, but beggars can't be choosers). The "Add Photo" link works fine, but the "Site Admin", "Edit", and "Guest" links don't work. They kick up Error 403, Error 406, and Error 406, respectively. I also tried navigating to mysite/modules/gallery2 and going to the admin interface from there, but that doesn't work anymore either.

Any thoughts?
Back to top
Offline View user's profile Send private message Visit poster's website
AdBot
   Post subject: Can't log into admin or manipulate gallery after integration  

Back to top
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Mon Aug 29, 2005 5:44 pm    Post subject: Re: Can Reply with quote

Same thing has happened to me.. I appreciate your thread and hope it gets answered.
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Tue Aug 30, 2005 6:56 am    Post subject: Re: Can Reply with quote

when you log into phpnuke as your GOD user, do you get a "Site admin" link in G2 at the top right of G2? that should take you to the administration page for it. to add albums, you'd need to click the "Edit" link on the bottom left.

Error 403 is forbidden, and 406 is "not acceptable" (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). i don't know why you would get either of these. what version of phpnuke are you guys running? any 3rd party security add-ons?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
Clan-lol

Beginner
Beginner


Joined: Dec 29, 2004
Posts: 7

PostPosted: Tue Aug 30, 2005 10:30 am    Post subject: Re: Can't log into admin or manipulate gallery after integra Reply with quote

same problem.
after i click on site admin i get the 403 forbidden.

running
phpnuke 7.8 no security shit.
+
gallery2 newest edition

something wrong with my chmod?

it also occurs when u standalone install gallery 2 without any stuff from here. But i have it installed at the good directory /modules/gallery2/
now it says just access denied.
Back to top
Offline View user's profile Send private message
Clan-lol

Beginner
Beginner


Joined: Dec 29, 2004
Posts: 7

PostPosted: Wed Aug 31, 2005 3:11 pm    Post subject: Re: Can't log into admin or manipulate gallery after integra Reply with quote

nobody has a idea?
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Wed Aug 31, 2005 7:45 pm    Post subject: Re: Can Reply with quote

post the contents of gallery2.cfg.
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Wed Aug 31, 2005 9:46 pm    Post subject: Re: Can Reply with quote

It seems that the "URL path from document root to embedURI" has some problems..
I say this because if I leave it at the default "/" then I get the advertisement images show up (the gallery2 logo, the logos on the bottom, etc) but if I change that to /modules/gallery2/ then it will show my uploaded images and not the other images....

(one quick question, can guests view the gallery? It seems if you have to import all the users each time, that no-one could view it)
Back to top
Offline View user's profile Send private message
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Wed Aug 31, 2005 9:49 pm    Post subject: Re: Can Reply with quote

Also, it keeps refrencing to /modules/gallery2/modules.php which is not there?
Back to top
Offline View user's profile Send private message
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Wed Aug 31, 2005 9:54 pm    Post subject: Re: Can Reply with quote

gallery2.cfg

<?php
$g2embedparams = array (
'embedphpfile' => '/home/******/public_html/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '/',
'cookiepath' => '/',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>
Back to top
Offline View user's profile Send private message
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Wed Aug 31, 2005 9:57 pm    Post subject: Re: Can Reply with quote

You know what.. I just changed: URL path from document root to embedURI

to nothing.. I deleted everything in that box and it seems to be working now...

(I am doing all this to keep everyone updated)
Back to top
Offline View user's profile Send private message
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Wed Aug 31, 2005 10:30 pm    Post subject: Re: Can Reply with quote

Seems to be holding up pretty good.

Quick question here (dari you got the answer Smile ) Is there anyway I can make PDF files go directly to the PDF file after clicking it? Instead of to the next size up then gives a link to download document?
Back to top
Offline View user's profile Send private message
caseysousa

Beginner
Beginner


Joined: Aug 31, 2005
Posts: 1

PostPosted: Wed Aug 31, 2005 11:27 pm    Post subject: Re: Can Reply with quote

lamur wrote: › You know what.. I just changed: URL path from document root to embedURI

to nothing.. I deleted everything in that box and it seems to be working now...

(I am doing all this to keep everyone updated)
you saved me! i was so confused on why it wasn't able to show any images. but removing the "/" from the box solved the image problem and now it's working fine. thanks for the post, lamur!
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Sep 01, 2005 6:23 am    Post subject: Re: Can Reply with quote

lamur-
can you post the new contents of your cfg file?
_________________
Back to top
Offline View user's profile Send private message Visit poster's website
lamur

User
User


Joined: Oct 30, 2004
Posts: 37

PostPosted: Thu Sep 01, 2005 3:23 pm    Post subject: Re: Can Reply with quote

Your welcome Casey! Glad to help out. Took a while to figure that out.

Dari:

<?php
$g2embedparams = array (
'embedphpfile' => '/home/*****/public_html/modules/gallery2/',
'embedUri' => 'modules.php?name=gallery2',
'relativeG2Path' => 'modules/gallery2/',
'loginRedirect' => 'modules.php?name=Your_Account',
'activeUserId' => '0',
'embedPath' => '',
'cookiepath' => '/',
);
$g2mainparams = array (
'showSidebar' => NULL,
);
$g2configurationdone = 'true';
?>
Back to top
Offline View user's profile Send private message
dari

Site Admin
Site Admin


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

PostPosted: Thu Sep 01, 2005 4:21 pm    Post subject: Re: Can Reply with quote

thanks, hopefully this will help others Smile
_________________
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
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: Web HostingDedicated ServersDomain NamesDomain Name RegistrationDedicated Web HostingSEO Search Engine OptimisationSEOWeb Design New YorkSEO Web DesignWeb hosting AustraliaCheap Web Design

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