form problem with PHP

Issues related to forms.
User avatar
Pablo
 
Posts: 14529
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: form problem with PHP

Post by Pablo » Fri Jun 22, 2018 10:41 am

Where is the form?
What is the code you have added?

Note that we cannot assist you with third party code.
But if the code is valid then it will also work with WWB.

User avatar
BaconFries
 
 
Posts: 4189
Joined: Thu Aug 16, 2007 7:32 pm

Re: form problem with PHP

Post by BaconFries » Fri Jun 22, 2018 10:46 am

Why are you forced to use another program? Why can't you use the form tools within WWB? what seems to be the problem! Please note we cannot assist you with code/scripts from another program.

User avatar
BaconFries
 
 
Posts: 4189
Joined: Thu Aug 16, 2007 7:32 pm

Re: form problem with PHP

Post by BaconFries » Fri Jun 22, 2018 11:55 am

Where do we need to look for the 'Form'? which page actually displays the form? To be able to help we need as much information as possible.
On the following www.mysteredelatrinite.com on viewing the source you have inserted a url/link to a external email client 'webmail', as this is only a link no form will actually get displayed in or on your page, to view you have to visit that pages url!.
I also notice that you have used the php counter extension, for this to work the page extension needs to be .php, it will also require your host to be php enabled it not then you will be unable to use the extension.

htmalbenur
 
 
Posts: 22
Joined: Tue Jun 05, 2018 1:07 pm

Re: form problem with PHP

Post by htmalbenur » Tue Jun 26, 2018 1:18 pm

Hello, and thank you for your help, I decided a very big problem with my site, all the updates I made with the app and extensions degrades my site. I would like you to take a look at the website: www.mysteredelatrinite.com. and more photos do not work. I would like to know why so many difficulties to serve with this application. thank you :twisted: :twisted: :twisted: :?: :?: :?:

htmalbenur
 
 
Posts: 22
Joined: Tue Jun 05, 2018 1:07 pm

Re: form problem with PHP

Post by htmalbenur » Tue Jun 26, 2018 1:22 pm

my site works very well locally, but arriving on networksolution is hell. how can I do it?

code for my application:

<?php
function ValidateEmail($email)
{
$pattern = '/^([0-9a-z]([-.\w]*[0-9a-z])*@(([0-9a-z])+([-\w]*[0-9a-z])*\.)+[a-z]{2,6})$/i';
return preg_match($pattern, $email);
}
if ($_SERVER['REQUEST_METHOD'] == 'POST' && isset($_POST['formid']) && $_POST['formid'] == 'ecole_appliform1')
{
$mailto = 'gourouvital@mysteredelatrinite.com';
$mailfrom = isset($_POST['email']) ? $_POST['email'] : $mailto;
$subject = 'Application des nouveaux Postulants';
$message = 'Values submitted from web site form:';
$success_url = './succes.html';
$error_url = './error.html';
$error = '';
$eol = "\n";
$boundary = md5(uniqid(time()));

$header = 'From: '.$mailfrom.$eol;
$header .= 'Reply-To: '.$mailfrom.$eol;
$header .= 'MIME-Version: 1.0'.$eol;
$header .= 'Content-Type: multipart/mixed; boundary="'.$boundary.'"'.$eol;
$header .= 'X-Mailer: PHP v'.phpversion().$eol;
if (!ValidateEmail($mailfrom))
{
$error .= "The specified email address is invalid!\n<br>";
}

if (!empty($error))
{
$errorcode = file_get_contents($error_url);
$replace = "##error##";
$errorcode = str_replace($replace, $error, $errorcode);
echo $errorcode;
exit;
}

$internalfields = array ("submit", "reset", "send", "filesize", "formid", "captcha_code", "recaptcha_challenge_field", "recaptcha_response_field", "g-recaptcha-response");
$message .= $eol;
$message .= "IP Address : ";
$message .= $_SERVER['REMOTE_ADDR'];
$message .= $eol;
$logdata = '';
foreach ($_POST as $key => $value)
{
if (!in_array(strtolower($key), $internalfields))
{
if (!is_array($value))
{
$message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol;
}
else
{
$message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol;
}
}
}
$body = 'This is a multi-part message in MIME format.'.$eol.$eol;
$body .= '--'.$boundary.$eol;
$body .= 'Content-Type: text/plain; charset=ISO-8859-1'.$eol;
$body .= 'Content-Transfer-Encoding: 8bit'.$eol;
$body .= $eol.stripslashes($message).$eol;
if (!empty($_FILES))
{
foreach ($_FILES as $key => $value)
{
if ($_FILES[$key]['error'] == 0)
{
$body .= '--'.$boundary.$eol;
$body .= 'Content-Type: '.$_FILES[$key]['type'].'; name='.$_FILES[$key]['name'].$eol;
$body .= 'Content-Transfer-Encoding: base64'.$eol;
$body .= 'Content-Disposition: attachment; filename='.$_FILES[$key]['name'].$eol;
$body .= $eol.chunk_split(base64_encode(file_get_contents($_FILES[$key]['tmp_name']))).$eol;
}
}
}
$body .= '--'.$boundary.'--'.$eol;
if ($mailto != '')
{
mail($mailto, $subject, $body, $header);
}
header('Location: '.$success_url);
exit;
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Application des nouveaux postulants</title>
<meta name="generator" content="WYSIWYG Web Builder 14 - http://www.wysiwygwebbuilder.com">
<link href="mystere_de_la_trinite.css" rel="stylesheet">
<link href="ecole_appli.css" rel="stylesheet">
</head>
<body>
<div id="wb_ecole_appliForm1">
<form name="Application" method="post" action="<?php echo basename(__FILE__); ?>" enctype="multipart/form-data" id="ecole_appliForm1">
<input type="hidden" name="formid" value="ecole_appliform1">
<label for="ecole_appliEditbox1" id="ecole_appliLabel1">Nom</label>
<input type="text" id="ecole_appliEditbox1" name="ecole_appliEditbox1" value="" spellcheck="false">
<label for="ecole_appliEditbox2" id="ecole_appliLabel2">Prénom</label>
<input type="text" id="ecole_appliEditbox2" name="ecole_appliEditbox2" value="" spellcheck="false">
<label for="ecole_appliEditbox3" id="ecole_appliLabel3">Sexe</label>
<input type="text" id="ecole_appliEditbox3" name="ecole_appliEditbox3" value="" spellcheck="false">
<label for="ecole_appliEditbox4" id="ecole_appliLabel4">Age</label>
<input type="text" id="ecole_appliEditbox4" name="ecole_appliEditbox4" value="" spellcheck="false">
<label for="ecole_appliEditbox5" id="ecole_appliLabel5">Lieu de Naissance</label>
<input type="text" id="ecole_appliEditbox5" name="ecole_appliEditbox5" value="" spellcheck="false">
<label for="ecole_appliEditbox6" id="ecole_appliLabel6">Statut Matrimonial</label>
<input type="text" id="ecole_appliEditbox6" name="ecole_appliEditbox6" value="" spellcheck="false">
<label for="ecole_appliEditbox7" id="ecole_appliLabel7">Religion</label>
<input type="text" id="ecole_appliEditbox7" name="ecole_appliEditbox7" value="" spellcheck="false">
<label for="ecole_appliEditbox8" id="ecole_appliLabel8">Adresse</label>
<input type="text" id="ecole_appliEditbox8" name="ecole_appliEditbox8" value="" spellcheck="false">
<label for="ecole_appliEditbox9" id="ecole_appliLabel9">Téléphone</label>
<input type="text" id="ecole_appliEditbox9" name="ecole_appliEditbox9" value="" spellcheck="false">
<label for="ecole_appliEditbox10" id="ecole_appliLabel10">email</label>
<input type="text" id="ecole_appliEditbox10" name="ecole_appliEditbox10" value="" spellcheck="false">
<input type="submit" id="ecole_appliButton1" name="" value="Submit">
<input type="reset" id="ecole_appliButton2" name="" value="Reset">
</form>
</div>
<div id="wb_ecole_appliText1">
<span id="wb_uid0"><strong><u>APPLICATION</u></strong></span></div>
</body>
</html>

code for contact it's not work too:

!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Contact Gourou Rostan Vital</title>
<meta name="generator" content="WYSIWYG Web Builder 14 - http://www.wysiwygwebbuilder.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="font-awesome.min.css" rel="stylesheet">
<link href="mystere_de_la_trinite.css" rel="stylesheet">
<link href="gourou_vital.css" rel="stylesheet">
</head>
<body>
<div id="wb_contactForm">
<div id="contactForm">
<div class="row">
<div class="col-1">
<div id="wb_contactHeading">
<h2 id="contactHeading">Get In Touch</h2>
</div>
<div id="wb_contactJavaScript">
<img id="wb_uid0" src="https://maps.googleapis.com/maps/api/st ... -73.998284">

</div>
<div id="wb_contactBreadcrumb1">
<ul id="contactBreadcrumb1">
<li><a href="http://"><i class="fa fa-map-marker">&nbsp;</i>19 seaver circle bridgeport ct 06606</a></li>
</ul>

</div>
<div id="wb_contactBreadcrumb2">
<ul id="contactBreadcrumb2">
<li><a href="http://"><i class="fa fa-phone">&nbsp;</i>+ 1 203 667-1472</a></li>
</ul>

</div>
<div id="wb_contactBreadcrumb3">
<ul id="contactBreadcrumb3">
<li><a href="http://"><i class="fa fa-envelope-o">&nbsp;</i>gourouvital@mysteredelatrinite.com</a></li>
</ul>

</div>
</div>
<div class="col-2">
<div class="col-2-padding">
<div id="wb_Heading13">
<h2 id="Heading13">Mail Us</h2>
</div>
<input type="text" id="contactName" name="name" value="" spellcheck="false" placeholder="Full name">
<input type="text" id="contactEmail" name="email" value="" spellcheck="false" placeholder="Email">
<textarea name="message" id="contactMessage" rows="4" cols="51" spellcheck="false" placeholder="Type your message here"></textarea>
<input type="submit" id="contactButton" name="" value="Send it">
</div>
</div>
</div>
</div>
</div>
</body>
</html>

code for libraries it's not work too:

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>livres</title>
<meta name="generator" content="WYSIWYG Web Builder 14 - http://www.wysiwygwebbuilder.com">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="mystere_de_la_trinite.css" rel="stylesheet">
<link href="livres.css" rel="stylesheet">
<link rel="stylesheet" href="magnificpopup/magnific-popup.css">
</head>
<body>
<div id="container">
<div id="wb_livresShape1">
<a href="./livres1.html"><img src="images/img0020.png" id="livresShape1" alt=""></a></div>
</div>
<div id="wb_livresLayoutGrid1">
<div id="livresLayoutGrid1">
<div class="row">
<div class="col-1">
<div id="wb_livresText1">
<span id="wb_uid0"><strong><u>Gallerie des livres</u></strong></span>
</div>
</div>
</div>
</div>
</div>
<div id="wb_livresLayoutGrid2">
<div id="livresLayoutGrid2">
<div class="row">
<div class="col-1">
<div id="wb_livresPhotoGallery1">
<div id="livresPhotoGallery1">
<div class="thumbnails">
<figure class="thumbnail">
<div class="frame">
<a href="images/Bible de Jérusalem Major Toile Rouge Sous Coffret.jpg" data-rel="" title="Bible de J&#233;rusalem "><img alt="Bible de J&#233;rusalem " id="livresPhotoGallery1_img0" src="images/Bible de Jérusalem Major Toile Rouge Sous Coffret.jpg" title="Bible de J&#233;rusalem "></a>
<figcaption class="caption">Bible de J&#233;rusalem <div class="description">Major Toile Rouge Sous Coffret $165.50 <br></div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/changez-votre-vie.jpg" data-rel="" title="Changez-votre-vie"><img alt="Changez-votre-vie" id="livresPhotoGallery1_img1" src="images/changez-votre-vie.jpg" title="Changez-votre-vie"></a>
<figcaption class="caption">Changez-votre-vie<div class="description">Changez-votre-vie $22.14</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Clavicules de Salomon.jpg" data-rel="" title="Clavicules de Salomon"><img alt="Clavicules de Salomon" id="livresPhotoGallery1_img2" src="images/Clavicules de Salomon.jpg" title="Clavicules de Salomon"></a>
<figcaption class="caption">Clavicules de Salomon<div class="description">Clavicules de Salomon $35.67<br></div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Cours d'autosuggestion et de rééducation mentale.jpg" data-rel="" title="Cours d&#39;autosuggestion et de r&#233;&#233;ducation mentale"><img alt="Cours d&#39;autosuggestion et de r&#233;&#233;ducation mentale" id="livresPhotoGallery1_img3" src="images/Cours d'autosuggestion et de rééducation mentale.jpg" title="Cours d&#39;autosuggestion et de r&#233;&#233;ducation mentale"></a>
<figcaption class="caption">Cours d&#39;autosuggestion et de r&#233;&#233;ducation mentale<div class="description">Cours d&#39;autosuggestion et de r&#233;&#233;ducation mentale. $16.98<br></div>
</figcaption>
</div>
</figure>
<div class="clearfix visible-col4"></div>
<figure class="thumbnail">
<div class="frame">
<a href="images/Credo maçonnique.jpg" data-rel="" title="Credo ma&#231;onnique"><img alt="Credo ma&#231;onnique" id="livresPhotoGallery1_img4" src="images/Credo maçonnique.jpg" title="Credo ma&#231;onnique"></a>
<figcaption class="caption">Credo ma&#231;onnique<div class="description">Credo Ma&#231;onnique. $31.55 <br></div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/De la Symbolique des chapitres en Franc-Maçonnerie Rite Ecossais Ancien et Accepté et Rite Français.jpg" data-rel="" title="De la Symbolique des chapitres en Franc-Ma&#231;onnerie Rite Ecossais Ancien et Accept&#233; et Rite Fran&#231;ais"><img alt="De la Symbolique des chapitres en Franc-Ma&#231;onnerie Rite Ecossais Ancien et Accept&#233; et Rite Fran&#231;ais" id="livresPhotoGallery1_img5" src="images/De la Symbolique des chapitres en Franc-Maçonnerie Rite Ecossais Ancien et Accepté et Rite Français.jpg" title="De la Symbolique des chapitres en Franc-Ma&#231;onnerie Rite Ecossais Ancien et Accept&#233; et Rite Fran&#231;ais"></a>
<figcaption class="caption">De la Symbolique des chapitres en Franc-Ma&#231;onnerie Rite Ecossais Ancien et Accept&#233; et Rite Fran&#231;ais<div class="description">De la Symbolique des chapitres en Franc-Ma&#231;onnerie : Rite Ecossais Ancien et Accept&#233; et Rite Fran&#231;ais. $51.99 <br></div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Étoile flamboyante ou la recherche d'une parole perdue.jpg" data-rel="" title="&#201;toile flamboyante ou la recherche d&#39;une parole perdue"><img alt="&#201;toile flamboyante ou la recherche d&#39;une parole perdue" id="livresPhotoGallery1_img6" src="images/Étoile flamboyante ou la recherche d'une parole perdue.jpg" title="&#201;toile flamboyante ou la recherche d&#39;une parole perdue"></a>
<figcaption class="caption">&#201;toile flamboyante ou la recherche d&#39;une parole perdue<div class="description">&#201;toile flamboyante ou la recherche d&#39;une parole perdue. $98.97</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Grands Secrets merveilleux Pour aider à la guérison de toutes les maladies physiques et morales.jpg" data-rel="" title="Grands Secrets merveilleux"><img alt="Grands Secrets merveilleux" id="livresPhotoGallery1_img7" src="images/Grands Secrets merveilleux Pour aider à la guérison de toutes les maladies physiques et morales.jpg" title="Grands Secrets merveilleux"></a>
<figcaption class="caption">Grands Secrets merveilleux<div class="description">Grands Secrets merveilleux : Pour aider &#224; la gu&#233;rison de toutes les maladies physiques et morales. $69.99</div>
</figcaption>
</div>
</figure>
<div class="clearfix visible-col4"></div>
<figure class="thumbnail">
<div class="frame">
<a href="images/Grimoire du pape Honorius Avec un recueil des plus rares secrets - Copy.jpg" data-rel="" title="Grimoire du pape Honorius"><img alt="Grimoire du pape Honorius" id="livresPhotoGallery1_img8" src="images/Grimoire du pape Honorius Avec un recueil des plus rares secrets - Copy.jpg" title="Grimoire du pape Honorius"></a>
<figcaption class="caption">Grimoire du pape Honorius<div class="description">Avec un recueil des plus rares secrets. $23.83 </div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Khéops et la pyramide du soleil Roman (Champollion) (FrenchEdition).gif" data-rel="" title="Khe&#769;ops et la pyramide du soleil"><img alt="Khe&#769;ops et la pyramide du soleil" id="livresPhotoGallery1_img9" src="images/Khéops et la pyramide du soleil Roman (Champollion) (FrenchEdition).gif" title="Khe&#769;ops et la pyramide du soleil"></a>
<figcaption class="caption">Khe&#769;ops et la pyramide du soleil<div class="description">Roman (Champollion) (FrenchEdition) . $31.53</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/La clef essentielle pour résoudre les problèmes de l'existence.jpg" data-rel="" title="La clef essentielle "><img alt="La clef essentielle " id="livresPhotoGallery1_img10" src="images/La clef essentielle pour résoudre les problèmes de l'existence.jpg" title="La clef essentielle "></a>
<figcaption class="caption">La clef essentielle <div class="description">Pour r&#233;soudre les probl&#232;mes de l&#39;existence. $26.39</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/La lumière sur le royaume ou Pratique de la magie sacrée au quotidien, tome 1.jpg" data-rel="" title="La lumi&#232;re sur le royaume "><img alt="La lumi&#232;re sur le royaume " id="livresPhotoGallery1_img11" src="images/La lumière sur le royaume ou Pratique de la magie sacrée au quotidien, tome 1.jpg" title="La lumi&#232;re sur le royaume "></a>
<figcaption class="caption">La lumi&#232;re sur le royaume <div class="description"> Pratique de la magie sacr&#233;e au quotidien, tome 1. $150.95</div>
</figcaption>
</div>
</figure>
<div class="clearfix visible-col4"></div>
<figure class="thumbnail">
<div class="frame">
<a href="images/La poule noire, avec la science des talismans et anneaux magiques.jpg" data-rel="" title="La poule noire"><img alt="La poule noire" id="livresPhotoGallery1_img12" src="images/La poule noire, avec la science des talismans et anneaux magiques.jpg" title="La poule noire"></a>
<figcaption class="caption">La poule noire<div class="description">Avec la science des talismans et anneaux magiques. $25.55</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/La Rose Ignée.jpg" data-rel="" title="La Rose Ign&#233;e"><img alt="La Rose Ign&#233;e" id="livresPhotoGallery1_img13" src="images/La Rose Ignée.jpg" title="La Rose Ign&#233;e"></a>
<figcaption class="caption">La Rose Ign&#233;e<div class="description">La Rose Ign&#233;e . $47.90</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/La Vie des maîtres.jpg" data-rel="" title="La Vie des ma&#238;tres"><img alt="La Vie des ma&#238;tres" id="livresPhotoGallery1_img14" src="images/La Vie des maîtres.jpg" title="La Vie des ma&#238;tres"></a>
<figcaption class="caption">La Vie des ma&#238;tres<div class="description">La Vie des ma&#238;tres. $35.59 </div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Le Fil à plomb et la Perpendiculaire.jpg" data-rel="" title="Le Fil &#224; plomb et la Perpendiculaire"><img alt="Le Fil &#224; plomb et la Perpendiculaire" id="livresPhotoGallery1_img15" src="images/Le Fil à plomb et la Perpendiculaire.jpg" title="Le Fil &#224; plomb et la Perpendiculaire"></a>
<figcaption class="caption">Le Fil &#224; plomb et la Perpendiculaire<div class="description">Le Fil &#224; plomb et la Perpendiculaire. $27.95</div>
</figcaption>
</div>
</figure>
<div class="clearfix visible-col4"></div>
<figure class="thumbnail">
<div class="frame">
<a href="images/Le Hasard n'existe pas.jpg" data-rel="" title="Le Hasard n&#39;existe pas"><img alt="Le Hasard n&#39;existe pas" id="livresPhotoGallery1_img16" src="images/Le Hasard n'existe pas.jpg" title="Le Hasard n&#39;existe pas"></a>
<figcaption class="caption">Le Hasard n&#39;existe pas<div class="description">Le Hasard n&#39;existe pas. $28.03</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Le nombre d'or.jpg" data-rel="" title="Le nombre d&#39;or"><img alt="Le nombre d&#39;or" id="livresPhotoGallery1_img17" src="images/Le nombre d'or.jpg" title="Le nombre d&#39;or"></a>
<figcaption class="caption">Le nombre d&#39;or<div class="description">Le nombre d&#39;or. $29.55</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Le sens de l'initiation sacerdotale.gif" data-rel="" title="Le sens de l&#39;initiation sacerdotale"><img alt="Le sens de l&#39;initiation sacerdotale" id="livresPhotoGallery1_img18" src="images/Le sens de l'initiation sacerdotale.gif" title="Le sens de l&#39;initiation sacerdotale"></a>
<figcaption class="caption">Le sens de l&#39;initiation sacerdotale<div class="description">Le sens de l&#39;initiation sacerdotale. $21.99</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Le Sixième et le Septième Livre de Moise - Copy.png" data-rel="" title="Le Sixi&#232;me et le Septi&#232;me Livre de Moise - Copy"><img alt="Le Sixi&#232;me et le Septi&#232;me Livre de Moise - Copy" id="livresPhotoGallery1_img19" src="images/Le Sixième et le Septième Livre de Moise - Copy.png" title="Le Sixi&#232;me et le Septi&#232;me Livre de Moise - Copy"></a>
<figcaption class="caption">Le Sixi&#232;me et le Septi&#232;me Livre de Moise - Copy<div class="description">Le Sixi&#232;me et le Septi&#232;me Livre de Moise. $31.55 </div>
</figcaption>
</div>
</figure>
<div class="clearfix visible-col4"></div>
<figure class="thumbnail">
<div class="frame">
<a href="images/Le succes est à vos ordres.jpg" data-rel="" title="Le succes est &#224; vos ordres"><img alt="Le succes est &#224; vos ordres" id="livresPhotoGallery1_img20" src="images/Le succes est à vos ordres.jpg" title="Le succes est &#224; vos ordres"></a>
<figcaption class="caption">Le succes est &#224; vos ordres<div class="description">Le succ&#232;s est &#224; vos ordres. $20.06</div>
</figcaption>
</div>
</figure>
<figure class="thumbnail">
<div class="frame">
<a href="images/Les 33 degrés Ecossais et la Tradition.jpg" data-rel="" title="Les 33 degr&#233;s Ecossais et la Tradition"><img alt="Les 33 degr&#233;s Ecossais et la Tradition" id="livresPhotoGallery1_img21" src="images/Les 33 degrés Ecossais et la Tradition.jpg" title="Les 33 degr&#233;s Ecossais et la Tradition"></a>
<figcaption class="caption">Les 33 degr&#233;s Ecossais et la Tradition<div class="description">Les 33 degr&#233;s Ecossais et la Tradition. $26.87</div>
</figcaption>
</div>
</figure>
<div class="clearfix visible-col4"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="jquery-1.12.4.min.js" async></script>
<script src="magnificpopup/jquery.magnific-popup.min.js"></script>
<script>
$(document).ready(function()
{
$("a[data-rel='livresPhotoGallery1']").attr('rel', 'livresPhotoGallery1');
$("#livresPhotoGallery1").magnificPopup({delegate:'a', type:'image', gallery: {enabled: true, navigateByImgClick: true}});
});
</script>
<script src="livres.js" async></script>
</body>
</html>

User avatar
BaconFries
 
 
Posts: 4189
Joined: Thu Aug 16, 2007 7:32 pm

Re: form problem with PHP

Post by BaconFries » Tue Jun 26, 2018 1:52 pm

Can we please not open multiple issues in the same topic as your original as the only gets confusion to what is wrong.Ok lets start with why your images dont show or display. This is due to invalid naming by yourself by having spaces and special characters in them (brackets) please see the following regarding this.

How do I name my pages, images and other files?


Why aren't my images displayed on a published page?


So this issue is not with the software but user input..

User avatar
Pablo
 
Posts: 14529
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: form problem with PHP

Post by Pablo » Tue Jun 26, 2018 1:54 pm

Can you please let me know where exactly on your website I need to look to see the problem?

Note that forms require php.

So, http://www.mysteredelatrinite.com/ecole_appli.html
should be
http://www.mysteredelatrinite.com/ecole_appli.php

Related FAQ:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967

Also, please do not blame the application for your own mistakes.
We are happy to help you, so there is no need to be rude.

User avatar
BaconFries
 
 
Posts: 4189
Joined: Thu Aug 16, 2007 7:32 pm

Re: form problem with PHP

Post by BaconFries » Tue Jun 26, 2018 2:03 pm

Now the issue with your host...It has been asked before does your host support PHP? When using the forms within the software you are required to set the page extension to .php not .html or .htm this can be see by the url
Incorrect
http://www.mysteredelatrinite.com/ecole_appli.html
Correct
http://www.mysteredelatrinite.com/ecole_appli.php
Forms FAQ
Forms FAQ

htmalbenur
 
 
Posts: 22
Joined: Tue Jun 05, 2018 1:07 pm

Re: form problem with PHP

Post by htmalbenur » Wed Jun 27, 2018 6:45 am

hello and thank you for your help, so far I am starting to make the corrections on the site, now what I have left as procupation is the application, bookstore, and contact us, you can go and visit the site to see the discomforts I have with.

I rename the page ecole_appli.php but does not work.

i have this message:

500: Internal server error

This error is generated when a script running on the server could not be implemented or permissions are incorrectly assigned for files or directories

Troubleshooting suggestions:

Temporarily disable any rewrite rules by renaming your .htaccess file if it exists.

Ensure that any CGI or Perl scripts have at least .755. permissions.

If trying to run PHP and you get this error, you may have an invalid php.ini in your /cgi-bin, or may be missing your php.dat file in this folder.


thx for yor help

htmalbenur
 
 
Posts: 22
Joined: Tue Jun 05, 2018 1:07 pm

Re: form problem with PHP

Post by htmalbenur » Wed Jun 27, 2018 6:57 am

Image
Image

User avatar
Pablo
 
Posts: 14529
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: form problem with PHP

Post by Pablo » Wed Jun 27, 2018 8:12 am

You will need to contact your web host about this. This has nothing to do with the application. This is a server configuration issue.

htmalbenur
 
 
Posts: 22
Joined: Tue Jun 05, 2018 1:07 pm

Re: form problem with PHP

Post by htmalbenur » Wed Jun 27, 2018 4:16 pm

once again thank you for your intervention is the permissions correct or not. I would like an idea to intervene near the service provider.

User avatar
Pablo
 
Posts: 14529
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: form problem with PHP

Post by Pablo » Wed Jun 27, 2018 6:53 pm

You will have to contact your web host for server configuration related issues.

htmalbenur
 
 
Posts: 22
Joined: Tue Jun 05, 2018 1:07 pm

Re: form problem with PHP

Post by htmalbenur » Mon Jul 02, 2018 3:01 pm

Hello thank you again for your support but I would like to ask you how to do it: read more, if you go on the site www.mysteredelatrinite.com, Presentation, reflection2010 and you go to see the text is really long, I would like to put it professionally for reading.

thx very much.

User avatar
Pablo
 
Posts: 14529
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: form problem with PHP

Post by Pablo » Mon Jul 02, 2018 3:58 pm

What do you mean by 'I would like to put it professionally for reading'?

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests