The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Dir error??
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1122563450

Message started by t2c on 07/28/05 at 17:10:50

Title: Dir error??
Post by t2c on 07/28/05 at 17:10:50

Hi again!

I´m getting some errors when i´m trying your script.

1. Error
No such file or directory at C:\httpd\HtDocs\www\afgift\CGI-BIN\eAuction161\eAuction.pl line 2387.
No such file or directory

2387:     unlink "$config{'basepath'}$form{'ITEM'}_lock.dat" or die $!;

And when I´m post a new item, the image is stored on the server in this dir: cgi-bin/eAuction161/eauction.pleAuction/img_upload/1122563452.jpg
but when I look at the url in the image it is in my root dir like: www.mydomain.com/eAuction/img_upload/1122563452.jpg

Help please

Johnni

Title: Re: Dir error??
Post by t2c on 07/28/05 at 17:15:44

My basepath in config file are: $config{'basepath'}              = 'C:\httpd\HtDocs\www\afgift\cgi-bin\eAuction161';
And it´s a windows server

Johnni

Title: Re: Dir error??
Post by Dieter Werner on 07/28/05 at 17:47:17


t2c wrote:
My basepath in config file are: $config{'basepath'}              = 'C:\httpd\HtDocs\www\afgift\cgi-bin\eAuction161';
And it´s a windows server

Johnni

That's wrong ...  :'(
cgi-bin is not a part of the basepath.
Why don't you use the (build in) automatic path-detection?

Title: Re: Dir error??
Post by t2c on 07/28/05 at 18:01:58

I think I maybe using build in path now???

$config{'get_path'}              = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = 'C:\httpd\HtDocs\www\afgift\eAuction';

Johnni

Title: Re: Dir error??
Post by Dieter Werner on 07/28/05 at 18:15:24


t2c wrote:
I think I maybe using build in path now???

$config{'get_path'}              = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = 'C:\httpd\HtDocs\www\afgift\eAuction';

Johnni

I developed the program under win - and you are using win too; so everything should run like it is running for me.

Remark:
with a perl script you don't have to write the win notation for paths.
Simply use slashes instead of backslashes.


Title: Re: Dir error??
Post by t2c on 07/28/05 at 18:15:31

I have changed it back to standard but it do not help.

The image dir is not the same as the real image???

Johnni

Title: Re: Dir error??
Post by Dieter Werner on 07/28/05 at 18:21:31


t2c wrote:
I have changed it back to standard but it do not help.

The image dir is not the same as the real image???

Johnni

As I told you before ...
you are using your own server software and you should try to set it up in a proper way.

What's your OS?

Title: Re: Dir error??
Post by t2c on 07/28/05 at 18:25:32

Win XP on both Server and WorkPC


Quote:
As I told you before ...
you are using your own server software and you should try to set it up in a proper way.


Well all other scripts are working fine on the server, so I really don´t know what I can do.

Johnni

Title: Re: Dir error??
Post by Dieter Werner on 07/29/05 at 11:35:51

Try this

Code:
$config{'basepath'}    = 'c:/httpd/HtDocs/www/afgift/eAuction161';

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.