1
Razbox
Lawsuit Module Email problem
  • 2009/11/28 10:39

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


Preference setting Lawsuit File upload:

http://www.mysite.it/public/FilesClienti

Not Work
Result when i submit form
Errors Returned While Uploading

Preference setting Lawsuit File upload:
/web/htdocs/www.mysite.it/home/public/FilesClienti

File upload work but into email message the file's link
is bad:
http://www.mysite.ithttp://www.mysite.it/modules/lawsuit/admin/file.php?f=3_4b104bdd87c46.jpg

and not (correct link)
http://www.mysite.it/modules/lawsuit/admin/file.php?f=3_4b104bdd87c46.jpg

Why???

Into Preference setting Lawsuit File upload not work also
only /public/FilesClienti

I think the error is into include/form_execute.php

This string:
$msg[$a['id']] .= sprintf(_LAWSUIT_UPLOADED_FILEstrtolower(substr($_SERVER['SERVER_PROTOCOL'], 0strpos($_SERVER['SERVER_PROTOCOL'], "/"0)))."://".$_SERVER['HTTP_HOST'].LAWSUIT_URL.'admin/file.php?f='.$saved);


Please help me.
Thanks
Razbox

2
wishcraft
Re: Lawsuit Module Email problem

Hey Razbox,

Thanks for finding a bug in lawsuit, I will have it patched for you soon..

The Error in the URL

$msg[$a['id']] .= sprintf(_LAWSUIT_UPLOADED_FILEstrtolower(substr($_SERVER['SERVER_PROTOCOL'], 0strpos($_SERVER['SERVER_PROTOCOL'], "/"0)))."://".$_SERVER['HTTP_HOST'].LAWSUIT_URL.'admin/file.php?f='.$saved);


could be as follows:

$msg[$a['id']] .= sprintf(_LAWSUIT_UPLOADED_FILELAWSUIT_URL.'admin/file.php?f='.$saved);


3
Razbox
Re: Lawsuit Module Email problem
  • 2009/11/29 11:20

  • Razbox

  • Just popping in

  • Posts: 14

  • Since: 2009/10/1


Perfect!!!


Now the link into email message is correct!!!
Good! Thanks very mutch!!!!

One other question, please:

If i want sent email to another adress
(no Admin, no Webmaster, no Registered User),
how make this?

It's possible for one single form a specific email?

Thanks for your good support!!!!

Razbox

P.s. Sorry for my bad english, i am italian.

Login

Who's Online

319 user(s) are online (210 user(s) are browsing Support Forums)


Members: 0


Guests: 319


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits