Appearance -> Styles (HUGE PROBLEM!!)

rigarus99

Well-known member
Registered
Joined
Sep 13, 2021
Messages
192
Points
53

Reputation:

Hello everyone.

I have made a big big fckn bullshit/misstake.
I was in Appearance -> Styles and see that there was 3 Styles. It was like this:

Default ( )
Fury ( )
MyForumStyle (X)

MyForumStyle was enablet, every other like default and fury was disablet so i thought i can remove them.
I delete this two and check back to my page. Now everything is fucked up and in a white theme.

I was thinking i was secure because i have actual database backups on my localhost.
I reupload / backup them but nothing happens. The Styles are still gone.
Is there any way to make this back ?
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,169
Points
173

Reputation:

Hello everyone.

I have made a big big fckn bullshit/misstake.
I was in Appearance -> Styles and see that there was 3 Styles. It was like this:

Default ( )
Fury ( )
MyForumStyle (X)

MyForumStyle was enablet, every other like default and fury was disablet so i thought i can remove them.
I delete this two and check back to my page. Now everything is fucked up and in a white theme.

I was thinking i was secure because i have actual database backups on my localhost.
I reupload / backup them but nothing happens. The Styles are still gone.
Is there any way to make this back ?
r4z0rknowndefault style do not delete.

use cmd in ssh

cd xf folder and run "php cmd.php xf-dev:recompile"
 

rigarus99

Well-known member
Registered
Joined
Sep 13, 2021
Messages
192
Points
53

Reputation:

First thanks for your reply !

What exactly does this command ? Will all settings, plugins, prefixes, usergroup settings and all that custom delete with this ?
Set everything to default or does this only reinstall the default theme and let everything as it is?
Im so scared that i make it even worser then now.
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,169
Points
173

Reputation:

First thanks for your reply !

What exactly does this command ? Will all settings, plugins, prefixes, usergroup settings and all that custom delete with this ?
Set everything to default or does this only reinstall the default theme and let everything as it is?
Im so scared that i make it even worser then now.
r4z0rknownonly reinstall the default theme
 

rigarus99

Well-known member
Registered
Joined
Sep 13, 2021
Messages
192
Points
53

Reputation:

okay thanks ! I will try it.
The thing is, someone else does the work for me. Im also admin but have not the experience with xf to handle such stuff.
I just only accidentally deleted the themes that were deactivated because I thought they wouldn't be needed and my home directory backup would save me in case something went wrong.

I use cPanel and have Backups from everything. MySQL Database Backup, Home Directory Backup and Account Backups.
But it didnt work.
Do you know why the themes were not restored by the home directory backup?
I thought everything is in this backup... From Addons, to themes.. just everything but it wasnt.
Very confusing for me.
 
Last edited:

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,169
Points
173

Reputation:

okay thanks ! I will try it.
The thing is, someone else does the work for me. Im also admin but have not the experience with xf to handle such stuff.
I just only accidentally deleted the themes that were deactivated because I thought they wouldn't be needed and my home directory backup would save me in case something went wrong.

I use cPanel and have Backups from everything. MySQL Database Backup, Home Directory Backup and Account Backups.
But it didnt work.
Do you know why the themes were not restored by the home directory backup?
I thought everything is in this backup... From Addons, to themes.. just everything but it wasnt.
Very confusing for me.
r4z0rknownStyle theme link with I'd in database .
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,533
Points
523

Reputation:

Style theme link with I'd in database .
thomsaWhich version of Xenforo is it, maybe it is possible to export the default style from another installation and install it on your faulty one.
 

rigarus99

Well-known member
Registered
Joined
Sep 13, 2021
Messages
192
Points
53

Reputation:

Fixed !
 

rigarus99

Well-known member
Registered
Joined
Sep 13, 2021
Messages
192
Points
53

Reputation:

i reinstall the default theme and then another theme that i need.
was a little bit tricky but it works.

Now everything is fine
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,533
Points
523

Reputation:

i reinstall the default theme and then another theme that i need.
was a little bit tricky but it works.

Now everything is fine
r4z0rknownAnd how did you reinstalled the default theme ?
Please more details
 

rigarus99

Well-known member
Registered
Joined
Sep 13, 2021
Messages
192
Points
53

Reputation:

And how did you reinstalled the default theme ?
Please more details
BattleKingSomeone give me the files/archives and i install them again in the styles menu under appearance.
then i playd around a little bit with parent / child options.

and at one point i was lucky to rebuild it.
 
Top