UPDATE: 03/31/2004
I managed to partially fix it, but not knowing that much about PHP, I have no clue what the issue is!
Configuration is the same as listed below, I'm using current.gallery= v1.4.4-cvs-b5.
Grab a copy of 1.4.2, and replace the default header and footer in html_wrap from that version. That's the partial part. Stays in NSN-NUKE now but there is (still? go me, so I dunno ..I made the mistake of creating a user and admin with same username, so didnt' notice. duh..Tomorrow when I get a sec, I'll restore the previous files (from 1.4.4) and create another user for basis of comparision) an issue with permissions. I can change permissions with regards to built in (NOBODY/LOGGEDIN/EVERYBODY), but a script error has appeared now as a result of overwriting those files, so gallery is not getting the user info by the looks of it:
"Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /xxxxx/xxxxx/xxxxx/xxxxx/modules/gallery/classes/database/mysql/Database.php on line 37"
And no users are appearing. (I added the xx's for this post, but path is correct)
Anyway, I gotta crash, but I'll hava look again tomorrow.
-----------------------------------------
UPDATE: 04/01/2004
Hokee, I'm now "embedded" with the addition of the line:
case 'nsnnuke':
in the wrapper.header.default file. This is now the one that's included in v1.4.4-cvs-b7 which is what I'm testing with now. There is a still a permission problem with the "permissions" link. The main gallery interface recognizes the logged in user, but the permissions popup is still experiencing the issue as outlined in the other update above. This is now a brand new, fresh install of NSN-Nuke 1.0.0 and Gallery v1.4.4-cvs-b7
Permissions error continues on the following configuration:
Posted: Mon Apr 05, 2004 9:08 am Post subject: Re: NSN-Nuke Testers Needed
Installed on NSNgold last night and had the same "embedded" problem as tritting.
Added the 'case nsnuke': to wrapper.header.default and now it is embedded. BUT, the NSNnuke footer is missing on the gallery page. Any ideas?
Code: ›
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/minspir/public_html/modules/gallery/classes/database/mysql/Database.php on line 37
I thought the mysql_fetch_row was not going to be used with OSM etc? I will look at the code later, but wanted to share my first run at it.[/code]
Posted: Sun May 23, 2004 4:17 am Post subject: Similar problems with CPGnuke
I have the same problem in CPGnuke. If you know a solution, please let me know
tritting wrote: › I'm using NSN-Nuke 1.0.0. Installation and configuration went without a hitch (other than the already documented NetPBM issue). A menu link was created when I activated the module as per expectation. Clicking on the menu link however, causes gallery to be displayed outside of nuke. I tried switching to PHP-Nuke (Embed option in config), same result.
Posted: Tue Aug 10, 2004 9:27 pm Post subject: Re: NSN-Nuke Testers Needed
I would like to see if I can get the Menalto Gallery working in CPG-Nuke.
Right now I have both applications working properly, however when I call gallery via the index.html?name=gallery link it opens the application as if it was standalone vs. being wrapped in CPG-Nuke. (Not new window, just not "integrated".)
The Menalto Gallery has a configuration option to tell it if it is being embedded into PhpNuke, PostNuke, and other apps (no CPG-Nuke option yet). It doesn't seem to matter whether it is set to phpNuke or standalone, as either way it does not include the CPG-Nuke wrap.
I did search both the Menalto forums and the CPG-Nuke forums to no avail. My search here led me to this post, thus my reply.
Any suggestions on a path to start to figure out why it does that? I don't mind digging, I just really have no clue where to start.
/* Detect PHP-Nuke, Postnuke, phpBB2 or Mambo and react accordingly.
* Gallery can run embedded in GeekLog too, but to catch this we need
* config.php * Therefore we have to detect GeeLog in init.php.
*/
if (!strcmp($op, "modload") || !strcmp($mop, "modload") || isset($option) || isset($name)) { ?>
you'd have to add a comparison operator in that "if" clause, as well as a case for cpgnuke in the switch statement. _________________
Posted: Wed Aug 11, 2004 11:47 pm Post subject: Re: NSN-Nuke Testers Needed
Well, i did that and got the follwing error:
Fatal error: Call to a member function on a non-object in /home/ACCOUNT/public_html/XXXXX/modules/gallery/init.php on line 493;
this line is:
/* Detect PHP-Nuke, Postnuke, phpBB2 or Mambo and react accordingly.
* Gallery can run embedded in GeekLog too, but to catch this we need
* config.php * Therefore we have to detect GeeLog in init.php.
*/
if (!strcmp($op, "modload") || !strcmp($mop, "modload") || isset($option) || isset($name)) { ?>
you'd have to add a comparison operator in that "if" clause, as well as a case for cpgnuke in the switch statement.
Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
Posted: Thu Aug 12, 2004 7:07 am Post subject: Re: NSN-Nuke Testers Needed
shizzle...i forgot..the userDB portions also have to be upgraded...
look in gallery/classes/nsnnuke/ for the files. make sure that the database tables, etc are correct.
also, you might want to change the case statement that you added to read 'nsnnuke' instead of 'cpgnuke'...that way you don't have to tweak a lot of additional code. _________________
Notice the change was only to the width of both cells, otherwise Gallery will push the entire site too wide.
After making the changes above, I tried setting Gallery in phpNuke, nsnNuke, and Standalone mode. All modes work in the CPG-Nuke wrap.
I have NOT done extensive testing (member uploading, other userid's, permissions), however I have been logged in with a CPG-Nuke admin account and was able to create folders, upload pictures, add comments.
The only problem I notice right offhand is that I have an echo " \n"; at the top of my index.html?name=gallery page. As soon as I find what is writing that, I'll post here.
If anyone wants to see Gallery working in CPG-Nuke, here is what it looks like on my site [induni.com].
By the way... sorry to hijack this thread! Feel free to split it Dari and again, thanks for the help.
Posted: Mon Aug 16, 2004 6:08 am Post subject: Re: NSN-Nuke Testers Needed
Klinduni
I can't get this work, I can only upload as Admin and only with the form.
I can't use the applet or XP publish. In fact I have two issues with XP publish, it does not work with my modules .htaccess off (fails on password) and with .htaccess on I get denied of course.
What do I need to do to get everything to work smoothly and allow users to upload?
I can't log into configuration either with, same issue with xp publish on password or denied depending on .htaccess.
Posted: Mon Aug 16, 2004 7:54 am Post subject: Re: NSN-Nuke Testers Needed
Ok I was running RC and just changed it to 1.4.4
now I get
Parse error: parse error, unexpected '/' in /home/*****/public_html/modules/Media_Gallery/layout/adminbox.inc on line 32 which is
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