Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Notice:

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish
View previous topic :: View next topic  
Author Message
ViX
Smarty n00b


Joined: 27 Dec 2008
Posts: 3

PostPosted: Tue Jan 06, 2009 4:12 pm    Post subject: Notice: Reply with quote

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
View user's profile Send private message
fornve
Smarty Rookie


Joined: 25 Apr 2008
Posts: 29
Location: Sheffield, UK

PostPosted: Thu Jan 08, 2009 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
zmywak
Smarty n00b


Joined: 02 Nov 2009
Posts: 3

PostPosted: Tue Nov 03, 2009 1:07 pm    Post subject: Reply with quote

error_reporting w ustawieniach php, lub bezposrednio ze skryptu
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Polish All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP