Re: Script stops working since activate new php version

From: Date: Tue, 03 Mar 2015 12:22:16 +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-324577@lists.php.net to get a copy of this message
I just ad (as Aziz) suggests: <?php error_reporting(-1); ini_set('display_errors', 'on'); ?> And now I think we're going to a solution, as page shows: PHP Notice: Undefined variable: id in D:\web\localuser\guizzardibelavista\www\vertudo.php on line 24 PHP Notice: Use of undefined constant php - assumed 'php' in D:\web\localuser\guizzardibelavista\www\vertudo.php on line 36 PHP Notice: Undefined variable: id in D:\web\localuser\guizzardibelavista\www\vertudo.php on line 54 PHP Notice: Undefined variable: id in D:\web\localuser\guizzardibelavista\www\vertudo.php on line 116 "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 (#324577) next »