Hi all,
i use phpmyfaq 2.7.9 on my website and i have an error in the back-office when i want to delete an article.
Here is my code: (record_show.php): https://hastebin.com/piyiwixiwu.bash
Here is my error (in console) :
Uncaught SyntaxError: Unexpected token ]
Error when i click on the delete icon:
Uncaught ReferenceError: deleteRecord is not defined
at HTMLAnchorElement.onclick (?action=view:1413)
I can't update the version, ty
deleteRecord not defined phpmyadmin 2.7.9
Moderator: Thorsten
-
- Posts: 4
- Joined: Fri Sep 29, 2017 10:19 am
Re: deleteRecord not defined phpmyadmin 2.7.9
Hi,
why can't you update your version?
bye
Thorsten
why can't you update your version?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 4
- Joined: Fri Sep 29, 2017 10:19 am
Re: deleteRecord not defined phpmyadmin 2.7.9
i can't update the phpversion of my server.
After 3hours of search i found a solution:
Comment this:
function saveStatusForCategory(id, type)
{
var id_map = [];
<?php
foreach ($all_ids as $cat_id => $record_ids) {
//echo " id_map[" . $cat_id . "] = [" . implode(',', $record_ids) . "];\n";
}
?>
After 3hours of search i found a solution:
Comment this:
function saveStatusForCategory(id, type)
{
var id_map = [];
<?php
foreach ($all_ids as $cat_id => $record_ids) {
//echo " id_map[" . $cat_id . "] = [" . implode(',', $record_ids) . "];\n";
}
?>
Re: deleteRecord not defined phpmyadmin 2.7.9
Hi,
so you're still running PHP 5.2?
bye
Thorsten
so you're still running PHP 5.2?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 4
- Joined: Fri Sep 29, 2017 10:19 am