Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Can't delete or change records. I can only add.

phpMyEdit Configuration     Can't delete or change records. I can only add.
Odoslať novú tému   Odpovedať na tému    
 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-08-17 20:51
Návrat hore  Odpovedať s citátom     

If you are certain that this is a bug in phpMyEdit, it has to be submitted in bug-tracking system.

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-08-18 11:52
Návrat hore  Odpovedať s citátom     

Please try to post also SQL dump of your table.

Kód:
SHOW CREATE TABLE table_name;


I will try to recognize, if this is a bug or no. If so, I will try to fix it.

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-08-21 20:10
Návrat hore  Odpovedať s citátom     

I have a problem accessing a server with PHP/4.3

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-08-21 21:58
Návrat hore  Odpovedať s citátom     

You were speaking about PHP/4.3 thus I meant that this is PHP/4.3 related issue.

Now I see that it does not work on the lower version.

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-08-21 22:08
Návrat hore  Odpovedať s citátom     

Btw. I discovered an error.

Why you do not have ['datetime'] properly (completely) initialized?

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-08-22 09:11
Návrat hore  Odpovedať s citátom     

Setup script generated complete ['datetime'] initialization, however it seems that you cut it off.

 
manamalkav     Založený: 11.11.2003   Príspevky: 8   Bydlisko: Florida, USA
Príspevok Zaslal: 2003-11-12 21:58
Návrat hore  Odpovedať s citátom     

Hi,

I looked at your dump (of the calling program).. Looks like you deleted the primary key information (The field 'keynum')... This has to be included...

Use the available options to decide whether or not they will be displayed on your form/editable/ etc...

I hope this helps!

Anonymous Napísal:
Hi. I've just set up a phone book using phpMyEdit and I can add records just fine but whenever I try to change or view different records, it always brings up the very first record that I added.

When I try to delete a record, it doesn't do anything but shows this error:

Warning: First argument to array_keys() should be an array in /www/html/phpMyEdit/phpMyEdit.class.php on line 2167

The line 2167 on phpMyEdit.class.php is:

$changed = array_keys($oldvals);

The only way I can delete a record right now is using phpMyAdmin.

I'm a complete beginner and I have no idea where to go from here.
By the way, my web host is running PHP 4.2.2 if that helps. Also, in case this helps, I did notice on this php.net page on arrays this:

"Warning:
As of PHP 4.3.0, the index generation behaviour described above has changed. Now, if you append to an array in which the current maximum key is negative, then the next key created will be zero (0). Before, the new index would have been set to the largest existing key + 1, the same as positive indices are."

Any help would be much appreciated.
Thanks in advance.
-Jino


 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov