|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ViX Smarty n00b
Joined: 27 Dec 2008 Posts: 3
|
Posted: Tue Jan 06, 2009 4:12 pm Post subject: Notice: |
|
|
Jak wylaczyc tego typu komunikaty?
Code: | Notice: Use of undefined constant login - assumed 'login' in /home/organizacje/user/public_html/admin/index.php on line 7
Notice: Undefined index: login in /home/organizacje/user/public_html/admin/index.php on line 7
Notice: Use of undefined constant haslo - assumed 'haslo' in /home/organizacje/user/public_html/admin/index.php on line 8
Notice: Undefined index: haslo in /home/organizacje/user/public_html/admin/index.php on line 8
Notice: Use of undefined constant login - assumed 'login' in /home/organizacje/user/public_html/admin/index.php on line 15 |
|
|
Back to top |
|
fornve Smarty Rookie
Joined: 25 Apr 2008 Posts: 29 Location: Sheffield, UK
|
Posted: Thu Jan 08, 2009 4:58 pm Post subject: |
|
|
Są 2 sposoby:
1. Poprawnym dostepem do zmiennej tabicowej jest:
$array[ 'amber' ]; // dobrze
a nie
$array[ amber ]; // źle
gdy $array = array( 'amber' => 'bursztyn' );
2. Poczytaj http://uk.php.net/manual/pl/function.error-reporting.php |
|
Back to top |
|
zmywak Smarty n00b
Joined: 02 Nov 2009 Posts: 3
|
Posted: Tue Nov 03, 2009 1:07 pm Post subject: |
|
|
error_reporting w ustawieniach php, lub bezposrednio ze skryptu |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|