Re: [PHP] Error Reporting/Display Errors Issues?
You may need to check the running php code, those values can be changed during runtime. 2011/5/10 Mike Mackintosh : > Anyone else notice PHP throwing Warning and Notices even when display errors > and error reporting disabled? > > I compiled PHP with the following: > > './configure' '--prefix=/usr/local/php-5.3.3' '--enable-cli' > '--disable-debug' '--disable-rpath' '--disable-static' '--with-pic' > '--with-openssl=/usr' '--enab > le-bcmath' '--with-bz2' '--enable-calendar' '--enable-ctype' '--with-curl' > '--with-zlib-dir=/usr' '--with-xsl' '--enable-exif' '--enable-ftp' > '--with-gd' '--enable-gd-native-ttf' '- > -with-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' > '--with-freetype-dir=/usr' '--with-gettext' '--with-iconv' '--with-imap' > '--with-kerberos=/usr' '--with-imap-ssl=/usr' '--ena > ble-mbstring' '--with-mcrypt' '--with-mhash' '--with-mime-magic' > '--with-mysql=/usr/local/mysql-5.1.49' '--with-pcre-regex=/usr' > '--with-pspell=/usr' '--enable-sockets' '--enable-wd > dx' '--with-xmlrpc' '--with-zlib=/usr' '--with-pear' '--with-layout=GNU' > '--with-ldap' '--enable-pdo' '--enable-soap' > '--with-apxs2=/usr/local/apache-2.2.16/bin/apxs' '--enable-pcnt > l' '--enable-mailparse' '--enable-zip' '--with-zip=/usr' '--with-bz2=/usr' > '--with-config-file-path=/etc' > '--with-config-file-scan-dir=/usr/local/php-5.3.3/etc' '--with-pdo-mysql=/u > sr/local/mysql-5.1.49' '--with-openssl=/usr' > > I have also set the following: > > display_errors => Off => Off > display_startup_errors => Off => Off > error_append_string => no value => no value > error_log => no value => no value > error_prepend_string => no value => no value > error_reporting => 0 => 0 > > But i continue to receive Strict/Notice and Warnings in code that i wish to > be hidden. > > Any suggestions? > > Thanks, > > Mike > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] mysql error
Hi Grega, Probably you wanna define a primary key, if so, then change from "uniqueid" to "primary key". 2011/5/6 Curtis Maurand : > > > > engine= > > --C > > Grega Leskovšek wrote: >> Can smbd please look at this sentence - I got an error and do > not >> know how to fix it - I am still very unfamiliar with > MYSQL: >> >> CREATE TABLE log ( idlog int auto_increment > not null, imepriimek >> varchar(50), clock timestamp, action > varchar(30), onfile >> varchar(100), filesize float(6,2), > uniqueid(idlog) ); >> >> ERROR 1064 (42000): You have an > error in your SQL syntax; check the >> manual that corresponds to > your MySQL server version for the right >> syntax to use near > '(idlog) )' at line 1 >> >> -- When the sun rises I receive > and when it sets I forgive -> >> > http://moj.skavt.net/gleskovs/ >> Always in Heart, Grega > LeskovĹĄek >> >> -- >> PHP General > Mailing List (http://www.php.net/) >> To unsubscribe, visit: > http://www.php.net/unsub.php >> >> > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php