| Author |
Message |
Canadrian
Beginner


Joined: Jun 02, 2004 Posts: 8
|
Posted: Mon Aug 29, 2005 2:46 pm Post subject: Can't log into admin or manipulate gallery after integration |
|
|
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!
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 |
|
|
AdBot
|
| Post subject: Can't log into admin or manipulate gallery after integration |
|
|
|
|
|
| Back to top |
|
 |
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Mon Aug 29, 2005 5:44 pm Post subject: Re: Can |
|
|
| Same thing has happened to me.. I appreciate your thread and hope it gets answered. |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Tue Aug 30, 2005 6:56 am Post subject: Re: Can |
|
|
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 |
|
|
Clan-lol
Beginner


Joined: Dec 29, 2004 Posts: 7
|
Posted: Tue Aug 30, 2005 10:30 am Post subject: Re: Can't log into admin or manipulate gallery after integra |
|
|
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 |
|
|
Clan-lol
Beginner


Joined: Dec 29, 2004 Posts: 7
|
Posted: Wed Aug 31, 2005 3:11 pm Post subject: Re: Can't log into admin or manipulate gallery after integra |
|
|
| nobody has a idea? |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 31, 2005 7:45 pm Post subject: Re: Can |
|
|
post the contents of gallery2.cfg. _________________
 |
|
| Back to top |
|
|
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Wed Aug 31, 2005 9:46 pm Post subject: Re: Can |
|
|
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 |
|
|
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Wed Aug 31, 2005 9:49 pm Post subject: Re: Can |
|
|
| Also, it keeps refrencing to /modules/gallery2/modules.php which is not there? |
|
| Back to top |
|
|
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Wed Aug 31, 2005 9:54 pm Post subject: Re: Can |
|
|
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 |
|
|
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Wed Aug 31, 2005 9:57 pm Post subject: Re: Can |
|
|
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 |
|
|
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Wed Aug 31, 2005 10:30 pm Post subject: Re: Can |
|
|
Seems to be holding up pretty good.
Quick question here (dari you got the answer ) 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 |
|
|
caseysousa
Beginner


Joined: Aug 31, 2005 Posts: 1
|
Posted: Wed Aug 31, 2005 11:27 pm Post subject: Re: Can |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Thu Sep 01, 2005 6:23 am Post subject: Re: Can |
|
|
lamur-
can you post the new contents of your cfg file? _________________
 |
|
| Back to top |
|
|
lamur
User


Joined: Oct 30, 2004 Posts: 37
|
Posted: Thu Sep 01, 2005 3:23 pm Post subject: Re: Can |
|
|
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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6284 Location: Washington Township, NJ, USA
|
Posted: Thu Sep 01, 2005 4:21 pm Post subject: Re: Can |
|
|
thanks, hopefully this will help others  _________________
 |
|
| Back to top |
|
|
|
|
|
|
|