The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> a little setup help would be nice
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1103555205

Message started by xyncro on 12/20/04 at 16:06:45

Title: a little setup help would be nice
Post by xyncro on 12/20/04 at 16:06:45

hi ppl..

i searched the web for a good auction script an came here by accident, and thought i'd give it a go...
since files in the zip package seemed easy enough to edit...  ;)

first.. i'm not familiar anything with perl as i see eAuction is written in it... so now is that clear...  :P

i'm only a little bit familiar with php, but i can't say i know it, because i've never done any php applications myself...

so.. enough with the smalltalk

how does one setup this to run on a webserver.. ??
not locally...!!!

thankful for all help given.. ;)

ps.
would any swedish translation be interesting...??  :D

Title: Re: a little setup help would be nice
Post by Dieter Werner on 12/20/04 at 16:20:25

#   INSTALLATION:
#   -----------------
#   In order to run the program you have to download
#   the Config-File (eConfig161.pl) too.
#
#    - edit eConfig161.pl and save it
#    - save THIS file as eAuction.pl
#    - search your server for your cgi-bin directory
#    - create a new sub-directory: eAuction161
#    - chmod that sub-directory (at least) 755.
#
#    - upload
#          eAuction.pl
#          eConfig161.pl
#      to the directory 'eAuction161' (use ASCII-Mode)
#
#    - chmod 755 eAuction.pl
#    - chmod 644 eConfig161.pl
#    - start your browser and type in:
#      http://YourDomain/cgi-bin/eAuction161/eAuction.pl

#  
#   In order to create 'Test-Items'
#    - start your browser and type in:
#      http://YourDomain/cgi-bin/eAuction161/eAuction.pl?action=test

#
#   In order to use the delivered icons (or your own icons)
#   - start your FTP-Program again
#   - select the directory 'eAuction'
#   - select the sub-directory 'auction_pics'
#   - upload the pics to this directory (use Binary-Mode)

Title: Re: a little setup help would be nice
Post by xyncro on 12/21/04 at 03:15:17

:o... puhhh...

after a hard days work translating the config file i ended up with this little message...


Quote:
Error

Permission denied

YOUR SET UP IS NOT CORRECT

Click
InterWer Script-Forums
if you need support



i'll even put my config here...
for you to locate the error better...


Code:
#-#############################################
# Use-Section
#-#############################################
   use strict;
   use vars qw(%config %category %form %txt %long_txt);

#-#############################################
# Config-Section-01
#-#############################################

# The name of your servers cgi-bin directory
   $config{'cgi_dir'}            = 'cgi-bin'; # Default for most servers
   
# The cgi-bin subdirectory where your eAuction.pl will be stored
   $config{'auction_dir'}      = 'eAuction161';
   
# The Path to a 'NON-WEBACCESSABLE' directory of your system
# Maybe you have to chmode it if you use your own setting

  $config{'get_path'}              = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = '/Your/Basepath';

# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM

  $config{'get_mail'}            = 0; # Set this from 1 to 0 if you want to use your own setting  
  $config{'mailprog'}            = '/Your/Path/To/sendmail'; # no additional options please
 
# or Configure your MAIL HOST (SMTP)
   #$config{'mailhost'}      = 'http://www.xyncro@walla.com';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;
   


..and the rest i also skipped from publishing here since it only took up space
...i didn't alter anything there...

so.. what have i done wrong...???

thx again for all help given...

Title: Re: a little setup help would be nice
Post by Dieter Werner on 12/21/04 at 13:03:46

Please, read this:
http://www.everyscript.de/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1083175702

Title: Re: a little setup help would be nice
Post by xyncro on 12/27/04 at 02:49:29

hello again...

weekend's over and new fresh things needs to be done.. ;)

..after looking at my previous post and the way it was 'scaled down' i understand that i've configured $config{'get_path'} and $config{'basepath'} wrong...

...i read the post from the link that was given to me here above, and after a numerous config attempts i still can't figure it out.. sorry.. :(

in the link it was meantioned about 2 differently configured servers, and i asume i have what you can call a good configured server...
it looks like this:

/root
|
|--/anon_ftp
|
|--/bin
|
|--/cgi-bin
   |
   |--/eAuction161
|
|--/conf
|
|--/error_docs
|
|--/httpdocs     <-- the webaccess folder
|
|--/logs
|
|--/pd
|
|--/web_users

.. after putting files in a subfolder named 'eAuction161'
and configured like this...


Quote:
# The Path to a 'NON-WEBACCESSABLE' directory of your system
# Maybe you have to chmode it if you use your own setting


  $config{'get_path'}              = 0; # Set this from 1 to 0 if you want to use your own setting    
  $config{'basepath'}              = '/cgi-bin/eAuction161';

now!... i've chmodded folders as they should be but...
.. i still get the..


Quote:
Error

Permission denied

YOUR SET UP IS NOT CORRECT



....i would really like som help with this since i've never worked with perl and really like to try eAuction, plus i haven't found any auction software using .php that even resembles eAuctions functions...

once again.. thx

Title: Re: a little setup help would be nice
Post by Dieter Werner on 12/27/04 at 10:33:42

