[Resolved] [Plugin: WP-Table Reloaded] Created table, inserted shortcode, but nothing happens.
I must be doing something obviously wrong. Here is a video of what I’m doing so you can see:
thanks for your report, and for the screencast, which nicely shows the problem! Very cool way 🙂
From what I can see, you did everything correct, and it is odd that the table is not showing – and actually that nothing is showing at the location where the table should be. Because WP-Table should actually (at least) show a message, if it encounters a problem while trying to render the table. However, in your case, the Shortcode completely vanishes…
Now, I saw that you are using a caching plugin. Is it maybe possible that the caching plugin had already cached the previewed page? It probably does not, but it might be worth checking.
And actually, what happens when you publish the page? Does that also not work? (If you don’t want to publish that exact page, you could also try with a private page, that no one else should then see.)
Also, this might be an issue in your theme, so that for some reason Shortcodes are not processed as intended. Can you maybe temporarily switch to the WordPress Default Theme (TwentyEleven) to see if the table is visible there?
I’m having the same issue as the original poster. When I preview the table, it shows all my data in a beautiful table! And yet when I put the shortcode on my page and save it, I get nothing. Also, I have a few short sentences of introduction above the shortcode, and those also disappear when I save the page with the shortcode (see below).
I have confirmed that the theme I am using DOES support shortcodes. Also, like the first poster, I’m not getting any error codes on my page – it’s just blank.
Here’s my info:
· WP-Table Reloaded (DB): 1.9.3
· WP-Table Reloaded (Script): 1.9.3
· Plugin installed: 2012/01/28 16:26:30
· WordPress: 3.3.1
· PHP: 5.2.17
· mySQL (Server): 5.1.60-community-log
· mySQL (Client): 5.1.59
thanks for your report.
Yes, your theme does support Shortcodes just fine (I’m actually planning to use it on my new website as well 🙂 ).
Now, I think the reason for your problems is different to that of the original poster. I don’t know what it is though – yet.
One symptom I can see, is that the generation of the HTML of the page just stops (before any content is printed). You can see that when viewing the page source. This usually happens when a PHP error was raised. To find out what that error is, I need to ask you to make a (temporary) small change in your wp-config.php file on your server:
Somewhere towards the end, you should see a line like
Please edit this line and change “false” to “true”.
After making this change, the page you linked to should not just stop printing the code, but show an error message. That should tell us more about the reason for the problem.
This is the error I got:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in
/wp-content/plugins/wp-table-reloaded/classes/render.class.php on line 287
Looks like my table is too big (it is 439 rows, 4 columns, text only).
Well, I went in and shortened the table to 409 rows – that’s as low as I can go, really. And still nothing.
ah, ok. That’s what I thought.
It’s not really that your table is too big, it’s more that WordPress and all installed plugins are already taking up so much memory that rendering the table “pushes you over the limit”. The same could have happened after installing another plugin for example, or when uploading an image.
It should however be easy to fix this:
Please add this line to your wp-config.php (right before the
WP_DEBUGline that you just edited is a good place):
That will double the current limit from 32 megabytes to 64 megabytes, which should suffice for a while. After that, the table should be displayed just fine.
And you can now revert
WP_DEBUGto “false” again.
WOOT! That did it! YAY! Thanks for the prompty turnaround, Tobias! Sending a few bucks to you via paypal in thanks. =)
very cool! 🙂 Good to hear that it works now!
And thank you very much for the donation, it is much appreciated!
I’m glad jaynee got sorted out. I also did, it seems the shortcode was a duplicate of the theme’s.
Thanks for your help!
thanks for contacting the theme author!
That definitely explains it! And I would never have found this… So, it’s really great that he was able to help 🙂
Hi, first of all I really like your plug-in, the plug-in is pretty straight forward.
The table page looks pretty fine while editing, but when opening directly on my browser online calling the page where the problem resides;
( http://www.pedivelabikes.com.br/site )
I get an error message with:
“The page at pedivelabikes.com.br says:
DataTables warning (table id = ‘wp-table-reloaded-id-1-no-1’): Requested unknown parameter ‘1’ from the data source for row 1″
My idea is to call this table from a regular page (not wordpress), but in that case, the link to that page is simply ignored.
Thanks in advance.
thanks for your question.
I’m not sure what you are describing in your idea, in the last paragraph. Can you explain that in detail again? (Or is this related to the problem with the error message?)
- The topic ‘[Resolved] [Plugin: WP-Table Reloaded] Created table, inserted shortcode, but nothing happens.’ is closed to new replies.