I want to display recent posts from my blog on the right column of the Opencart but I don’t want to have allow_url_include = On inside php.ini. I have Warning: require_once() ... error
catalog/view/theme/aightshop/template/common/column_right.tplRemove following code line:
<?php require_once 'http://www.diaboliquedesign.com/demo/11/wp-comments.php'; ?>Replace:
<?php require_once 'http://www.diaboliquedesign.com/demo/11/wp-posts.php'; ?>
<?php require_once 'wp-posts.php'; ?>
wp-posts.php file must be in main folder of your Opencart installation.
Now go to System -> Settings -> Edit -> Server -> and make Display Errors: No and Log Errors:No