The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Whatīs this?
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1092663764

Message started by Millvi on 08/16/04 at 15:42:44

Title: Whatīs this?
Post by Millvi on 08/16/04 at 15:42:44

I get this message, what does it mean??:

Use of uninitialized value in concatenation (.) or string at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3902. Use of uninitialized value in concatenation (.) or string at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3902. Use of uninitialized value in concatenation (.) or string at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3902. Use of uninitialized value in concatenation (.) or string at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3902. Use of uninitialized value in concatenation (.) or string at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3902. Use of uninitialized value in concatenation (.) or string at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3902. Undefined subroutine &main::get_banner called at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3828.

Title: Re: Whatīs this?
Post by Forum Admin on 08/16/04 at 17:19:10

That means:
you changed the predefined banners in a wrong way ...

Title: Re: Whatīs this?
Post by Millvi on 08/16/04 at 18:30:08

Thats interesting  :)
I havenīt changed anything. What banner do you mean?

Title: Re: Whatīs this?
Post by Forum Admin on 08/16/04 at 23:29:08


Millvi wrote:
Undefined subroutine &main::get_banner called at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 3828.


sub get_banner
is a part of eConfig161.pl

Title: Re: Whatīs this?
Post by Millvi on 08/17/04 at 06:58:02

I havenīt changed anything with the predifened banners, so I donīt understand what to do to make it right. I found the sub get_banner in eConfig161 but as I said I have never touched these lines of the script.
What is wrong?
I really hope that I will get this script working because I like very much what I have seen in the demo. A donation is sure to come your way if you can solve this for me  ;)

Title: Re: Whatīs this?
Post by Forum Admin on 08/17/04 at 09:23:27

Try this:

Search the script for this line:

Code:

     require "eConfig161.pl";                  # Config File


and add the path to the require statement


Code:

     require "C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl";

Title: Re: Whatīs this?
Post by Millvi on 08/17/04 at 09:43:44

I tried like this:


Code:
#-#############################################
# Require-Section
#-#############################################
   eval {
     require "C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl";                  # Config File      
     #require "af102_eA_plugin.pl";      # Not available yet
   };


Iīm afraid it didnīt work. Am I doing something wrong?

Title: Re: Whatīs this?
Post by Millvi on 08/17/04 at 09:46:18

This is how it looks now:


Code:
Subroutine get_banner redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 618. Subroutine disp_header redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 640. Subroutine disp_navbar redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 733. Subroutine disp_footer redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 791. Subroutine disp_help redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 816. Subroutine disp_bid_confirmation redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 836. Subroutine disp_outbid_confirmation redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 864. Subroutine disp_inc_confirmation redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 894.


--------------------------------------------------------------------------------
Error
/home/barnsidan/www/eAuction161
Permission denied

YOUR SET UP IS NOT CORRECT

Click
InterWer Script-Forums
if you need support


--------------------------------------------------------------------------------

Title: Re: Whatīs this?
Post by Millvi on 08/17/04 at 09:53:13

I would also like to know where the buy_it.gif is? I only got hammer.gif and camera.gif in the zip-file

Title: Re: Whatīs this?
Post by Millvi on 08/17/04 at 10:03:07

Now things are happening!! But there is still something wrong. Look here:

http://www.barnsidan.com/cgi-bin/eAuction161/eAuction.pl

Title: Re: Whatīs this?
Post by Forum Admin on 08/17/04 at 10:38:01


Quote:
Subroutine get_banner redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 618. Subroutine disp_header redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 640. Subroutine disp_navbar redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 733. Subroutine disp_footer redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 791. Subroutine disp_help redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 816. Subroutine disp_bid_confirmation redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 836. Subroutine disp_outbid_confirmation redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 864. Subroutine disp_inc_confirmation redefined at C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl line 894.


Now you are loading eConfig161.pl two times.
That means: all subroutines of eConfig161.pl will become redefined.

Please check your changes

Title: Re: Whatīs this?
Post by Forum Admin on 08/17/04 at 10:43:25


Millvi wrote:
I would also like to know where the buy_it.gif is? I only got hammer.gif and camera.gif in the zip-file


There is no buy_it.gif
BuyItNow is just a formatted (and colored) text.

Title: Re: Whatīs this?
Post by Millvi on 08/17/04 at 11:20:51

Now you are loading eConfig161.pl two times.
That means: all subroutines of eConfig161.pl will become redefined.

Please check your changes


Loading twice? Where do I change that?
Iīm sorry för harassing you but I would really like to get this script to work.

By the way. When a test to post an item I get server-overload, and I don't get any confirmation e-mails eventhough I have entered a smtp-host

Title: Re: Whatīs this?
Post by Forum Admin on 08/17/04 at 11:59:13

send the files as a single zip-file via email and I will review it

Edit: the test-routine is running fine - I did it  :)

Title: Re: Whatīs this?
Post by Forum Admin on 08/17/04 at 17:01:33


Millvi wrote:
Now you are loading eConfig161.pl two times.
That means: all subroutines of eConfig161.pl will become redefined.

Please check your changes


Loading twice? Where do I change that?
Iīm sorry för harassing you but I would really like to get this script to work.

By the way. When a test to post an item I get server-overload, and I don't get any confirmation e-mails eventhough I have entered a smtp-host


That's wrong

Code:
#-#############################################
# Require-Section
#-#############################################
   eval {
     require "eConfig161.pl";                  # Config File
     require "C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl";      
     #require "af102_eA_plugin.pl";      # Not available yet
   };