drop me an email ...

Title: Re: a little setup help would be nice
Post by xyncro on 12/27/04 at 15:01:27

... e-mail sent... ;)

Title: Re: a little setup help would be nice
Post by Dieter Werner on 12/27/04 at 18:18:15

OK,
I was on your server.

It's like I assumed ...
your server doesn't allow the script to create a directory in the 'non-web-accessable' area.

My recommendation:
use a server that has been configured well.

That means:
take care that the data of your users are stored 'safely'.

Keep in mind:
cheap servers can become very expensive if there is a security problem related to the user data.

Title: Re: a little setup help would be nice
Post by delsmith17 on 06/12/07 at 05:37:40

Good Day!

I am so happy that I have found eAuction. I've read majority of the topics and I hated to post this little
simple question. I just wanted to see if I was doing something wrong or is it my servers functionality
that can't read perl scripts. I know my server transcribes php without any problem. My question Mr.Werner
is this:

I' followed the download and installations instructions to the 'T'. When i type the web url in my
Firefox browser all I get is that my web url opens up the

cgi_bin/eAuction161/eAuction.pl  file and I reget the eAuction.pl perl script aka text aka instructions
all over again in my web browser. The instructions are clear but this is what I See Below:

# !/usr/bin/perl
# eAuction.pl
# Date: 08/03/2002
# Version: eA-1.6.1.64
# Last update: 09/02/2006
#-##############################################
#
# This program is dedicated to my dear sister Sabine.
# She died 2006 on September 25th - just 43 years old.
# Sabine - We are missing you every day.
#
#-##############################################
#
# LICENSE-CONDITIONS:
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.


etc etc etc etc etc....

I FTP the files to my server and I've checked and rechecked my chmod permissions.
So everything looks great! Do you have any idea of what I could have done wrong!

Thank you for your help!!

**********************



Dieter Werner wrote:
#   INSTALLATION:
#   -----------------
#   In order to run the program you have to download
#   the Config-File (eConfig161.pl) too.
#
#    - edit eConfig161.pl and save it
#    - save THIS file as eAuction.pl
#    - search your server for your cgi-bin directory
#    - create a new sub-directory: eAuction161
#    - chmod that sub-directory (at least) 755.
#
#    - upload
#          eAuction.pl
#          eConfig161.pl
#      to the directory 'eAuction161' (use ASCII-Mode)
#
#    - chmod 755 eAuction.pl
#    - chmod 644 eConfig161.pl
#    - start your browser and type in:
#      http://YourDomain/cgi-bin/eAuction161/eAuction.pl

#  
#   In order to create 'Test-Items'
#    - start your browser and type in:
#      http://YourDomain/cgi-bin/eAuction161/eAuction.pl?action=test

#
#   In order to use the delivered icons (or your own icons)
#   - start your FTP-Program again
#   - select the directory 'eAuction'
#   - select the sub-directory 'auction_pics'
#   - upload the pics to this directory (use Binary-Mode)

:(

Title: Re: a little setup help would be nice
Post by Dieter Werner on 06/12/07 at 09:32:49

Either your server isn't prepared to execute Perl scripts or:
1. the first line of the script doesn't point to perl directory
2. the server only executes files with the .cgi extension

You should ask your serverprovider.

Title: Re: a little setup help would be nice
Post by delsmith17 on 06/12/07 at 14:56:28

Hi Mr. Werner,

Thank you so much for your reply! I will contact my server provider and find out and I will get
back with you with a reply! Thanks so much!!!  :)

***************


Dieter Werner wrote:
Either your server isn't prepared to execute Perl scripts or:
1. the first line of the script doesn't point to perl directory
2. the server only executes files with the .cgi extension

You should ask your serverprovider.


Title: Re: a little setup help would be nice
Post by Dieter Werner on 06/12/07 at 16:15:32

You'r welcome - but forget the 'Mr.'  :)

Title: Re: a little setup question
Post by delsmith17 on 06/12/07 at 17:41:38

Okay this is the verdict!  My server provider supports perl, and cgi scripts, and I can even have a cgi dir but not cgi-bin directory. If that makes any sense. Also in reading several of the current topics, I noticed that alot of developers use windows server system. I actually use linux server. My provider said that the default code to point perl script to: #!/usr/bin/perl is correct.

My current url i was trying to set up was: http://xxx/cgi-bin/eAuction161/eAuction.pl

So I made a little adjustment and made it this: http://xxx/cgi/eAuction161/eAuction.pl to look this way:

http://xxx/cgi/eAuction161/eAuction.cgi  But I still get the same results.


Do you think this would make a difference because I'm using linux server and not windows! Thanks for your help and any advice on this matter! Del Smith  :-/

PS. I hope it is okay to post my weburl above..  :-/








Dieter Werner wrote:
Either your server isn't prepared to execute Perl scripts or:
1. the first line of the script doesn't point to perl directory
2. the server only executes files with the .cgi extension

You should ask your serverprovider.


Title: Re: a little setup help would be nice
Post by Dieter Werner on 06/12/07 at 18:06:05

That's a joke ...
I made this script ruanble under linux AND windows too.  ;)

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