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  

Transferred existing Gallery to run under PHPNuke

 
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic
Author Message
AsianSkin

Beginner
Beginner


Joined: Sep 15, 2003
Posts: 4

PostPosted: Mon Sep 15, 2003 3:17 am    Post subject: Transferred existing Gallery to run under PHPNuke Reply with quote

Hi All

I had an existing gallery which was working fine under html. I then installed PHP Nuke and wanted to incorporate Gallery to run under Nuke.

So, I decided to take the plunge and copy the Gallery directory to the phpnuke/modules directory, all except for the albums directory which stayed in the root.

I then uncHMODed what I needed to to re-run Gallery setup. Gallery setup worked fine. CHMODed everything back again.

Activated module under Nuke Admin, again, fine.

But I must have buggered something up along the way because I now get these errors:
Quote: ›
Warning: fopen(/home/douglasr/public_html/albums/Maps/photos.dat.lock): failed to open stream: Permission denied in /home/douglasr/public_html/phpnuke/modules/Gallery/platform/fs_unix.php on line 55
Error: Could not open lock file (/home/douglasr/public_html/albums/Maps/photos.dat.lock)!
Warning: fopen(/home/douglasr/public_html/albums/Maps/album.dat.lock): failed to open stream: Permission denied in /home/douglasr/public_html/phpnuke/modules/Gallery/platform/fs_unix.php on line 55
Error: Could not open lock file (/home/douglasr/public_html/albums/Maps/album.dat.lock)!


and apart from these errors, not all of the albums will display now.

Is there any way of saving my gallery? Perhaps it is as simple as CHMOD permissions ?

Thanks if you can help me clean up the mess I made of my gallery !
Quote: ›
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: Transferred existing Gallery to run under PHPNuke  

Back to top
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Mon Sep 15, 2003 3:37 am    Post subject: Reply with quote

Unless you have 'hacked' the core code - delete your current GALLERY install (leave albums folder in root). Download the latest GALLERY (1.4pl). Upload to yoursite.com/module/gallery. Run SETUP WIZARD.

YOU WON'T LOOSE ANY PHOTOS! (as long as you don't delete the ALBUMS folder that contains your images)
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
MorphiuZ

Beginner
Beginner


Joined: Sep 09, 2003
Posts: 13

PostPosted: Mon Sep 15, 2003 6:50 pm    Post subject: Re: Transferred existing Gallery to run under PHPNuke Reply with quote

I have the same problem as him, i even completely deleted the previous install of gallery on my server, and i completely re-uploaded the gallery (i left the albums there) and i installed it yaddayddda yadda... install went great... then it gives me the same errors when i want to upload a picture or use the random image block for gallery
i get the following errors when i upload:
Quote: › - Adding psx-pickle.jpg
Warning: copy(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/psx_pickle.jpg): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 24

Warning: getimagesize(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/psx_pickle.jpg): failed to open stream: No such file or directory in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/util.php on line 501

Error: Invalid image: psx_pickle.jpg!
Need help? Look in the Gallery FAQ
Warning: unlink(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/serial.2.dat): Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 77

Warning: fopen(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/photos.dat.lock): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 53
Error: Could not open lock file (/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/photos.dat.lock)!
Warning: fopen(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/album.dat.lock): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 53
Error: Could not open lock file (/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/album.dat.lock)!
Warning: fopen(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/album01/serial.3.dat): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 53

Warning: fopen(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/serial.dat): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 53

Now... when i try to use the random image block... here is the following error i get:
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/session.php on line 55

Warning: copy(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/hourly.jpg): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 24

Warning: fopen(/home/httpd/vhosts/pickle-ent.com/httpdocs/albums/hourly.txt): failed to open stream: Permission denied in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/platform/fs_unix.php on line 53

Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/random_support.php on line 119

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/pickle-ent.com/httpdocs/modules/gallery/random_support.php on line 120

and then of course it has a block-window w/ the random image in it... and the image is said to be in a different directory then it really is. WEIRD!


Think you could help me as well?
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Mon Sep 15, 2003 9:07 pm    Post subject: Re: Transferred existing Gallery to run under PHPNuke Reply with quote

Make sure ALL files in your ALBUMS directory has been chmod'd to 777

If you have shell access, you can fix it like this:

cd /path/to/albums
cd ..
chmod -R 777 albums


If you don't have shell access, you can use your FTP client to recursively (every file and every directory) chmod the albums directory 777. Make sure you chmod the .users directory, which can sometimes be hidden from view
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
MorphiuZ

Beginner
Beginner


Joined: Sep 09, 2003
Posts: 13

PostPosted: Mon Sep 15, 2003 9:12 pm    Post subject: Reply with quote

Ok...all folders are chmodded... but... you were right... i cant see .users directory... I'm using WinXP and my server is a Unix server... running apache.
I am using CuteFTP and/or WS_FTP pro...
how can i view the .users directory?
Back to top
Offline View user's profile Send private message
slackbladder

Moderator
Moderator


Joined: Mar 29, 2003
Posts: 1038
Location: Cambs,UK

PostPosted: Tue Sep 16, 2003 1:06 am    Post subject: Reply with quote

Using the cuteftp

Site Manager>Edit>General Tab>Check the "Enable Filter" box. Click on the Filter button beside it, on the Options tab, check "Enable remote filters" and add "-a" to the "Remote filter:" field.
Back to top
Offline View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
MorphiuZ

Beginner
Beginner


Joined: Sep 09, 2003
Posts: 13

PostPosted: Tue Sep 16, 2003 1:06 pm    Post subject: Reply with quote

k!... i got ALL of those problems taken care of... everything seems to be working smoothly.... BUT... i got the old school popular "unable to make thumbnail (0)!" or somthing like that when i try to upload files...
here is my error:

Quote: ›
Executing:

home/httpd/vhosts/pickle-ent.com/modules/netpbm/giftopnm /home/httpd/vhosts/pickle-ent.com/httpdocs/albums/Controller/psxpickle.gif | home/httpd/vhosts/pickle-ent.com/modules/netpbm/pnmscale -xysize 150 150 | home/httpd/vhosts/pickle-ent.com/modules/netpbm/ppmquant 256 | home/httpd/vhosts/pickle-ent.com/modules/netpbm/ppmtogif > /home/httpd/vhosts/pickle-ent.com/httpdocs/albums/Controller/psxpickle.thumb.gif

Results:
none

Error messages:
sh: home/httpd/vhosts/pickle-ent.com/modules/netpbm/giftopnm: No such file or directory
sh: home/httpd/vhosts/pickle-ent.com/modules/netpbm/pnmscale: No such file or directory
sh: home/httpd/vhosts/pickle-ent.com/modules/netpbm/ppmquant: No such file or directory
sh: home/httpd/vhosts/pickle-ent.com/modules/netpbm/ppmtogif: No such file or directory


Status: 127 (expected 0)
Error: Unable to make thumbnail (0)!


sorry for the extensive error posting Laughing
I've looked around the net for a solution..but i can't find anything that works Sad
I've installed the gallery binaries of netpbm...
I've chmodded them to 755 (including the directory)
and i got the path 100% right in the configuration... :/
if anything i'll use ImageMagick...but i have NO clue how to install it...
(too many files... it scares me...lol)
thanks for your help tho guys Smile... any more help would be MUCH appriciated
I run 3d Contests on my site...and i cant have my users upload their pics for the contest Neutral
Hope all the info i gave helps
Back to top
Offline View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NukedGallery.net Forum Index » PHP-Nuke Integration » Gallery 1 Integration View previous topicPrinter friendly versionView next topic

 
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 ServiceNeckermannOnline internetSEORestaurant Locator • Get great HP coupons from CouponSnapshot • Search for great dell coupons at CouponSnapshot.com.au • Graduation DressesAndroid TabletSEO IndiaBuy Phen375fuel filter

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