Advertisement:

Author Topic: White screen on a certain topic ID  (Read 1668 times)

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 279
White screen on a certain topic ID
« on: April 20, 2014, 02:14:36 PM »
This happened before but I though it was a random error and I don't gound any on the error log which I think is related to this.

First it happened in a more than 20 pages topic and if you click on the last page its only white screen so no one can reply on that topic so what i did was to split the last reply by selecting a specific reply then split including all after that reply then delete that newly splitted topic on the list view.

But today some members reported 2 topics that I experienced a white screen.

I thought it is not related to the white screen on admin page because I already changed the memory on that.

Offline 99 Cents

  • Semi-Newbie
  • *
  • Posts: 18
Re: White screen on a certain topic ID
« Reply #1 on: April 20, 2014, 02:41:14 PM »
When you clicked on the admin page maybe that was why it happened!

Doesn't work for all boards. If you changed the setting in your ACP then switch it back.

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: White screen on a certain topic ID
« Reply #2 on: April 20, 2014, 02:53:02 PM »
It is related to that, parse_bbc and 2.0.7, unfortunately 

You can only increase available memory in php.ini, unfortunately...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 279
Re: White screen on a certain topic ID
« Reply #3 on: April 20, 2014, 03:11:49 PM »
Thanks for the reply
When you clicked on the admin page maybe that was why it happened!

Doesn't work for all boards. If you changed the setting in your ACP then switch it back.
Im not sure because it is random, I only knew because someone reported me. what is ACP pardon me Im not xpert on this.
It is related to that, parse_bbc and 2.0.7, unfortunately 

You can only increase available memory in php.ini, unfortunately...
Do you mean this is related to the white screen on admin page? do you suggest that I should change the available memory in php.ini? if that's the case can you point me to where and how can I do that. I guess php.ini is not viewable on filezilla.

thanks

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: White screen on a certain topic ID
« Reply #4 on: April 20, 2014, 04:02:15 PM »
It isn't... If you're in a shared host, you have no way to change it...

I was testing it locally and *maybe* this works for you...

Sources/Display.php, find
Code: [Select]
// Run BBC interpreter on the message.
$message['body'] = parse_bbc($message['body'], $message['smileys_enabled'], $message['id_msg']);
Add BEFORE
Code: [Select]
@ini_set('memory_limit', '128M');If your host allows the ini_set instruction, this should overcome your memory issue. You might even try to increase that 128M to a bigger value if you still have problems.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 279
Re: White screen on a certain topic ID
« Reply #5 on: April 20, 2014, 04:08:14 PM »
thanks for the code.

Is this supposed to open the topic that has a white screen before or this will solve only future issues?

Im not on shared host

edit: yeah that solves the problem

thanks a lot you're awesome

Offline margarett

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,761
  • Gender: Male
Re: White screen on a certain topic ID
« Reply #6 on: April 20, 2014, 04:21:38 PM »
;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

Quote
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair