Re: Script stops working since activate new php version
| From: | Release Edl | Date: | Fri, 27 Feb 2015 21:28:29 +0000 |
| Subject: | Re: Script stops working since activate new php version | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324554@lists.php.net to get a copy of this message | ||
Sorry, I forget to say that this option is on at the Server, but no message is displayed.
I''ll try to put just in the file as you said.
"Aziz Saleh" <azizsaleh@gmail.com> escreveu na mensagem news:CAPJtNhWcSGQGH55zEWOVvKsY4nKRE1wqU0M-ezJMJ8tk3xPkYg@mail.gmail.com...
On Fri, Feb 27, 2015 at 4:14 PM, Release Edl <release_editorial@terra.com.brwrote:I Replace all instances of PHP code that starts with "<?" to "<?php and try the Lester Caine suggestion too, loading conexao.php only one time. But, still doesn't work.... "Aziz Saleh" <azizsaleh@gmail.com> escreveu na mensagem news:CAPJtNhVEC_nP79xWy+XVQhDPeo2rahAicME_bfWFgiaoJtqUxg@mail.gmail.com... On Fri, Feb 27, 2015 at 2:40 PM, Jim Giner <jim.giner@albanyhandball.com>You seem to have ignored the most important suggestion, turn error reporting on. Add to the top of file: <?php error_reporting(-1); ini_set('display_errors', 'on');wrote: On 2/27/2015 2:26 PM, Aziz Saleh wrote:-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpReplace all instances of PHP code that starts with "<?" to "<?php". AlsoIf you do have the resources and expertise to upgrade to PDO then like Jim said do it. Also when responding please respond to the entire mailing list.insure that mysql_* drivers are installed. Actually - make sure mysqlI or PDO is installed and forget the mysqldrivers. They are deprecated and have been for awhile now, so it's time to update your code while upgrading your server. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Sorry meant to say are activated (they should be installed by default).