Table is not displayed!!

Installation Problems And Solutions

Table is not displayed!!

Postby towndwarf » Thu Mar 28, 2013 11:34 am

Hi All,
When I've changed the script to my columns and tables, it started to show ONLY the SQL request AND a "bottom line":
--------------
select `tbl_bre_rq`.`breID`,
`tbl_bre_rq`.`status_change_date`,
`tbl_bre_rq`.`status_change_tag`,
`tbl_bre_rq`.`status_change_msg`,
from tbl_bre_rq
WHERE `tbl_brelok_rq`.`status_change_tag`=0 order by `status_change_date` asc limit 0, 20
"Displaying 1 - 2 of 2 records"
and normal buttons for table row manipulation!

------------
but NO table is shown!!!! :?
(yes, indeed, I have only 2 rows within my DB and yes, table contains unicode chars)

Spent about 2 hrs to find the problem, but no results and no idea WHY this could happen.
towndwarf
 
Posts: 2
Joined: Wed Mar 27, 2013 7:50 pm

Re: Table is not displayed!!

Postby towndwarf » Thu Apr 04, 2013 9:47 am

I've found how to solve the problem, but no idea why this happens
When using NON-ASCII symbols (in my reality - multiple non Latin languages) - table is NOT displayed due to error in PHP processing.
The solution : on string parameter for $tableColumns display names put just regular doublequotes (") instead of single ones.

I mean
Code: Select all
function initiateEditor(){
$tableColumns['date1'] = array('display_text' => "paid at", 'perms' => 'EVCTAXQSHO');
$tableColumns['date2'] = array('display_text' => "Оплачено", 'perms' => 'EVCTAXQSHO');
...
towndwarf
 
Posts: 2
Joined: Wed Mar 27, 2013 7:50 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron