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  

fs_unix.php problem !!!

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

Beginner
Beginner


Joined: Apr 23, 2003
Posts: 2

PostPosted: Wed Apr 23, 2003 3:03 am    Post subject: fs_unix.php problem !!! Reply with quote

Warning: fopen("/var/www/gallery/albums/block-random.cache", "r") - No such file or directory in /var/www/gallery/platform/fs_unix.php on line 53

Line 53
funtion fs_fopen($filename, $mode, $use_include_path=0) {
return fopen ($filename, $mode, $use_include_path);
}


Warning: Invalid argument supplied for foreach() in /var/www/gallery/random_support.php on line 230

Line 230

foreach ($cache as $name => $count ) {
if (!$choose) {
$choose = $name;
}


Warning: Unable to open '/var/www/gallery/albums//.thumb.jpg' for reading: No such file or directory in /var/www/gallery/platform/fs_unix.php on line 24

Line 24
$results = copy($source, $dest);

Anyone can help me, I'm using gallery 1.3.3 and Linux platform 9.0
TQ in advance steve.
Back to top
Offline View user's profile Send private message
AdBot
   Post subject: fs_unix.php problem !!!  

Back to top
dari

Site Admin
Site Admin


Joined: Mar 03, 2003
Posts: 6287
Location: Washington Township, NJ, USA

PostPosted: Wed Apr 23, 2003 6:44 am    Post subject: Reply with quote

if this is a new gallery installation, it may take up to 24 hours for the block-random.cache file to appear (thus resulting in both errors you're receiving).

otherwise, make sure your paths are properly specified in the block-random.php and random_support.php files.
Back to top
Offline View user's profile Send private message Visit poster's website
Daniel

Beginner
Beginner


Joined: Apr 09, 2003
Posts: 5

PostPosted: Mon Apr 28, 2003 12:33 am    Post subject: Reply with quote

You should have put in comment marks for the paths. Like if you are supposed to use the path that the actual photos are stored or the path of the gallery script itself. Because I am having this same problem, I think I have tried all the possible configs, but I am obviously missing something.
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 Apr 28, 2003 7:29 am    Post subject: Reply with quote

You should change the path of GALLERY_BASEDIR, and ALBUM_BASEADDR to reflect your gallery's and albums absolute paths.

also:
Quote: ›
Code: › Warning: Unable to open '/var/www/gallery/albums//.thumb.jpg' for reading: No such file or directory in /var/www/gallery/platform/fs_unix.php on line 24

you have one too many slashes in this, or your filename has a slash in it, which might cause problems with the way php parses strings.

it may help to delete the block-random.cache file and let gallery rebuild it on it's own, too.
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 » Blocks 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