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: 442
  • 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]

Welcome to SimplePortal.net! You can download SimplePortal from the Downloads Area!

Author Topic: Shoutbox not working  (Read 7530 times)

0 Members and 1 Guest are viewing this topic.

Offline ZJbrandon

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Shoutbox not working
« on: April 14, 2016, 12:06:39 PM »
hello all, having problems with the shoutbox, hopefully someone can help.
Everything else in Simple portal seems to be working great, I'm loving it!

I created the shoutbox, then make a Block for it.
No matter where it is placed, top, side, only forum, or on the portal in front page mode, (even on the stock theme Curve) two things happen:

I get occasional glitches in things being drawn, like a side box is stretched too far over and there are elements being drawn twice in the wrong place. Usually refreshing the page will make things go to correct position, but the problem will happen again every now and then.

The other is that the shoutbox itself doesn't seem to function. It's there, but nothing typed in will show. The little refresh icon spins, but that's it.

My Host is 1 & 1, Php 5.6

Now, This may be related, but i don't know.
When I am in the create block for it, if I hit preview, I get this error: see attachment.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox not working
« Reply #1 on: April 14, 2016, 01:24:08 PM »
I'm guessing from here so if someone else has  more experience/better answer - follow it.

I would check the forum database is converted to utf-8 in database under forum maintenance.

If that doesnt help maybe check the languages installed in the forum match what you installed for the portal.
There are shoutbox  problems related to the character set but I think yours in not that.
Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline ZJbrandon

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox not working
« Reply #2 on: April 14, 2016, 01:57:38 PM »
thanks, andy.

the forum only has English ISO-8859-1, and I'm not sure where to see the language installed for Simple Portal, looked around, did not see it.

before i convert the DB, i probably better make a backup, and be ready to restore it, which i'm not at this very moment.  :-[

Offline lurkalot

  • Semi Newbie
  • *
  • Posts: 14
  • SMF Version: 2.0.10
  • SP Version: None
Re: Shoutbox not working
« Reply #3 on: April 14, 2016, 02:27:06 PM »
thanks, andy.

the forum only has English ISO-8859-1, and I'm not sure where to see the language installed for Simple Portal, looked around, did not see it.

before i convert the DB, i probably better make a backup, and be ready to restore it, which i'm not at this very moment.  :-[

Yes make a backup, that's always wise.  ;) You can check your database tables in phpMyAdmin  via your hosting control panel.  You'll see that some have different collation which is why you are seeing that error.

Noticed a lot of this happening especially if someone originally used a auto installer like Softaculous to install SMF.

Oh, and make the backup from your server control panel and or phpMyAdmin while you're there, please don't use the backup facility in SMF otherwise you might have problems. 
« Last Edit: April 14, 2016, 02:29:33 PM by lurkalot »

Offline ZJbrandon

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox not working
« Reply #4 on: April 14, 2016, 03:09:47 PM »
thank you so much for the help. this SQL stuff is over my head.
I'm very nervous to fiddle with it, haha!
Since this apparently might be what's causing the funky redraws and error, I guess i better trudge on!

Here is a screen of what i see on one section of php myadmin, but to be honest, i really don't know what to do.
is the next step to use SMF to convert DB to UTF-8?
Or make a fix from within the Php myadmin?
my gosh, i'm so lost.

From what i've posted already and this screen, is there any guidance you experts can offer?


Offline lurkalot

  • Semi Newbie
  • *
  • Posts: 14
  • SMF Version: 2.0.10
  • SP Version: None
Re: Shoutbox not working
« Reply #5 on: April 14, 2016, 03:15:53 PM »
There's some info here to help you with backing up your database, if it helps http://wiki.simplemachines.org/smf/Backup

Offline emanuele

  • Developer
  • *
  • Posts: 293
Re: Shoutbox not working
« Reply #6 on: April 14, 2016, 04:46:29 PM »
Just to add to the confusion: the screenshot shows only the collation of the *database*, your problem is that two *tables* or even two *fields* in (one or) two tables have different collation. ;)

Offline ZJbrandon

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox not working
« Reply #7 on: April 14, 2016, 04:58:01 PM »
thanks again, guys.

after I obtain a backup DB through phpmyadmin, what do you advise next?

The above mentioned SMF UTF-8 thing, or some kind of fix through Phpmyadmin?

Offline emanuele

  • Developer
  • *
  • Posts: 293
Re: Shoutbox not working
« Reply #8 on: April 14, 2016, 05:37:13 PM »
Never mess by hands in phpmyadmin unless you know what you are doing. ;)

Offline ZJbrandon

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox not working
« Reply #9 on: April 14, 2016, 07:39:44 PM »
yeah, makes me nervous because i definitely don't know what i'm doing in there!

so, just to be clear, so far our best guess to fix this is use SMF to "Convert the database and data to UTF-8", yes?

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Shoutbox not working
« Reply #10 on: April 15, 2016, 01:26:05 AM »
Quote
forum database is converted to utf-8 in database under forum maintenance.

There is a utf-8 conversion from the forum in the admin>  maintenance > database section.

Try running that, Im sure it wont do anything bad, but it might not solve the problem of some tables with different collocation. You can download a database backup from there too.

If that does not work (and you have backup) you can go into phpmyadmin and see which tables are different. It is easy to change the whole database to utf8_general_ci.
You can change that under the 'Operation' menu - easy to find. If trouble, empty out the database and import in your backup.

Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Shoutbox not working
« Reply #11 on: April 15, 2016, 08:35:17 AM »
A tool to adjust collations is located here:
http://web-develop.ca/index.php?topic=32.0

Three versions are available as I found various syntax is needed for some setups.
Start with the first version and if there is an issue/error then uninstall & try the second and/or third.
It will adjust all database collations to be uniform.

Offline ZJbrandon

  • Semi Newbie
  • *
  • Posts: 8
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Shoutbox not working
« Reply #12 on: April 15, 2016, 02:19:11 PM »
thank you all, the Convert to UTF8 seems to have done the trick, my shoutbox is now functioning!

Thanks to anyone involved in creating and supporting Simple Portal.
Really glad there are folks out there making cool software for free ;D

i have other errors in SMF that I'm pretty sure are unrelated, so i will mark this solved, and go hunt for a fix on that issue.

thanks again!