|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-10-12 04:24 UTC] sbergmann@php.net
After hitting the "Create" button in phpMyAdmin's "Create new database" form (on the start page of phpMyAdmin) php.exe crashes. The form calls db_create.php3, but I cannot find the cause for the crash therein. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sun Jan 18 04:00:01 2026 UTC |
> A second problem: If I browse through a table, click an entry, alter > some field contents and then click "OK" to confirm the changes, the > message "This URL can not be found on this server" is displayed; but if > I then re-display the table, the altered data although has changed. > But why the heck then is this message showed???? This problem is not platform specific. It depends on the number of fields in the table - the query string is too long and therefore php reports the file not being found. [Sat Apr 6 15:41:35 2002] [error] PHP Warning: stat failed for ./sql.php?lang=en&server=1&db=mydb&table=mytable&pos=0&sql_query=SELECT+%60id%60%2C%60titel%60%2C%60auteurid%60%2C%60auteur_dn%60%2C%60synopsis%60%2C%60intro%60%2C%60creationtime%60%2C%60lastmod%60%2C%60pubtime%60%2C%60published%60%2C%60updated%60%2C%60react_status%60%2C%60metadata%60%2C%60head%60%2C%60body%60%2C%60resourcepack%60+FROM+%60nieuws%60+WHERE+1+AND+%60id%60+%3D+10049 (errno=63 - File name too long) in /my/dir/phpMyAdmin-2.2.1/tbl_replace.php on line 215 It's actually lame code (line 215 of tbl_replace.php): if (file_exists('./' . $goto)) { where $goto is an url-escaped query string, tucked into a variable. I think that on windows the fstat isn't checked well enough and causes the errors - i.e. passes the file not found, directly to the webserver, which interpretes this as a 404.