• Resolved shaikh441

    (@shaikh441)


    Hi,
    I currently have php inserted into a page using the correct tags on this plugin. However, anything underneath the section which runs the php code has stopped displaying content..images and blog posts mainly. Anything before this section is fine. Is there some conflict with the php scripts wordpress is trying to run to display content?

    Any reasons or solutions for this?

    Thanks in advance!

    Regards

    https://www.ads-software.com/plugins/insert-php/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WillBontrager

    (@willbontrager)

    Yes, there is a reason for it or else it wouldn’t happen. But I’m unable to say what the reason is. It might be an error in your PHP code (check your error logs) or an unclosed HTML tag or any of a number of other things. Whether or not there is some conflict with the php scripts wordpress is trying to run, I have no way of determining with the information at hand.

    Suggest verifying your PHP code runs without errors (try putting it on a web page by itself, independent of WordPress). If no joy, view the generated source code of your WordPress post or page to see what you can see. Something might become obvious.

    Will

    Thread Starter shaikh441

    (@shaikh441)

    Thanks for your response.
    I checked the logs and found that the page was trying to pull the wordpress info (wp_posts etc) from the new database I had created for my php code and obviously not finding the tables needed. I have now moved my table into the original wordpress db with the relevant name and the issue is now fixed.

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php conflict’ is closed to new replies.