phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
425 core / general minor always 2006-11-27 22:57 2006-11-27 22:57
flynnmj Fedora Core  
Linux  
normal FC3  
new 5.6 (stable)  
v 1.188 2006-09-08 16:30:31 open  
none  
none  
Can't insert records from created file on PHP5
I was using one of the files I created to edit a table and noticed that it was inserting blank records. It appears that $this->cgi['prefix']['data'] is not set when creating the input form. Not sure why that is the case. My hack to get my page working again was to modify the get_cgi_var function to add another check "! isset($var)" and then proceed to strip off the $this->cgi['prefix']['data'] and then look for the data in the $_POST variable. Seems strange that it's value is null on one request and populated on the next.
Linux fileserv02 2.6.12-1.1378_MG_FC3smp #1 SMP Thu Oct 6 07:27:54 EDT 2005 i686 i686 i386 GNU/Linux

PHP Version 5.2.0
'./configure' '--with-apxs2=/usr/sbin/apxs' '--with-openssl' '--with-zlib' '--with-oci8=instantclient,/opt/app/oracle/instantclient' '--with-curl' '--enable-ftp' '--with-gd' '--with-mysql' '--with-pdo-mysql' '--with-pdo-oci=instantclient,/opt/app/oracle/instantclient/,10.2.0.2.0' '--with-pspell' '--with-snmp' '--enable-soap' '--enable-sockets' '--enable-sigchild' '--with-curl-ssl'

mysql Ver 14.7 Distrib 4.1.21, for pc-linux-gnu (i686) using readline 4.3

There are no notes attached to this bug.