Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author ka2

    (@ka2)

    Thank you for your inquiry.

    Where do you happen that trouble?
    Which does the WordPress management screen or the front-end page using shortcode?
    Isn’t occur an error of javascript at the time of trouble?

    Please tell me in detail the situation at the time of trouble.

    Thank you for taking care of it.

    Thread Starter omarheneidy

    (@omarheneidy)

    i discovered that is happening when the table containing more than one columns with a “SET” type. can you help me solving this?

    Plugin Author ka2

    (@ka2)

    Hmm, I was not able to reproduce the problem.

    Could you tell me the create SQL statements of the table that trouble occurs?

    Thank you for taking care of it.

    Thread Starter omarheneidy

    (@omarheneidy)

    CREATE TABLE Used_Cars (
    ID int(11) NOT NULL AUTO_INCREMENT,
    الماركة enum(‘أم جي’,’أوبل’,’أودي’,’ألفا روميو’,’بروتون’,’بريليانس’,’بورش’,’بي إم دبليو’,’بيجو’,’تويوتا’,’جاجوار’,’جريت وول’,’جيب’,’جيلي’,’دايهاتسو’,’دودج’,’رينو’,’سانج يونج’,’سيتروين’,’سكودا’,’سوبارو’,’سوزوكي’,’سيات’,’شنجان’,’شيري’,’شيفروليه’,’فورد’,’فولفو’,’فولكس فاجن’,’فيات’,’كرايسلر’,’كيا’,’لادا’,’لاند روفر’,’مازدا’,’ميتسوبيشي’,’مرسيدس’,’ميني’,’نيسان’,’هوندا’,’هيونداي’) NOT NULL,
    الموديل varchar(255) NOT NULL,
    (سعة المحرك (سي سي int(255) NOT NULL,
    سنة الصنع year(4) NOT NULL,
    عداد المسافة int(11) NOT NULL,
    الوصف text,
    تليفون varchar(255) NOT NULL,
    المحافظة varchar(255) NOT NULL,
    مواصفات أخرى set(‘تكييف’,’زجاج كهربائي’,’فتحة سقف’,’نظام فرامل ABS’,’سنتر لوك’,’إنذار’,’مثبت سرعة’,’توزيع الكتروني للفرامل EBD’,’باور’,’وسائد هوائية’,’راديو كاسيت’),
    ملاحظات text,
    PRIMARY KEY(ID) )
    ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

    Here is my create SQL, when i insert any number of rows when I try to view the data it keeps telling me “No data in this table” but in the “Operate Table” screen it shows the real number of rows inserted.

    Thank you for help 🙂

    Plugin Author ka2

    (@ka2)

    I could see of the problems in your favor.

    In this plugin, it does not work when is using the characters other than alphanumeric and allowed symbols at the table name. Because the JavaScript that is rendered via the shortcode of “cdbt-view” and “cdbt-edit” cannot handle operating normally.

    You should change to alphanumeric characters from the table name of Arabic.
    Their shortcodes works normally after I change the names of all tables using the SQL below.

    alter table used_cars change الموديل model varchar(255) NOT NULL comment 'الموديل';
    alter table used_cars change (سعة المحرك (سي سي engine_capacity int(255) NOT NULL comment '(سعة المحرك (سي سي';
    alter table used_cars change الماركة brand enum('أم جي','أوبل','أودي','ألفا روميو','بروتون','بريليانس','بورش','بي إم دبليو','بيجو','تويوتا','جاجوار','جريت وول','جيب','جيلي','دايهاتسو','دودج','رينو','سانج يونج','سيتروين','سكودا','سوبارو','سوزوكي','سيات','شنجان','شيري','شيفروليه','فورد','فولفو','فولكس فاجن','فيات','كرايسلر','كيا','لادا','لاند روفر','مازدا','ميتسوبيشي','مرسيدس','ميني','نيسان','هوندا','هيونداي') NOT NULL comment 'الماركة';
    alter table used_cars change سنة الصنع manufacturing_year year(4) NOT NULL comment 'سنة الصنع';
    alter table used_cars change عداد المسافة odometer int(11) NOT NULL comment 'عداد المسافة';
    alter table used_cars change  الوصف description text comment 'الوصف';
    alter table used_cars change تليفون telephone varchar(255) NOT NULL comment 'تليفون';
    alter table used_cars change المحافظة province varchar(255) NOT NULL comment 'المحافظة';
    alter table used_cars change مواصفات أخرى other_specifications set('تكييف','زجاج كهربائي','فتحة سقف','نظام فرامل ABS','سنتر لوك','إنذار','مثبت سرعة','توزيع الكتروني للفرامل EBD','باور','وسائد هوائية','راديو كاسيت') DEFAULT NULL comment 'مواصفات أخرى';
    alter table used_cars change ملاحظات notes text comment 'ملاحظات';

    Or, it may re-create the table in the following SQL.

    CREATE TABLE used_cars (
      ID int(11) NOT NULL AUTO_INCREMENT,
      brand enum('أم جي','أوبل','أودي','ألفا روميو','بروتون','بريليانس','بورش','بي إم دبليو','بيجو','تويوتا','جاجوار','جريت وول','جيب','جيلي','دايهاتسو','دودج','رينو','سانج يونج','سيتروين','سكودا','سوبارو','سوزوكي','سيات','شنجان','شيري','شيفروليه','فورد','فولفو','فولكس فاجن','فيات','كرايسلر','كيا','لادا','لاند روفر','مازدا','ميتسوبيشي','مرسيدس','ميني','نيسان','هوندا','هيونداي') NOT NULL COMMENT 'الماركة',
      model varchar(255) NOT NULL COMMENT 'الموديل',
      engine_capacity int(255) NOT NULL COMMENT '(سعة المحرك (سي سي',
      manufacturing_year year(4) NOT NULL COMMENT 'سنة الصنع',
      odometer int(11) NOT NULL COMMENT 'عداد المسافة',
      description text COMMENT 'الوصف',
      telephone varchar(255) NOT NULL COMMENT 'تليفون',
      province varchar(255) NOT NULL COMMENT 'المحافظة',
      other_specifications set('تكييف','زجاج كهربائي','فتحة سقف','نظام فرامل ABS','سنتر لوك','إنذار','مثبت سرعة','توزيع الكتروني للفرامل EBD','باور','وسائد هوائية','راديو كاسيت') DEFAULT NULL COMMENT 'مواصفات أخرى',
      notes text COMMENT 'ملاحظات',
      PRIMARY KEY (ID)
    ) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8

    Thank you,

    Thread Starter omarheneidy

    (@omarheneidy)

    Thank you very much it this worked for me, just another question isn’t there anyway to translate the Columns names into Arabic?

    Plugin Author ka2

    (@ka2)

    Ummm, unfortunately there may be currently no workaround.

    I’ll try a little more thought.

    Plugin Author ka2

    (@ka2)

    Hi,
    I’m very sorry, this trouble didn’t in by Arabic column name.

    Because there had contained a single-byte space in the column name of “set” type.

    “مواصفات أخرى” is wrong.

    “مواصفات_أخرى” is OK.

    Please try to modify the column name of the “set” type without single-byte spaces.

    Thank you,

    Plugin Author ka2

    (@ka2)

    Hi,

    I’m going to be corresponding to the column name that contains a space at the next version.
    Please wait a while until this plugin is released the next version.

    Thank you,

    Thread Starter omarheneidy

    (@omarheneidy)

    Thank You Very Much!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Data not displayed’ is closed to new replies.