PHP version [solved] |
Post Reply ![]() |
Author | |
beeder d ![]() Newbie ![]() Joined: Mar 25 2021 Location: Canada Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() Posted: Jun 13 2023 at 1:26pm |
What version of php does OE use. My host doesn't process my order form page anymore. Says I need to update WEFiles\Server\WESendMail-v210.php on line 30
Edited by Hobby001 - Jun 25 2023 at 9:23pm |
|
![]() |
|
Hobby001 ![]() Admin Group ![]() ![]() Joined: Jun 05 2018 Location: Canada, Québec Status: Offline Points: 6122 |
![]() ![]() ![]() ![]() ![]() |
OE works fine with php up to php 7.4
To make it work with php 8.0 you need to modify /WEFiles /Server/ServerWESendMail-v210.php here is a user solution from the french side of th forum Voici les modifications faites
dans le répertoire /WEFiles /Server/ ouvrir le fichier ServerWESendMail-v210.php ajouter cette ligne tout en haut avant <?php <!-- saved from url=(0022)http://internet.e-mail --> ensuite mettre ce symbole // devant chaque ligne du paragraphe : // consider magic quotes: //if (get_magic_quotes_runtime()) set_magic_quotes_runtime(false); //if (get_magic_quotes_gpc()) { // remove slashes before apostrophes etc. // foreach($param as $key=>$value) { // if (is_array($value)) { // value is an array, not just string (happens if attribut name contains []) // foreach($value as $vkey=>$vv) $param[$key][$vkey] = stripslashes($param[$key][$vkey]); // } else // $param[$key] = stripslashes($param[$key]); // remove slashes before apostrophes etc. // } //} |
|
![]() |
|
beeder d ![]() Newbie ![]() Joined: Mar 25 2021 Location: Canada Status: Offline Points: 9 |
![]() ![]() ![]() ![]() ![]() |
![]() |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |