Page 1 of 1

why

Posted: Fri Jul 17, 2020 8:42 am
by davehappen
Why sometimes do i get this

https://ibb.co/hMSGWQX

when I'm already running the latest version?????

and i'm trying to run a simple form in xampp, i get the success page but no email?????
Can xampp deal with php files or do i need to publish to the net?????

https://1drv.ms/u/s!Ar_qzWsihagxge0jTkD ... g?e=LiR01e

Re: why

Posted: Fri Jul 17, 2020 9:02 am
by Pablo
You may get this message when one or more extensions are missing.
The project you have shared opens without any issues for me.

I cannot help you with the configuration of xampp. This is beyond the scope of this forum.

Re: why

Posted: Fri Jul 17, 2020 9:05 am
by davehappen
many thanks your reply, did the form look correct????

Re: why

Posted: Fri Jul 17, 2020 9:14 am
by Pablo
Yes, the form looks ok.
But why did you use a form in a layer?
The layer itself can also be a form. Using nested forms is not recommended.

Re: why

Posted: Fri Jul 17, 2020 9:16 am
by davehappen
ok, im still trying to get my head around layers, what you can and cant do with them.
many thanks your reply

Re: why

Posted: Fri Jul 17, 2020 9:28 am
by WWBman
... and i'm trying to run a simple form in xampp, i get the success page but no email?????
In the [mail function] section of the php.ini file (in C:\xampp\php) did you change:

;sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe"

to:

sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe"

The email output will then be found in C:\xampp\mailoutput
Can xampp deal with php files or do i need to publish to the net?????
xampp deals with php files and (most of the time) no need to publish to the net.

Re: why

Posted: Fri Jul 17, 2020 9:29 am
by WWBman
davehappen wrote: Fri Jul 17, 2020 9:16 am ok, im still trying to get my head around layers, what you can and cant do with them.
many thanks your reply
I never use them!! :D

Re: why

Posted: Fri Jul 17, 2020 9:37 am
by davehappen
can not find a mail section

Re: why

Posted: Fri Jul 17, 2020 10:10 am
by WWBman
It looks like this:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP=localhost
; http://php.net/smtp-port
smtp_port=25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail().
;mail.force_extra_parameters =

; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header=Off

; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
; Log mail to syslog (Event Log on Windows).
;mail.log = syslog

Re: why

Posted: Fri Jul 17, 2020 10:18 am
by davehappen
am i looking in the right area
https://ibb.co/5nSS7Vn

Re: why

Posted: Fri Jul 17, 2020 10:23 am
by WWBman
No, 3 folders further down you’ll find the php folder.

Re: why

Posted: Fri Jul 17, 2020 10:28 am
by davehappen
which one of these am i looking for

https://ibb.co/rtJmmGx

Re: why

Posted: Fri Jul 17, 2020 10:46 am
by davehappen
found it, do i need the quotes mark

"C:\xampp\mailtodisk\mailtodisk.exe"
and is this correct

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = davehappen@hotmail.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe"

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail().
;mail.force_extra_parameters =

Re: why

Posted: Fri Jul 17, 2020 10:49 am
by WWBman
You only need to remove the ;

BTW, I prefer to show the file's extension (so the .ini part is shown).
This can be done via File Explorer > Options > Change Folder and Search options > View > Untick Hide extensions for known file types

Re: why

Posted: Fri Jul 17, 2020 10:57 am
by davehappen
WWBman your a star thanks for your patience. :D :D :D