FM Design
Would you like to react to this message? Create an account in a few clicks or log in to continue.

IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49

» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

Recent Tutorials
Top posting users this month

Who is online?
In total there are 8 users online :: 0 Registered, 0 Hidden and 8 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 515 on Tue 14 Sep 2021, 15:24

Weird view of Installer Page

View previous topic View next topic Go down

Luffy
Luffy

Gender : Male
Age : 30
Posts : 291
Points : 4053
Reputation : 64
Language : Greek, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
https://www.inforumgr.com/ https://www.facebook.com/inforumgr https://twitter.com/inforumgr

PostLuffy Wed 26 Oct 2016, 13:28

Hello @Ange Tuteur,

Today i noticed the new update notification and i went to my installer page to check and update the theme but, it appears that the Installer Page has some "bugs"..
See other times i did this it was fine but today it just doesn't show me almost anything.
Here's a screenshot of what i see once i view my installer : http://prntscr.com/cz9yl5

I do not have any clue why this is happening since the code has stayed the same and nothing was changed...
The page is /22-installer but i believe you have Admin powers to check it.
If you need owner account access please let me know.. Thanks!
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12048
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Wed 26 Oct 2016, 13:59

Hi @Luffy,

I believe the cause of the control panel not working is a javascript error on your forum.
Weird view of Installer Page Captur22

The query to document.getElementId returned null since it couldn't find "table#ys". It's usually good to check if an element is null or not before using it. For example :
Code:
var table = document.getElementById('table#ys');

if (table) {
  table.insertAfter('.module:nth-child(2)');
}
That way you wont get any errors. Still there's a few reasons for this error :

1. The reason it returned null is because a query string was used ( table#ys ), when an id string without the hash should only be used in getElementById ; 'ys'.
2. There's no "insertAfter" method in pure javascript, this does exist in jQuery though. In pure JS you can use insertBefore, appendChild, insertAdjacentHTML, etc..

Sorry for the lecture lol. Anyways, you can also resolve the issue by changing it to the jQuery equivalent, since that's what it looks like it's written for.
Code:
$('table#ys').insertAfter('.module:nth-child(2)')

If the CP doesn't work after resolving this error let me know. Salute
Luffy
Luffy

Gender : Male
Age : 30
Posts : 291
Points : 4053
Reputation : 64
Language : Greek, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
https://www.inforumgr.com/ https://www.facebook.com/inforumgr https://twitter.com/inforumgr

PostLuffy Thu 27 Oct 2016, 13:46

Ange i don't know what to change but anyway you can close this thread as Think Tank is closing. Smile

Thanks for your help. Smile
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12048
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Fri 28 Oct 2016, 11:19

Oh I see, that's sad to hear..

Anyway from what I could tell an error was caused by this script :
Code:
$(function(){$(function(){document.getElementById('table#ys').insertAfter('.module:nth-child(2)')});});
Either removing it or applying the fix I mentioned would've resolved the error.
Luffy
Luffy

Gender : Male
Age : 30
Posts : 291
Points : 4053
Reputation : 64
Language : Greek, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
https://www.inforumgr.com/ https://www.facebook.com/inforumgr https://twitter.com/inforumgr

PostLuffy Fri 28 Oct 2016, 13:51

That solved the issue. Thanks!
Ange Tuteur
Ange Tuteur
Administrator
Gender : Male
Posts : 4741
Points : 12048
Reputation : 2375
Location : Pennsylvania
Language : EN, JA, FR
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
https://sethclydesdale.github.io/ https://twitter.com/sethc1995

PostAnge Tuteur Sat 29 Oct 2016, 10:31

No problem. Hope you have a good weekend. ^^
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum