| Author |
Message |
wisky
Beginner


Joined: Aug 17, 2003 Posts: 3
|
Posted: Tue Aug 19, 2003 3:33 pm Post subject: Error: Sorry, such file doesn't exist... |
|
|
The integration of Gallery and Nuke seems to work well. I see the thumbnails of an album and a photo in the index page, however when I click on an album (the newAlbums block) I get the message 'Sorry, such file doesn't exist..." (URL: http://dell.schimmel.ws/nuke/html/modul ... album.php)
Same problem exits with a click on a photo (random block).
Please help.
----
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): (local)
Gallery version: 1.3.4pl1
Apache version: 2.0.40
PHP version (don't just say PHP 4, please): 4.2.2
Graphics Toolkit: ImageClick
Operating system: Linux
Web browser/version (if applicable): IE6 / Mozilla |
|
| Back to top |
|
|
AdBot
|
| Post subject: Error: Sorry, such file doesn't exist... |
|
|
|
|
|
| Back to top |
|
 |
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Aug 19, 2003 3:39 pm Post subject: |
|
|
Hi,
Link to your site didn't work when I tried (server down?)
Can you post the top lines of both (new albums, random) of your blocks (config lines)? |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
|
| Back to top |
|
|
wschim
Beginner


Joined: Aug 19, 2003 Posts: 1
|
Posted: Tue Aug 19, 2003 3:55 pm Post subject: |
|
|
It is the correct URL, but from the inside (after the firewall) I have to use 'dell' instead of 'www' ... However be aware that the outside connection to this server can be down form time-to-time.
header of albums is:
/* CHANGE THESE VARIABLES */
$GALLERY_BASEDIR = "/var/www/html/gallery/";
define(WEB_BASE_ADDR,"http://dell.schimmel.ws/nuke/html/");
define(GALLERY_NAME,"Foto album");
define(USE_THUMBS,1); // Set to 1 to show thumbnails, 0 to just list albums.
define(HOROZONTAL,0); //Set to 1 to list horozontally, 0 for vertically. If USE_THUMBS is 0,
//this is ignored, and albums will be listed vertically.
define(ALBUM_DIRECTORY,"/var/www/html/albums/");
define(MAX_NEW_ALBUMS,1); // Set this to the number of albums you want displayed.
define(PIC_SCALE,0); // Leave at 0 to use the Gallery default; or set to the width you want thumbnails |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Tue Aug 19, 2003 3:59 pm Post subject: |
|
|
define(GALLERY_NAME,"Foto album");
Needs to be
define(GALLERY_NAME,"gallery");
(still need to ACTIVATE the module (GALLERY) or we can't see if it works) |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
|
| Back to top |
|
|
wisky
Beginner


Joined: Aug 17, 2003 Posts: 3
|
Posted: Wed Aug 20, 2003 1:41 pm Post subject: |
|
|
Thanks for the help so far. I moved the gallery files (and edited the config), activate the module in Nuke. However I still get errors. I also changed the URL and opened the firewall permanently. So you should be able to visit the gallery and nuke at: http://www.schimmel.ws/nuke/html/
P.S. I also changed the name of the galley in 'gallery'", however the real gallery name is actually "Foto album" (see: http://www.schimmel.ws/nuke/html/module ... lbums.php) |
|
| Back to top |
|
|
dari
Site Admin


Joined: Mar 03, 2003 Posts: 6274 Location: Washington Township, NJ, USA
|
Posted: Wed Aug 20, 2003 1:45 pm Post subject: |
|
|
you shouldn't have to open any firewall for this to work. it's all served over TCP port 80 (as long as apache is configed that way).
anyway, i'm getting the "cannot redeclare fscopy()" error....make sure you ahve the latest random block code (improved random block). if not, check near the top of your block and make sure that there is a line that reads like this:
require_once($GALLERY_BASEDIR."/init.php");
you may have the line like this:
require($GALLERY_BASEDIR."/init.php");
if so, change it to include the _once part.... _________________
 |
|
| Back to top |
|
|
slackbladder
Moderator


Joined: Mar 29, 2003 Posts: 1038 Location: Cambs,UK
|
Posted: Wed Aug 20, 2003 2:45 pm Post subject: |
|
|
Does your SESSIONS.PHP (/modules/gallery/session.php)
look like this?
if (!$gallery->register_globals) {
foreach($_SESSION as $key => $value) {
eval("\$$key = & \$_SESSION[\"$key\"];");
}
} |
|
| Back to top |
|
|
wisky
Beginner


Joined: Aug 17, 2003 Posts: 3
|
Posted: Wed Aug 20, 2003 3:04 pm Post subject: |
|
|
| Thanks for all the help. I changed all the parameters and installed the newest version of the Random block. Everything works fine now! Great. |
|
| Back to top |
|
|
|
|
|
|
|