cBB Looks broken after updating from 1.11 to 1.13


no_avatar
davym123
 
Posts: 22
Joined: Tue Jul 01, 2014 1:49 pm
 Tue Apr 25, 2017 2:46 am • via Web
I followed the upgrade instructions from the readme but now the chat looks completely broken. Also, I can only display the chat after doing hard refresh, everytime I do normal refresh it doesn't show itself.

Phpbb 3.1.6
http://www.lolhentai.net/forum/

Image
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue Apr 25, 2017 10:36 am • via Web
You use FLATBOOTS style, but, It seems that it is not complete.
For example, in the file "overall_header.html"

Original:


Your file:
no_avatar
davym123
 
Posts: 22
Joined: Tue Jul 01, 2014 1:49 pm
 Tue Apr 25, 2017 10:58 am • via Web
Hello,

Thanks for your reply, maybe it's different because mine hasn't been updated for a year. I customized the theme with a custom header and footer, which is why I'm not able to update the theme.
At this moment the chat is never showing itself, and I can see the following error in the developer console:
Uncaught ReferenceError: jchat is not defined

Do you know what could cause this by chance?

Sorry for the trouble.
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue Apr 25, 2017 1:17 pm • via Web
Hi,

Some missing lines are phpBB events needed for the chat to work.
To make the chat work, you need the following:

1. Download and install the adaptation for FLATBOOTS style.
You can download it from the chat page: app/?i=cbb-chat-v1.1.3#styles

2. Verify if you have this lines:


3. Clear the cache in the ACP
no_avatar
davym123
 
Posts: 22
Joined: Tue Jul 01, 2014 1:49 pm
 Tue Apr 25, 2017 2:12 pm • via Web
Hello,

I installed the FLATBOOTS style in the style folder of the chat plugun and verified the things above in overall_header and overall_footer but I'm still receiving the same error.

IvanPF wrote:Hi,

Some missing lines are phpBB events needed for the chat to work.
To make the chat work, you need the following:

1. Download and install the adaptation for FLATBOOTS style.
You can download it from the chat page: app/?i=cbb-chat-v1.1.3#styles

2. Verify if you have this lines:


3. Clear the cache in the ACP
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue Apr 25, 2017 5:34 pm • via Web
Your forum load the chat files now but I am watching very strange things.
The route to some chat files is not correct, they are the routes of old versions

For example:
./chat/assets/css/common.css?v=1.1.3
./chat/assets/js/jchat.js?v=1.1.3

This routes is from chat versions for phpBB 3.0 and it's not part of cBB Chat 1.1.3

Have you updated your forum from phpBB 3.0 and left old chat editions?
no_avatar
davym123
 
Posts: 22
Joined: Tue Jul 01, 2014 1:49 pm
 Wed Apr 26, 2017 3:09 am • via Web
The chat files are loading now because I reverted to version 1.1.1 again. Version 1.1.3 is still not working.
It's possible that that error is from an old chat then, any idea where I can find those routes and delete them?

IvanPF wrote:Your forum load the chat files now but I am watching very strange things.
The route to some chat files is not correct, they are the routes of old versions

For example:
./chat/assets/css/common.css?v=1.1.3
./chat/assets/js/jchat.js?v=1.1.3

This routes is from chat versions for phpBB 3.0 and it's not part of cBB Chat 1.1.3

Have you updated your forum from phpBB 3.0 and left old chat editions?
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Wed Apr 26, 2017 8:06 pm • via Web
The only way to delete de old chat editions is downloading the chat package for phpBB 3.0, see the install.xml file, revert all the changes and delete all the files that appear in that file, That is, the same steps you had to do in the old phpbb to uninstall a mod.
no_avatar
davym123
 
Posts: 22
Joined: Tue Jul 01, 2014 1:49 pm
 Tue May 02, 2017 5:02 am • via Web
IvanPF wrote:The only way to delete de old chat editions is downloading the chat package for phpBB 3.0, see the install.xml file, revert all the changes and delete all the files that appear in that file, That is, the same steps you had to do in the old phpbb to uninstall a mod.


But everything works fine with cbb 1.11, why aren't things loading in 1.13?
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Tue May 02, 2017 1:23 pm • via Web
The javascript files are not too different but if they have several changes, as well as some bugs have been fixed.
It is possible that version 1.1.1 will work with the javascript file of version 1.0.x, but surely there is more than one thing that does not work as it should.

Besides, now everything works for you because chat is the last thing that your forum loads. If your forum loads after the chat some functionality that uses jQuery, that functionality would not work because of the old file of the chat.
Next

Who is online

Users browsing this forum: No registered users and 0 guests