Posted: Sat Mar 22, 2008 5:28 am Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM
fkelly wrote: › I can see where the Gallery installation can be confusing since the instructions aren't written for a Nuke environment. I've learned a bit since I've installed on several sites and had to do some "reinstallations" due to permissions issues.
Gallery is a huge mess of files and you only want ONE copy on your server. By far the easiest and most reliable approach is to put their tar.gz file in the /modules directory of your Nuke site. In other words, with Nuke you have a "Nuke root" type directory, the one where mainfile.php goes, and beneath that a nuke_root/modules directory. That's where the tar.gz file has to go. Then use server facilities to unzip (unpack) it. It will create a gallery2 directory beneath /modules and magically everything will go where it should. That sure beats ftp'ng 2000 plus files.
Then follow the installation directions for Gallery itself. Once you have that done you can upload the integration files from NukedGallery and follow their instructions. Reading between the lines here I'm thinking that there is a problem if you have a pre_existing nuke_g2config table in your database. I did and integration didn't take place after a reinstall of Gallery but when I renamed the table, the integration ran and created a new table with all the right stuff. Hope that is right and helps.
P.S. just thinking about your original stated problem, if I had Gallery php files all over the place I'd delete everything but the tar.gz and start from there.
This totally worked for me and solved the problem of the white screen.
Posted: Mon Apr 07, 2008 8:13 pm Post subject: Re: Gallery 2 Integration into PHP-Nuke PROBLEM
pacman wrote: › I have same problem, even if I delete nuke_g2config table, cant figure out what's the problem:/ Ivebeen messing with it like 2 months:)
nuke 7.9, PHP 4.4.2, mysql 4.1.7
I have Gallery 2.2 installed and the nuke module admin page reports something like "..requires Gallery version 2.1 or above..." which was a bad sign from that start. I never could access the grayed out fields to update the database, import users, etc. I then found out that the update_database() function was trying a case for 4 or 5 for $version, and when I inserted echo "$version"; to see what was up, it was printing 0. I have all up to date stuff here, latest server PHP/MySQL.
I forced case(4) to run and then it reported the update was done, then I could see the grayed out fields and move onto pressing those buttons it required. Clicking on Gallery in my sidebar of Nuke now went into a pretty lame Gallery main page (white background, black text) but I was happy to see it working (or so I thought).
Now trying to ad an album or upload a picture does that but results in a blank page being loaded. You have to back up, click refresh to see the changes. Still, no images are being shown after uploading.
It's a huge mess. Why do you guys post stuff that doesn't work. I have the paid version of PHP-Nuke 8.0, the latest Gallery2, and the latest integration files from this site.
If it still doesn't work after having the require components, then the authors should go back to the drawing board and figure out what they've done wrong instead of creating grief for so many people out there. You advertise a solution, we come here and see ads all over the place and have to sign up, etc. and then spend days of headaches going through a huge broken kiddie script.
I'm really convinced there will never be a nice photo gallery for PHP-Nuke 8.x, and also that the author of Nuke is having a lot of problems of his own with the system even though he's charging now.
This is what happens when non-PHP experts pose as experts and lure us into making hackable sites using their broken tools.
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