Okay
  Public Ticket #3302525
Shortcode not working
Closed

Comments

  • Damilola Olorunsesan started the conversation

    I change the domain of my wordpress site, and now the shortcode is not working. 

  • Eduard Gestano replied

    same thing happens to my website, all of a sudden the shortcodes stop working. Still trying to find an answer how to fix it

  • Damilola Olorunsesan replied

    I really need a fix to this ASAP. 

  •  1,686
    Miloš replied

    Hi, Damilola  and Eduard.

    When you changed the domain, the path to the files for the source data of tables most likely changed, and it is also possible that you changed your Database Table Prefix.

    In order to check what is the current/new path of the tables,

    first you can create a new table linked to an Excel or CSV file, and it should generate just fine. 

    Once you do that, access your database, and open wp_wpdatatables database table.

    In the "content" column, you will see the path related to the new table. 

    So, if the new file is stored in (for example):

    /var/www/html/your-NEW-site/wp-content/uploads/2021/02/file-one.xls

    And your old files are in:

    /var/www/html/your-OLD-site/wp-content/uploads/2021/02/file-two.xls

    You need to modify the content column for each row, and replace the path.

    To do that, you can run this SQL command in your Database ( via PHPMyAdmin):

    UPDATE `wp_wpdatatables` SET content=REPLACE(content,'this_part','that_part')
    

    Please bear in mind that wp_ is the default table prefix of WordPress,

     but on your new site it could be anything, so check what is your DB table prefix,

    then you should run `your_prefix_wpdatatables` and actually replace the part of the path in "this_part" and "that_part" sections.

    -

    That replaces the prefix in the "Content" column. And this:

    UPDATE `xyz_wpdatatables` SET mysql_table_name=REPLACE(mysql_table_name,'wp_','xyz_');

    That replaces the prefix in the "mysql_table_name" column. 

    Once you do this, you should be able to simply load all your manual tables without issues.

    -

    If you're unsure how to do this, I can do it for you if you can provide me with a temporary wp-admin user (administrator), 

    and database (phpMyAdmin) access credentials.

    If you send us access, please make sure to check PRIVATE reply - for safety reasons, so that only we can see it.

    @Eduard, same goes for your case, please try these steps as explained above;

    if you are not able to do it, we can do it for you, but you will need to make a ticket, because we need to send PRIVATE replies to get access to your data.

    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • Damilola Olorunsesan replied

    Hi, this solution is not working. 
    The issue is that the short code is not displaying at all. 
    If I change the domain name back it still won't work. 
    Is it possible to get on a zoom call? 

  •  1,686
    Miloš replied

    Hi, Damilola.

    Our apologies for the waiting time.

    Sorry, but we are not able to provide Live calls or conference/meetings during our Support.

    We can just use the ticketing system, but we raised the priority on this issue, so we will do our best to be quick going forward.

    My apology, at first i misunderstood the issue, thank you for clarifying.

    I am not able to visit the related page, it it blocking my Access with error 403/forbidden.

    9884947034.png

    Can you please provide me with an URL where you have a table shortcode,

    and if you can provide me with Admin credentials?

    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

    -

    @Eduard  , we are not able to reproduce anything like this on our Test sites;

    we are able to migrate our sites to different Test Domains and we can see the shortcodes;

    We also do not have any other users reporting this, for the moment it is just Damilola and you.

    Can you please make a new private ticket and send me URL where you are trying to use our plugin shortcode,

    and send me Administrator credentials;  

     or you can open a Public ticket if you wish, just make sure to mark the reply with confidential data as PRIVATE, so that only we can see it.

    Thank you.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables