This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Smoketm
Smoketm

Hey guys every time i would like to delete something in the backend i get an error and a pop up appears.

Pop up error: {"#Lists":"<div class=\"control-list\" data-control=\"listwidget\">\n <table class=\"table data\" data-control=\"rowlink\">\n \n \n <th class=\"list-checkbox\">\n <div class=\"checkbox custom-checkbox nolabel\">\n <input type=\"checkbox\" id=\"Lists-checkboxAll\" \/>\n <label for=\"Lists-checkboxAll\"><\/label>\n <\/div>\n <\/th>\n \n \n <th\n class=\"sort-desc active list-cell-name-name\"\n >\n <a\n href=\"javascript:;\"\n data-request=\"list::onSort\"\n data-stripe-load-indicator\n data-request-data=\"sortColumn: 'name', page: 1\">\n Name <\/a>\n <\/th>\n <th\n class=\"sort-desc list-cell-name-email\"\n >\n <a\n href=\"javascript:;\"\n data-request=\"list::onSort\"\n data-stripe-load-indicator\n data-request-data=\"sortColumn: 'email', page: 1\">\n Email <\/a>\n <\/th>\n <th\n class=\"sort-desc list-cell-name-created_at\"\n >\n <a\n href=\"javascript:;\"\n data-request=\"list::onSort\"\n data-stripe-load-indicator\n data-request-data=\"sortColumn: 'created_at', page: 1\">\n Registered <\/a>\n <\/th>\n \n <th class=\"list-setup\">\n <a href=\"javascript:;\"\n title=\"List setup\"\n data-control=\"popup\"\n data-handler=\"list::onLoadSetup\"><\/a>\n <\/th>\n <\/tr>\n <\/thead>\n \n <tr class=\"list-tree-level-0 \">\n <td class=\"list-checkbox nolink\">\n <div class=\"checkbox custom-checkbox nolabel\">\n <input\n type=\"checkbox\"\n name=\"checked[]\"\n id=\"Lists-checkbox-1\"\n value=\"1\" \/>\n <label for=\"Lists-checkbox-1\">Check<\/label>\n <\/div>\n<\/td> \n \n <td data-title=\"Name\" class=\"list-cell-index-1 list-cell-name-name list-cell-type-text \">\n <a href=\"http:\/\/snippetbox.raphaelschrempf.at\/backend\/rainlab\/user\/users\/update\/1\">\n sepp <\/a>\n <\/td>\n <td data-title=\"Email\" class=\"list-cell-index-2 list-cell-name-email list-cell-type-text \">\n weilwir@gmx.at <\/td>\n <td data-title=\"Registered\" class=\"list-cell-index-3 list-cell-name-created_at list-cell-type-text \">\n 2015-03-29 11:52:28 <\/td>\n \n <td class=\"list-setup\"> <\/td>\n <\/tr>\n\n <\/tbody>\n \n \n <td colspan=\"5\" class=\"list-pagination nolink\">\n <div class=\"loading-indicator-container size-small pull-right\">\n <div class=\"control-pagination\">\n <span class=\"page-iteration\">\n Displayed records: 1-1 of 1 <\/span>\n <\/div>\n<\/div> <\/td>\n <\/tr>\n <\/tfoot>\n <\/table>\n<\/div>\n","#layout-flash-messages":" <p data-control=\"flash-message\" class=\"flash-message error\" data-interval=\"5\">There are no selected users to delete.<\/p>\n","X_OCTOBER_ASSETS":{"js":["http:\/\/snippetbox.raphaelschrempf.at\/modules\/backend\/widgets\/lists\/assets\/js\/october.list.js?v225"],"css":[],"rss":[]}}

Log Error: Invalid argument supplied for foreach()

So i hope anybody knows what to do?

best regards smoke

Last updated

axomat
axomat

You could get this error if there is a problem with the javascript that is controlling access to the delete button. So can you check the conole in your browser and see what it says about missing or corrupt scripts and then repost. Thanks

Smoketm
Smoketm

Error in console: Failed to load resource: the server responded with a status of 500 (Internal Server Error) I think it has something to do with my htaccess i can only enter my page if i delete the htaccess so i dont know what to do?

htaccess:

Options -MultiViews RewriteEngine On ## ## You may need to uncomment the following line for some hosting environments, ## if you have installed to a subdirectory, enter the name here also. ## RewriteBase /october/ ## ## Black list protected files ## RewriteRule ^themes/.*/(layouts|pages|partials)/.*.htm index.php [L,NC] RewriteRule ^uploads/protected/.* index.php [L,NC] RewriteRule ^bootstrap/.* index.php [L,NC] RewriteRule ^config/.* index.php [L,NC] RewriteRule ^vendor/.* index.php [L,NC] RewriteRule ^storage/cms/.* index.php [L,NC] RewriteRule ^storage/logs/.* index.php [L,NC] RewriteRule ^storage/temp/.* index.php [L,NC] RewriteRule ^storage/framework/.* index.php [L,NC] ## ## White listed folders and files ## RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_URI} !\.js RewriteCond %{REQUEST_URI} !\.map RewriteCond %{REQUEST_URI} !\.ico RewriteCond %{REQUEST_URI} !\.jpg RewriteCond %{REQUEST_URI} !\.jpeg RewriteCond %{REQUEST_URI} !\.gif RewriteCond %{REQUEST_URI} !\.css RewriteCond %{REQUEST_URI} !\.less RewriteCond %{REQUEST_URI} !\.scss RewriteCond %{REQUEST_URI} !\.pdf RewriteCond %{REQUEST_URI} !\.png RewriteCond %{REQUEST_URI} !\.swf RewriteCond %{REQUEST_URI} !\.txt RewriteCond %{REQUEST_URI} !\.xml RewriteCond %{REQUEST_URI} !\.xls RewriteCond %{REQUEST_URI} !\.eot RewriteCond %{REQUEST_URI} !\.woff RewriteCond %{REQUEST_URI} !\.woff2 RewriteCond %{REQUEST_URI} !\.ttf RewriteCond %{REQUEST_URI} !\.svg RewriteCond %{REQUEST_URI} !\.wmv RewriteCond %{REQUEST_URI} !\.avi RewriteCond %{REQUEST_URI} !\.mov RewriteCond %{REQUEST_URI} !\.mp4 RewriteCond %{REQUEST_URI} !\.webm RewriteCond %{REQUEST_URI} !\.ogg RewriteCond %{REQUEST_URI} !docs/.* RewriteCond %{REQUEST_URI} !themes/.* RewriteRule ^ index.php [L,NC] ## ## Standard routes ## RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

Sorry i dont know how to format this code properly. I also tried to uncomment RewriteBase /october/ how it is written in the documentation but no result.

thanks

Last updated

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.