| Author |
Message |
talam_buruk
Beginner


Joined: Apr 23, 2003 Posts: 2
|
Posted: Wed Apr 23, 2003 3:03 am Post subject: fs_unix.php problem !!! |
|
|
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 |
|
|
AdBot
|
| Post subject: fs_unix.php problem !!! |
|
|
|
|
|
| Back to top |
|
 |
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Wed Apr 23, 2003 6:44 am Post subject: |
|
|
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 |
|
|
Daniel
Beginner


Joined: Apr 09, 2003 Posts: 5
|
Posted: Mon Apr 28, 2003 12:33 am Post subject: |
|
|
| 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 |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6287 Location: Washington Township, NJ, USA
|
Posted: Mon Apr 28, 2003 7:29 am Post subject: |
|
|
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 |
|
|
|
|
|
|
|