It must be

Code:
#-#############################################
# Require-Section
#-#############################################
   eval {
     require "C:/home/barnsidan/www/cgi-bin/eAuction161/eConfig161.pl";      
     #require "af102_eA_plugin.pl";      # Not available yet
   };
   


Didn't I told you that you are loading eConfig161.pl two times  ;)

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 11:08:20

:)

Now everything works fine until I want to post a new item. The preview works, but when I accept and post the item I get "server-overload" on every page that is supposed to show my item.

I also get messages like this at the bottom of some pages:

You are on your local server
so this is just for testing
--------------------------------------------------------------------------------
To: mailmaster@interwer.com
From: melker@barnsidan.com
Subject: Auction Close: Test Item 2
Auction number: 1092731390
Title: Test Item 2
is now closed

There were no bids on your item.
You may repost your item by using the closed auction manager at

http://www.barnsidan.com/cgi-bin/eAuction161/eAuction.pl?action=usercenter

Thanks for using eAuction

---------

Whatīs this?
And I still donīt get any e-mails to be sent. Do I have to change something so it works as it should?

A lot of questions and I hope you can help me.

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 11:12:38

I get server-overload when I post an item with a picture. Without a picture it works fine.

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 12:27:11


Millvi wrote:

I also get messages like this at the bottom of some pages:

You are on your local server
so this is just for testing
--------------------------------------------------------------------------------
To: mailmaster@interwer.com
From: melker@barnsidan.com
Subject: Auction Close: Test Item 2
Auction number: 1092731390
Title: Test Item 2
is now closed

There were no bids on your item.
You may repost your item by using the closed auction manager at

http://www.barnsidan.com/cgi-bin/eAuction161/eAuction.pl?action=usercenter

Thanks for using eAuction

---------

Whatīs this?


See eConfig161.pl
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 0;

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 12:30:28


Millvi wrote:
I get server-overload when I post an item with a picture. Without a picture it works fine.


Wrong path (upload directory)?
Check whether the directory exists.

In order to get 'more specific' error messages:
Open eAuction.pl
and uncomment this line:

   # oops("$@<br>$!<br>") if $@; # Only for testing the code


Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 12:33:46

I have tried both 0 and 1 and i get the same result.

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 12:38:02

The path to img_upload is right because the picture is showing in preview and itīs uploaded.

I get this message:

Not a SCALAR reference at C:\home\barnsidan\www\cgi-bin\eAuction161\eAuction.pl line 5020.
No such file or directory

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 15:25:51


Millvi wrote:
I have tried both 0 and 1 and i get the same result.


The right settings are:


Code:
# 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://mailrelay.bostream.com';    
   
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 15:38:34

Nope it doesnīt work! I donīt get the mails and I still get the message:

You are on your local server
so this is just for testing.... and so on

And as long as the problem with uploaded picture persists a canīt use the script. Maybe I have to buy one after all  :(

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 15:52:17

Sorry
Your path-setup is incorrect and you should ask your provider for the right URL of the SMTP server.

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 16:05:53

Itīs probably me that is doing something wrong because now I canīt update an item without getting permission denied.

The problems i growing and I am getting tired of it. I donīt understand why the SMTP isnīt working. Itīs the one I use everywhere else except without http://.

I can see in your demo and on the other sites that itīs a really good script but nothing I can use iīm sad to say. I donīt have the knowledge in perl,  so I canīt solve this one.

Thank you for your help!!

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 16:11:01


Forum Admin wrote:
Sorry
Your path-setup is incorrect and you should ask your provider for the right URL of the SMTP server.


What do you mean my path-setup is incorrect?

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 16:13:31

OK, I might give EADB a try but my ISP has not an DBI-module installed. Is there anyway i can connect to an access-db without DBI?

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 16:18:29


Millvi wrote:
Is there anyway i can connect to an access-db without DBI?


No, there isn't

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 16:21:03

Ok, I thought so. Then I will leave you in search for an expensive auction-script written in asp  :(

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 16:24:58


Millvi wrote:
What do you mean my path-setup is incorrect?


Obviously the directory img_upload cannot be found and obviously the SMTP server cannot contacted.

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 16:29:38


Millvi wrote:
Ok, I thought so. Then I will leave you in search for an expensive auction-script written in asp  :(


Approximately ++$5,000.00  

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 16:31:21

But when I preview an item with an uploaded picture it works fine.

The SMTP-problem can maybe be solved.
But the problem with the message that iīm on a local server seems hard to get rid off.

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 16:32:07


Forum Admin wrote:
Approximately ++$5,000.00  


Not that much, maybe 500

Title: Re: Whatīs this?
Post by Forum Admin on 08/18/04 at 16:59:28


Millvi wrote:
The SMTP-problem can maybe be solved.
But the problem with the message that iīm on a local server seems hard to get rid off.


Solve the  first problem and the second problem will have disappeared.  :)

Title: Re: Whatīs this?
Post by Millvi on 08/18/04 at 17:02:46

Aha  :)

Title: Re: Whatīs this?
Post by Forum Admin on 08/20/04 at 15:29:31

OK - I can't contact you via eMail, so I have to post what I wrote to you:

The configuration of your server is a nightmare.

I tried different settings but nothing works in a right way because the permissions of your file system are not right.
The server don't allowe the script to write files/content to the auction directories.

Another point is that the SMTP server doesn't response.

Please set the right permissions for your file systems and find out the right URL of your SMTP server.

Fix this and you will be successful with each kind of program you want to install.

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