do something for me, create a php file with the follwoing in it:
PHP: › <?php echo dirname(__FILE__); ?>
and put it in your Gallery2 directory. then view the file through a browser and tell me what it says.
If Gallery2 was there before phpnuke, you must move the installation into your modules folder and re-run the Gallery2 configuration wizard.