Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 05:34 am EST

Geeklog Forums

lib-custom/Blocks Problem


cdriscoll

Anonymous
Hello. I am having some troubles installing a couple blocks on my site. The specific blocks are weather and stocks. After I add the code to lib-custom and I use the block admin to add the block in and hit save, the entire screen gets replaced with the php code from the files in the directories (stocks and weather) located in the public_html directory. I have the mycal block working as well as the news block, so I am not sure why these two will not work. I have GL installed on a RedHat 8.0 box running Apache 2.0 and php v. 4.2.2. Is that where my problem lies? Any suggestions are greatly appreciated.
 Quote

cdriscoll

Anonymous
I answered my own problem. There is a variable in php.ini called short_open_tag, which was set to "off". I changed it to "On" and it fixed my problems.
 Quote

All times are EST. The time is now 05:34 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content