WordPress.org

Ready to get started?Download WordPress

Forums

WPF-jqGrid
[resolved] No Data Display (6 posts)

  1. michael walker
    Member
    Posted 1 year ago #

    Thanks for the plug-in - just what I was looking for. I tried the phpGrid plug-in but the lack of documentation or support was a bit disappointing. I'm having the same problem as a previous poster, in that I've installed the plug-in, set it up according to the instructions and am using the pre-supplied shortcode/table as a test. I can see the grid displayed, with field headings shown. I noticed that although the table exists in my db, it has no records. So, I added my wp_users table to the allowed list - this has over 500 records - and adjusted the shortcode accordingly. However, I still see no data in the grid. The field names are showing up, so the plug-in is clearly accessing the database. The only thing I noticed - and this probably isn't relevant - is that the table you provide is 'wpf - xxx@ whereas the plug-in is actually called 'wp_f xxxx' - notice the difference where the hyphen is. I can't see why that would matter, but thought I'd mention it. I also tried adding a row, but with no success. (i.e. clicked the 'add row' button - nothing happened)

    Again, thanks for what looks like the start of a really great plug-in.

    https://wordpress.org/plugins/wp-fjqgrid/

  2. faina09
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for the delay answering, I do not know why but I am not notified of new support requests!!

    The problem is surely in the jscript generated, because as you correctly pointed if the header are displayed the table is correctly accessed, and the shortcode is right.
    Please send to me the source code or inspect it with firebug or a similar code and let me know!

  3. michael walker
    Member
    Posted 1 year ago #

    Thank you for your reply. I think I may have found something: My WordPress installation is not in the root folder of my site, instead it is in a sub-folder. And I find this message in the code: `http://www.mysite.org.uk/wp-admin/admin-ajax.php?action=ajax-wpfjqg&nonce=da6ccea110&table=wp_users&_search=false&nd=1393333765180&rows=10&page=1&sidx=1&sord=asc

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>404 Not Found</title>
    </head><body>
    <h1>Not Found</h1>
    <p>The requested URL /wp-admin/admin-ajax.php was not found on this server.</p>
    <hr>
    <address>Apache/2.2.3 (CentOS) Server at http://www.cantabsrowing.org.uk Port 80</address>
    </body></html>`

    This looks as though the script is looking for 'admin-ajax.php' in a folder which - on my particular set-up - does not exist. The 'requested URL' shown above should actually read: /wordpress/wp-admin/admin-ajax.php -that is the path to this file on my server. Does that help at all?

  4. faina09
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, his is a BIG help and means there is a weakness in my code. I'll fix it this evening, stay tuned!! Thanks for the debug and sorry for the issue

  5. faina09
    Member
    Plugin Author

    Posted 1 year ago #

    Version 0.09 released, hope this fix your issue.

  6. michael walker
    Member
    Posted 1 year ago #

    Thank you - I've installed the update and my data is now visible. Again - many thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.