Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:56 am EST

Geeklog Forums

Small Problem with Gallery Random Photo Block v1.2


Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
confused
Hi

I have installed Gallery Random Photo Block v1.2 and it appears to work fine, with the random image appearing at the side block.
However, an error message will always display. Its contents are
"
Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/geeklog/public_html/lib-common.php(914) : eval()'d code:9) in /home/domain/public_html/gallery/util.php on line 1937
"
Any idea?
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
Quote by belgarathc:Any idea?


Comment those lines out. Here's what my util.php looks like:
Text Formatted Code

        // Set Charset
        // Only when we're not in nuke, because headers might be sent already.
//      if (! isset($GALLERY_EMBEDDED_INSIDE)) {
//              header('Content-Type: text/html; charset=' . $gallery->charset);
//      }


 

I am having a different problem with my random block. When the block scans and creates the block-random.cache, for whatever reason it sometimes does not write it properly or "something". Half my page (the center and right blocks) are not drawn and I have to manually delete that file or use a copy of the block-random.cache that I've saved when it did work. Curious if anybody has ever seen this/knows a fix?
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

Status: offline

belgarathc

Forum User
Newbie
Registered: 06/22/03
Posts: 9
it worked! thanks!
regarding your problem, hopefully someone here will be able to answer.
i am still new to geeklog and stuffs Oops!
 Quote

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
Futher to my previous problem, would anybody know how to make the Gallery Random Block not lookup certain folders (other than changing the permissions) ?

-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams
 Quote

All times are EST. The time is now 10:56 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