IMPORTANT

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

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Apr 2018, 11:43

» 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

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

Recent Tutorials
Top posting users this month
Who is online?
In total there are 4 users online :: 0 Registered, 0 Hidden and 4 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Weird view of Installer Page

View previous topic View next topic Go down

avatar
Luffy

Gender : Male
Age : 24
Posts : 291
Points : 1855
Reputation : 64
Language : Greek, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile https://www.inforumgr.com/ https://www.facebook.com/inforumgr https://twitter.com/inforumgr

PostLuffy on 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!

--------

avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4726
Points : 9780
Reputation : 2362
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on 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.


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

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Luffy

Gender : Male
Age : 24
Posts : 291
Points : 1855
Reputation : 64
Language : Greek, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile https://www.inforumgr.com/ https://www.facebook.com/inforumgr https://twitter.com/inforumgr

PostLuffy on 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

--------

avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4726
Points : 9780
Reputation : 2362
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on 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.

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Luffy

Gender : Male
Age : 24
Posts : 291
Points : 1855
Reputation : 64
Language : Greek, English
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile https://www.inforumgr.com/ https://www.facebook.com/inforumgr https://twitter.com/inforumgr

PostLuffy on Fri 28 Oct 2016, 13:51

That solved the issue. Thanks!

--------

avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4726
Points : 9780
Reputation : 2362
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 29 Oct 2016, 10:31

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

--------

Ange Tuteur
Tips and TricksContact Me

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