collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 482
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Shoutbox block erro  (Read 9877 times)

0 Members and 1 Guest are viewing this topic.

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Shoutbox block erro
« on: September 26, 2009, 03:28:53 AM »
I have a problem with the Shoutbox of the forum, where the block of Shoutbox this active ele forum will not be loading and leaves this msg error:

Code: [Select]
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/virtual/xpzone.net/htdocs/Sources/Subs.php on line 1870

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #1 on: September 26, 2009, 04:24:37 AM »
What is your 'Shouts to display' option set to? If its trying to display 2000 shouts, then that may be the problem.

Are you certain that the shoutbox is the problem? Enable the 'Display time taken to create every page' setting in your Admin panel under 'Features and Options' -> '    Layout and Options'. How long does the portal take to load without the shoutbox.

What was posted in the shoutbox? Does it work if you post the same thing in a normal SMF post?
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #2 on: September 26, 2009, 06:57:49 AM »
Display a 10 shouts.

in SP 2.3 / smf 1.1.10...

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #3 on: September 29, 2009, 03:09:43 AM »
No one knows this because the Shoutbox block has error?   :'(

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #4 on: September 29, 2009, 04:35:42 AM »
Could you answer my other questions? The more information you can provide about the issue the easier (and hopefully) the quickier it will be to resolve.

Are you certain that the shoutbox is the problem? Enable the 'Display time taken to create every page' setting in your Admin panel under 'Features and Options' -> 'Layout and Options'. How long does the portal take to load without the shoutbox?

What was posted in the shoutbox? Does it work if you post the same thing in a normal SMF post?
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #5 on: September 30, 2009, 03:39:54 AM »
Com the shoutbox the portal will not burden and then exit 500 error, but without shoutbox the portal burden in seconds.

In the shoutbox this the standard configuration.

And the rarity is q works normal asta x time and then blocks the smf

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #6 on: September 30, 2009, 04:26:07 AM »
What mods do you have that add BBC to your forum?

Edit: Moved to the English support area, this does not look like a bug. Most likely an issue with your mods or server config.
« Last Edit: September 30, 2009, 05:34:16 AM by Nathaniel »
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #7 on: September 30, 2009, 11:37:22 AM »
my mod:

1.     Attachment Icon File      1.0      
2.    SimplePortal    2.3    
3.    Full Top 10 Stats    1.0    
4.    MCLegendII.2    3.0    
5.    VisualWarning    1.43    
6.    Post Prefix    1.1    
7.    Aeva ~ Auto-Embed Video & Audio    6.9.101    
8.    Social Bookmarks    2.0    
9.    Thank-O-Matic    1.2.5    
10.    Twitter Field    1.0    
11.    Users Online Today Mod    1.4.0    
12.    Active Members In Topic    1.8    
13.    AJAX Instant Quick Reply    1.0.2    
14.    Pretty URLs    0.9.3    
15.    Registered Links    1.0    
16.    SMF Sitemap    1.2.2    
17.    Twitter mod    1.1    
18.    Ultimate Profile    0.9    
19.    Member Color Link

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #8 on: September 30, 2009, 08:30:15 PM »
Try this edit to your 'sources/Subs-Portal.php' file. It disables the Aeva mod for the shoutbox.

Code: ("Find") [Select]
$online_color = !empty($row['member_group_color']) ? $row['member_group_color'] : $row['post_group_color'];
Code: ("Replace") [Select]
// Disable the aeva mod for the shoutbox.
$context['aeva_disable'] = true;
$online_color = !empty($row['member_group_color']) ? $row['member_group_color'] : $row['post_group_color'];
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #9 on: October 01, 2009, 03:28:59 AM »
I switched and now get this error:

Code: [Select]
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/virtual/xpzone.net/htdocs/Sources/Subs.php on line 1881
« Last Edit: October 01, 2009, 03:31:29 AM by Alyen »

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #10 on: October 14, 2009, 01:37:13 AM »
Sorry about the wait on this issue.

Perform the edit below, if it stops the problem, then we'll know that there is something going wrong with the parse_bbc function. Its just a temporary check, it will stop the shouts from being parsed as bbc.

Code: ("Find(sources/PortalShoutbox.php)") [Select]
'text' => parse_bbc($row['body'], true, '', $bbc),
Code: ("Replace") [Select]
'text' => $row['body'],
Also, could you please attach your Subs.php file?
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #11 on: October 14, 2009, 03:48:25 AM »

Code: ("Find(sources/PortalShoutbox.php)") [Select]
'text' => parse_bbc($row['body'], true, '', $bbc),
Code: ("Replace") [Select]
'text' => $row['body'],

I do not have this line in my PortalShoutbox.php


Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #12 on: October 14, 2009, 04:42:57 AM »
Whoops, sorry, that code is in the Subs-Portal.php file.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Novi

  • Newbie
  • Posts: 2
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Shoutbox block erro
« Reply #13 on: October 19, 2009, 07:53:46 AM »
Hey there.

I actually had this same exact problem.  The shoutbox ended up taking my server down (10 httpd threads, all using 9-10% cpu).  I had to restart apache, and edit the settings file to put it in maint mode.

The error we were getting was in Subs.php.

Code: [Select]
PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /public_html/Sources/Subs.php on line 1881
The line in question:

Code: [Select]
$message = substr($message, 0, $last_pos) . $data . substr($message, $pos + 1);
List of mods installed:

Code: [Select]
Pretty URLs 1.0RC
Global Headers Footers 1.4.1
DonationCoder.com SMF Search Enhancement Mod 1.8.2
Aeva ~ Auto-Embed Video & Audio 7.0
AutoKeywords 1.1
SimplePortal 2.3.1

The error seemed to happen after I tried posting an email address in the shoutbox (example@example.com).  At the time. SP 2.3 was installed.  I installed 2.3.1 in the hopes that it would fix it, but no such luck.

Any advice would be greatly appreciated.  I really love your guys' software!

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #14 on: October 20, 2009, 03:39:17 AM »
Forgive the delay in reply, my problem is solved, with the change in the file Subs-Portal.php no longer leaves no error.

Thanks Nathaniel by the aid !

Offline Nathaniel

  • Comrade
  • *
  • Posts: 5203
  • Gender: Male
    • Verbtest.com
  • SMF Version: 2 RC4
  • SP Version: 2.3.3
Re: Shoutbox block erro
« Reply #15 on: October 20, 2009, 04:24:18 AM »
Forgive the delay in reply, my problem is solved, with the change in the file Subs-Portal.php no longer leaves no error.

Thanks Nathaniel by the aid !

That edit just confirms where the issue is, it doesn't actually solve the problem. ;) Your shouts will no longer be parse for bbc, which is undesirable. Undoing the edit will make them be parsed again.

Can you try uninstalling the AEVA mod temporarily? That is the only common link between the user who have had issues. So that could be the problem.
SMF Friend (Former Support Specialist) | SimplePortal DeveloperMy SMF Mods | SimplePortal"Quis custodiet ipsos custodes?" - Who will Guard the Guards?Please don't send me ANY support related PMs. I will just delete them.

Offline Novi

  • Newbie
  • Posts: 2
  • SMF Version: 1.1.10
  • SP Version: 2.3
Re: Shoutbox block erro
« Reply #16 on: November 02, 2009, 06:29:54 AM »
Forgive the delay in reply, my problem is solved, with the change in the file Subs-Portal.php no longer leaves no error.

Thanks Nathaniel by the aid !

That edit just confirms where the issue is, it doesn't actually solve the problem. ;) Your shouts will no longer be parse for bbc, which is undesirable. Undoing the edit will make them be parsed again.

Can you try uninstalling the AEVA mod temporarily? That is the only common link between the user who have had issues. So that could be the problem.

Sorry it took me so long to get back to you on this.  It took me awhile to get the gumption to enable the shoutbox again (and I had to deal with a nice DDoS as well).

Disabling Aeva did not fix the issue.  Enabling the shoutbox still takes my server down (now using lighttpd instead of apache).

The offending message still seems to be the email address.  does Aeva change the format of the actual post, or just when it displays the post ?

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Shoutbox block erro
« Reply #17 on: January 20, 2010, 12:29:28 PM »
And slowly, you come to realize... It's all as it should be...

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #18 on: January 21, 2010, 03:38:50 AM »
thks

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Shoutbox block erro
« Reply #19 on: January 21, 2010, 03:40:28 AM »
So did that fix the issue?
And slowly, you come to realize... It's all as it should be...

Offline Alyen

  • Semi Newbie
  • *
  • Posts: 22
    • AlyenStudio
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Shoutbox block erro
« Reply #20 on: January 22, 2010, 04:24:28 AM »
if you fix the problem but now I tro problem quando uma message someone sends out the message is not cardardo and nothing out.

out the message that you have to press F5.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Shoutbox block erro
« Reply #21 on: January 22, 2010, 08:12:20 AM »
You mean to be able to see the posted shout you need to refresh the page? Can you provide a link to your website along with a test account to check it?
And slowly, you come to realize... It's all as it should be...