Re: Script stops working since activate new php version

From: 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.br
wrote:
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>
wrote: On 2/27/2015 2:26 PM, Aziz Saleh wrote:
Replace all instances of PHP code that starts with "<?" to "<?php". Also
insure that mysql_* drivers are installed. Actually - make sure mysqlI or PDO is installed and forget the mysql
drivers. 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).
If 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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
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');


« previous php.general (#324554) next »