php - Problems with view rendering -


I have a page with users list in the admin panel, it has a view with a bootstrap table (user list). Today I came to know that it only provides half or a small number of users. The point at which it closes after the page is refreshed is a different user (can be up to 250 users or 1000). Data from the controller is complete and solid, I have checked it with the printing user array. Here's a picture to finish the scene: Enter image details here

More table Code inside:

   & Lt; Strong & gt; & Lt ;? = $ Item- & gt; Id; ? & Gt; & Lt; / Strong> & Lt; / TD & gt; & Lt; TD & gt; & Lt ;? = $ Item- & gt; User name? & Gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt ;? = $ Item- & gt; Name? & Gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt ;? = $ Item- & gt; E-mail? & Gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt ;? = $ Item- & gt; Phone? & Gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt ;? = $ Item- & gt; Comment? & Gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Span style = "color: & lt ;? = $ item- & gt; valid? 'Green': 'gray'? & Gt;" & Gt; & Lt ;? = $ Item- & gt; Valid? 'Активирован': 'Не активирован'? & Gt; & Lt; / Span & gt; & Lt; / TD & gt; & Lt; TD & gt; & Lt; Div class = "btn-group" & gt; & Lt; Button type = "button" class = "BTN BTN-default dropdown-toggle" data-toggle = "dropdown" & gt; Destia & lt; Span class = "carat" & gt; & Lt; / Span & gt; & Lt; / Button & gt; & Lt; Ul class = "dropdown-menu" role = "menu" & gt; & Lt; Li & gt; & Lt; A href = "& lt;? = Root :: URL ('Administrator', array ('Controller' => $ model- & gt; Object_name (), 'action' = & gt; 'edit' id ' = & Gt; $ item-> ID))? & Gt; "gt; Редактировать & lt; / A & gt; & Lt; / Li & gt; & Lt; Li & gt; & Lt; A href = "& lt;? = = Root :: URL ('Administrator', array ('Admin' => $ model- & gt; Object_name (), 'action' = & gt; 'delete' id '= & Gt; $ item-> ID))? & Gt; "gt; Удалить & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt ;? Php endforeach? & Gt;  

error log is empty

UPD when I try to open this page on iPhone It starts loading and throws error "Operation could not be completed" error 303

Something goes wrong when you call $ item-> valid for your 250 user.

  & lt ;? = $ Item- & gt; Valid? 'green Grey'? & Gt; "& Gt; & lt;? = $ Item- & gt; Valid? 'Активирован': 'Не активирован'? & Gt;  

View your php log and find your error first .


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -