eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 3 4
Images are broken. (Read 543 times)
brookstech
eAuction User
**
Offline

I love Perl

Posts: 10

Images are broken.
04/26/04 at 14:57:52
 
My Item images and Icons will not display.

It appears thta the "img_url" and the "img_dir" are giving two differant paths.

here is the code from the script:

$config{'img_url'} = "http://$ENV{'HTTP_HOST'}/$config{'html_dir'}/img_upload";
 
$config{'img_dir'} = "$config{'html_path'}/img_upload";

Here are the results:

img_url:
http://mywebsite/eAuction/img_upload/

Img_dir:
/cgi-bin/eauction161/eauction.pleAuction/img_upload/

the reason why the image does not appear is obvious, but I don't know how to correct this issue.

Anyone have any ideas?

Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Online

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Images are broken.
Reply #1 - 04/26/04 at 16:03:17
 
Quote:
Img_dir:
/cgi-bin/eauction161/eauction.pleAuction/img_upload/


Your basepath is not OK!

Check data of eConfig161.pl
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
brookstech
eAuction User
**
Offline

I love Perl

Posts: 10

Re: Images are broken.
Reply #2 - 04/26/04 at 20:14:32
 
Alrighty,

I ran a basepath finding script and it told me my basepath is

C:\Program Files\Abyss Web Server\htdocs

How do I set this up in the config file?
Back to top
 
« Last Edit: 04/26/04 at 21:22:23 by brookstech »  


Advertising
View Profile   IP Logged
Pages: 1 2 3 4


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only