Welcome to Geeklog, Anonymous Wednesday, May 15 2024 @ 01:57 pm EDT

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 EDT. The time is now 01:57 pm.

  • 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