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  

Plugins page shows no actions when accessed through Nuke
Goto page Previous  1, 2
 
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
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Mon Oct 06, 2008 11:36 am    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

I can't do a plain PHPnuke installation. I work on the Ravennuke development team. Early this morning I had, on my fkelly.org site, Gallery 2.2.4 working just fine with the latest Ravennuke. Then I upgraded to 2.2.5. I had the same problems I had with 2.2.6. I am going to go get 2.2.4 and reinstall that again and see if the problems go away.

I know that it's not desirable to be installing older versions of Gallery but I need something that works and it will help isolate the problem at least. Can you confirm that you have 2.2.6 working in a PHPnuke environment and that the site admin screens, particularly themes, work properly there?
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Re: Plugins page shows no actions when accessed through Nuke  

Back to top
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Mon Oct 06, 2008 12:17 pm    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

2.2.4 installed. The site admin/ themes problem continues. I am throwing up my hands for the time being. I did a clean install wiping out the data directory (really just copying it off to the side and using a new one) and the tables.
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 Oct 06, 2008 12:19 pm    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

any errors in the php log or apache error log?
Back to top
Offline View user's profile Send private message Visit poster's website
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Mon Oct 06, 2008 2:20 pm    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

Nothing in apache log. Don't have access to the php error log. I have a backup of the site from this morning. I extracted the Gallery2 directory as it existed then. I'm trying to run a Beyond Compare on the backed up directory (that was working properly) and the latest 2.2.4 installation which isn't. Unfortunately that is very time consuming. And I recognize that it could be something in the data directory or tables that is screwing this up.

Since 2.2.4, 2.2.5 and 2.2.6 are fouled up running in this environment I suppose it could be something to do with how Ravennuke interacts with the Gallery installation. I just don't know.
Back to top
Offline View user's profile Send private message
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Mon Oct 06, 2008 8:32 pm    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

So discouraging. I finally managed to trick the system into letting me install 2.2.4 back onto a system where I had tried 2.2.5 and 2.2.6 (the test system I referred to). I had to restore the gallery program directory(s) from a backup, then the tables and then the data directory. When I tried "reusing" the data directory I got caught out by the fact that it stores version information there and won't let you "downgrade". Restoring the old versions.dat let me get around that. Then the thumbnails were all broken but getting the graphics toolkits set up right and then rebuilding got my system back.

However, the themes screen in site admin is still broken and furthermore I can't get into administration from main.php at all.

All I can think is that somehow the installation process, when run under Ravennuke (a pre-release version due out this week) is causing something to go haywire. This seems to be true for 2.2.4, 2.2.5 AND 2.2.6 SO THERE is no advantage in going back to a previous release. It may be that my 2.2.4 version I had as of this morning was installed under a previous Ravennuke release and thus worked but stepping through the installation with the new Ravennuke got things fouled up.

It will probably be more productive to refocus on what is different between site administration running from main.php versus the integrated version as earlier in the thread we were doing. I will see what I can come up with on that.
Back to top
Offline View user's profile Send private message
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Wed Oct 08, 2008 1:43 pm    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

Got back into administration on the fsgtroy site from Gallery's main.php page. Had to delete cookies to get it to let me in. So, this site has the current 2.2.6 and the problem showing drop downs in theme admin in embedded mode.

Here is a link to the html generated in embedded mode:

http://fsgtroy.org/html/fsgtroy_themeadmin_embedded.html [fsgtroy.org]

and here is a link to the html generated from within main.php in the Gallery directory (site admin) when you do the same thing:

http://fsgtroy.org/html/fsgtroy_themeadmin_from_main.html [fsgtroy.org]

This second html file does not work quite right ... that is it displays differently when copied and pasted from view source than it does when main.php generates it. But it does show that a lot of the gallery css files and javascript do not get included when the program is run from the embedded environment.

If this was the only problem I'd probably ignore it. But just generally the site looks very different from embedded versus "pure" gallery modes. Here for instance is the Gallery screen in embedded:



versus the one from main.php

Back to top
Offline View user's profile Send private message
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Thu Oct 09, 2008 9:27 am    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

This is becoming a journey of discovery for me so I will share. I work in a Ravennuke environment so what I say may need to be modified for other Nukes but should be generally true.

First, as indicated above, themes administration only works properly in non-embedded mode. This may be an anomaly to my system but I'm running it on 3 sites and they are all having the same result.

Second the sidebar that comes with the Integration settings (in Nuke administration under modules/Gallery2) produces some pretty "funky" (i.e., not visually appealing results). The only advantage is that they only show up on the Gallery screens and are not present when the user is in other parts of the system. The G2 Sidebar block, the one that is stored in *nuke's /blocks directory and has to be activated through blocks administration (incidentally we've improved blocks admin substantially in the upcoming RN 2.30 release) looks better. What shows up in this block can be controlled by themes administration but again only if you go through "native" Gallery site admin ... the choices aren't present on the embedded site admin/ themes screen.

One thing I am thinking is that it should be possible to tweak Nuke's mainfile to only show the G2 Sidebar when Gallery is the "main" module. If I recall correctly, the code in mainfile simply finds a list of all active modules and presents them in the block order specified in the blocks table. And mainfile (I'm pretty sure) knows which block is selected as the "main" module at any page load time so it should be possible to write a little if statement to take care of this. Then the G2 Sidebar could be loaded near the top of the left column so it will be contiguous to the Gallery Albums page.
Back to top
Offline View user's profile Send private message
fkelly

Novice
Novice


Joined: Dec 03, 2005
Posts: 28

PostPosted: Thu Oct 09, 2008 10:45 am    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

okay, here is a hack for mainfile. The usual caveats apply. This has been tested only with Ravennuke 2.3 but should work with most Nuke mainfiles. But back your stuff up before you try it and test. If you have modified any block file names or module names it may not work.

The purpose of this is to only show the G2 Sidebar block when Gallery is active and suppress it otherwise.

In the mainfile function render_blocks you first need to add $name as a global variable. $name is the name of the "main" module being executed on any page load.
Code: › function render_blocks($side, $blockfile, $title, $content, $bid, $url) {
   global $name;


Then down a bit in the else statement where $blockfile is not empty change the code to read:

Code: ›             if ($side == 'c') {
                blockfileinc($title, $blockfile, 1);
            } elseif ($side == 'd') {
                blockfileinc($title, $blockfile, 1);
            } else {
               if ($name != 'gallery2' && $title != 'G2 Sidebar') {
                   blockfileinc($title, $blockfile);
            }
            if ($name == 'gallery2') {
               blockfileinc($title, $blockfile);
            }
            }


Back up your production mainfile and test.

You will get more relevant results if you move the G2 Sidebar block up near the upper left. In older versions of Nuke this can be painful (a page load for every "move" of one position but if you are patient you can get it done. RN2.30 comes with the ability to move all the blocks around at once.
Back to top
Offline View user's profile Send private message
morethanthesky

Beginner
Beginner


Joined: Mar 30, 2009
Posts: 1

PostPosted: Mon Mar 30, 2009 1:58 pm    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

Though you have probably already solved this problem, I found this page when trying to troubleshoot why my gallery2 actions were not showing up.

I think it is safe to say that its not Nuked. I'm running gallery2 as a basic install and the actions column is empty, just as yours was.

This is probably too late to help you very much, but I wanted to put this in for others who may show up with the same problem.
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: Wed Apr 01, 2009 7:19 am    Post subject: Re: Plugins page shows no actions when accessed through Nuke Reply with quote

if you're running firefox w/ adblock, try whitelisting your site..
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 Previous  1, 2

 
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