Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter drix93

    (@drix93)

    I found a fix already, fairly simple and sad to be honest.

    In the URL where WPML adds – “?lang=fr” for example:
    https://wordpress.org/support/topic/dk-pdf-and-wpml/?lang=fr

    The DK-PDF plugin will also put its own addition to the URL like this:
    https://wordpress.org/support/topic/dk-pdf-and-wpml/?lang=fr?pdf=2844

    To fix the issue I had, I just needed to change the “?” to an “&” and it was fine after that. So the new URL would be:
    https://wordpress.org/support/topic/dk-pdf-and-wpml/?lang=fr&pdf=2844

    It’s hard for me to tell you where you’d find the file since am using a custom-made plugin but the code was located on the single-product page within a button:
    <a class="product-button" href="' . get_permalink() . '?pdf' . $post->ID . '" target="_blank"><span class="button-inside">Create Spec Sheet<i class="fa fa-file-pdf-o"></i></span></a>

    I added an IF statement which would change the “?” to “&” if the site was in the French version.

    • This reply was modified 8 years ago by drix93.
    • This reply was modified 8 years ago by drix93.
    • This reply was modified 8 years ago by drix93.
    • This reply was modified 8 years ago by drix93.

    Okay that worked, @neverending it should be fine. The only thing that I you will probably be missing is any custom css or custom functions you may have placed in the theme. Also any other modification directly to the theme itself.

    Not sure how to resolve this as I tried creating dummy folders/files in place of the ones it said was missing but got more errors after. Still researching to see if I can find anything.

    Hi I’m having the same issue since yesterday morning. Please see error below and the website URL is: islandgemsjewelry.com

    Warning: include(/home1/iggadmin/public_html/wp-content/themes/i-max/inc/tnext-meta.php): failed to open stream: No such file or directory in /home1/iggadmin/public_html/wp-content/themes/i-max/functions.php on line 626

    Warning: include(): Failed opening ‘/home1/iggadmin/public_html/wp-content/themes/i-max/inc/tnext-meta.php’ for inclusion (include_path=’.:/opt/php54/lib/php’) in /home1/iggadmin/public_html/wp-content/themes/i-max/functions.php on line 626

    Warning: require_once(/home1/iggadmin/public_html/wp-content/themes/i-max/inc/meta-box/meta-box.php): failed to open stream: No such file or directory in /home1/iggadmin/public_html/wp-content/themes/i-max/functions.php on line 627

    Fatal error: require_once(): Failed opening required ‘/home1/iggadmin/public_html/wp-content/themes/i-max/inc/meta-box/meta-box.php’ (include_path=’.:/opt/php54/lib/php’) in /home1/iggadmin/public_html/wp-content/themes/i-max/functions.php on line 627

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