I think things must have changed since this solution was posted, because when I try to call the single_sidebox.php from an otherwise blank php file in the root directory of my site, I get these errors:
Warning: Cannot modify header information - headers already sent by (output started at /home/liskidde/public_html/dichroicjewelry/test.php:9) in /home/liskidde/public_html/dichroicjewelry/glass/includes/application_top.php on line 62
Warning: Cannot modify header information - headers already sent by (output started at /home/liskidde/public_html/dichroicjewelry/test.php:9) in /home/liskidde/public_html/dichroicjewelry/glass/includes/application_top.php on line 67
Warning: include(DIR_WS_INCLUDESauto_loaders/config.core.php) [function.include]: failed to open stream: No such file or directory in /home/liskidde/public_html/dichroicjewelry/glass/includes/application_top.php on line 90
Warning: include() [function.include]: Failed opening 'DIR_WS_INCLUDESauto_loaders/config.core.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/liskidde/public_html/dichroicjewelry/glass/includes/application_top.php on line 90
Warning: dir(DIR_WS_INCLUDESauto_loaders) [function.dir]: failed to open dir: No such file or directory in /home/liskidde/public_html/dichroicjewelry/glass/includes/application_top.php on line 91
Warning: Cannot modify header information - headers already sent by (output started at /home/liskidde/public_html/dichroicjewelry/test.php:9) in /home/liskidde/public_html/dichroicjewelry/glass/includes/application_top.php on line 112
Can someone help me adapt the code provided in this thread? I'd like to put my featured products in the sidebar of my blog, which is in the root directory of my site.
Blog: http://dichroicjewelry.net
Store: http://dichroicjewelry.net/glass