• Resolved goprop

    (@goprop)


    Hi,
    I am unable to get the plugin to work.
    Can anybody please help.
    Changes to tables not saved.
    Table created, but data or image not saved and not visible on page.
    If I save the table with info entered, then re-open to edit, all info missing
    Folder permissions 755
    Have tried with Php 5.6, doesn’t work. Currently on Php 7.3.5 doesn’t work
    Have Autoptimize installed, clear cache, no change.
    When testing this is what shows on screen:

    
    <em><strong>"This is a preview of your table. Because of CSS styling in your theme, the table might look different on your page! The features of the DataTables JavaScript library are also not available or visible in this preview!
    To insert the table into a page, post, or text widget, copy the Shortcode and paste it into the editor."</strong></em>
    Table is blank even when publishing the page.
    · Website: https://go-property.co.za
    · TablePress: 1.9.2
    · TablePress (DB): 38
    · TablePress table scheme: 3
    · Plugin installed: 2019/05/17 15:04:58
    · WordPress: 5.2
    · Multisite: no
    · PHP: 7.3.5
    · mysqli Extension: true
    · mySQL (Server): 5.7.23
    · mySQL (Client): mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
    · ZIP support: yes
    · UTF-8 conversion: yes
    · WP Memory Limit: 256M
    · Server Memory Limit: 256M
    · Magic Quotes: off
    · WP_DEBUG: false
    · WP_POST_REVISIONS: true
    

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    This is the message that you are getting when clicking the “Preview” link. What’s happening when you click the “Save Changes” button on the table’s “Edit” screen?

    Regards,
    Tobias

    Thread Starter goprop

    (@goprop)

    Hi Tobias,
    Thanks for your prompt reply.
    And no trouble, any bugs come up, I am sure you can fix.
    Anything you fix makes for a better product.
    When I save changes, nothing happens.
    I Save Changes, exit and open the table again, the table is there, but blank.
    All cells empty
    None of the options on the table manipulation work.
    I am using latest Firefox browser.
    regards,
    Bruce

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Bruce,

    ok, if nothing happens when you click that button, I assume some JavaScript error. Can you therefore please try again after temporarily deactivating all other plugins and after switching to a WordPress default theme like Twenty Sixteen? That way, we can find what’s causing this.

    Regards,
    Tobias

    Thread Starter goprop

    (@goprop)

    Hi Tobias,
    Deactivated every single plugin, tried twenty sixteen and twenty nineteen themes.
    Tried changing browser to chrome.
    Tried different php versions
    It just won’t save the table content.
    Can it be in the .htaccess?
    See below. This is a recommended secure .htaccess

    [ 455 lines deleted ]

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @goprop That many lines does not work in these forums. If you need to share that please use a service such as pastebin.com and share the link to that paste.

    Thread Starter goprop

    (@goprop)

    Sorry Jan,
    My ignorance is greater than my stupidity
    This is a recommended .htaccess file I am using
    https://pastebin.com/pHuvGwRF
    is there a problem here?
    Regards,
    Bruce

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Bruce,

    no, I highly doubt that this has anything to do with the .htaccess file. Instead, it’s likely a JavaScript problem, as you say that nothing at all is happening when you click “Save Changes”. Can you therefore please check the JavaScript error log console in your browser, to see if there are any JS errors reported?

    Regards,
    Tobias

    Thread Starter goprop

    (@goprop)

    Hi Tobias,
    This is what i get on Console when I hit SAVE CHANGES
    https://pastebin.com/iMmHCFdK
    I know less than nothing about java, so does not help me at all.
    Can you decipher?
    regards,
    Bruce

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Bruce,

    thanks for that! It seems that some JavaScript files are not loaded here, which is why a “onboarding.js” file causes an error. Can you please find out the full path of that file, so that we know what it belongs to?

    Regards,
    Tobias

    Thread Starter goprop

    (@goprop)

    Hi Tobias,
    thanks for all the trouble.
    Problem is now (almost) solved
    Running the console identified that the image, which is the trigger to save the table, is not found ALTHOUGH WE CAN SEE IT
    I have had similar 404 errors on other plugins, assuming they just did not work, so simply kept trying new plugins.
    The actual problem is the .htaccess file, which has a lot of “deny all” applications as a security feature, however it appears to also partially deny admin access to images.
    My site is SSL, but kept getting “images not secure” message when loading pages, hence installation of the super secure (and fast) .htaccess file that I am using.
    Anybody want to use it, see the paste on earlier post. But be aware of this problem.
    I can not see any images in the image gallery, but when I want to insert an image into a post, I can upload and see other images in the gallery.
    Reverting to the original, insecure, slow WP .htaccess file has everything working again.
    Now I just have to find which of the 456 odd lines in the .htaccess file is giving the problem and change that, so that i can secure the site again.
    Best regards, and thanks for all the help
    Bruce

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    I’m not sure what you mean with “the image, which is the trigger to save the table”, but with that description it indeed seems reasonable that your custom .htaccess file is responsible for the problems here.

    Regards,
    Tobias

    Thread Starter goprop

    (@goprop)

    Hi, Tobias,
    What I mean is that by clicking on the image that the user sees, it sets in motion the script that saves the data. If the script can’t find the image, 404 error, script stops running.
    Got it pinned down.
    Line 256 on the custom .htaccess reads “RewriteRule . – [F,L]”
    I commented/deleted this line, now everything is working.
    Image library works, your plugin works, other plugins that weren’t working, work.
    The .htaccess works really well, got 99% GTmetrix score on this site, and I don’t get SSL “Images not secure Error”
    I don’t know how safe it is from hackers, time will tell.
    Thanks again for all the help, I hope others are able to use this to assist them with their problems.
    Best regards,
    Bruce

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

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

The topic ‘Cannot save table content’ is closed to new replies.