• Resolved ynpmoose

    (@ynpmoose)


    I host my WordPress site on a Synology NAS. I upgraded the firmware/OS to DSM 7 and it reconfigured web server settings, moving files to a new folder. I mention this in case it’s related.
    Now, if I use the Code Manager publication styles, I get the following error on my pages:

    Parse error: syntax error, unexpected end of file in /volume1/web_packages/wordpress/wp-content/plugins/code-manager/Code_Manager/Code_Manager.php(175) : eval()’d code on line 20

    I reinstalled Code Manager and reimported the styles, without success. For now, I’ve just disabled Code Execution. The WP Data Access pages are functional, I just can’t stylize them.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Hi @ynpmoose,

    Which code block is giving errors? Does the code block have the correct code type? Can you share the code? Please use the contact form on the plugin website if you prefer to share this information in private.

    Thanks,
    Peter

    Thread Starter ynpmoose

    (@ynpmoose)

    My simplest page just has 4 Shortcode blocks, 1 publication and 3 to format it. The formatting code snippets were a straight import of the SQL download from the Code Manager site without any modification. If I disable Code Manager Code Execution, the first shortcode block loads fine.

    Shortcode
    [wpdataaccess pub_id=”6″]
    Shortcode
    [cmruncode name=”WP-Data-Access-Data-Publisher-Display-Narrow”]
    Shortcode
    [cmruncode name=”WP-Data-Access-Data-Publisher-Rounded-Corners-Small”]
    Shortcode
    [cmruncode name=”WP-Data-Access-Data-Publisher-Color-Black”]

    Thanks

    Thread Starter ynpmoose

    (@ynpmoose)

    I also isolated by enabling only one formatting block at a time. All 3 error, but the line number changes.

    With only WP-Data-Access-Data-Publisher-Display-Narrow enabled:

    Parse error: syntax error, unexpected end of file in /volume1/web_packages/wordpress/wp-content/plugins/code-manager/Code_Manager/Code_Manager.php(175) : eval()’d code on line 20

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    Sorry @ynpmoose,

    It is not clear to me why this code works with the premium version and gives an error with the free version. But I changed the code to make it work with both. I patched the current version. Can you please install the patch and let me know if this fixed the issue?

    Please follow the steps as described on this page:
    https://code-manager.com/blog/docs/index/getting-started/patches/

    Thanks,
    Peter

    Thread Starter ynpmoose

    (@ynpmoose)

    That fixed it! Thank you very much!

    Plugin Author Passionate Programmer Peter

    (@peterschulznl)

    You’re welcome! ??

    Thank you very much for reporting! ??
    Peter

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems after upgrade’ is closed to new replies.