NO_STYLE_CFG ???

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
cgn1954
Registered User
Posts: 6
Joined: Fri Nov 25, 2016 1:21 pm
Location: Tyresö
Name: C G Norlén

NO_STYLE_CFG ???

Post by cgn1954 »

Hi all,

... some week ago I installed 3.3.0, mainly from scratch, I just kept the database, some self produced files (php) and of course image files including Smileys and attachments...

Well - yesterday I was into the ACP to check some stuff but was held by this fault message (below). As far as I remember I haven't done any major changes after the installation, in fact - no changes. Okey:

1. Installation, prosilver is the default style
2. Added the Swedish language option
3. Added the we_universal style option
4. After installation the we_universal "main page" was corrupt, no path information, some buttons missing
5. Reloaded (overwrote) the we_universal files, all of them and the style was back on track - this was one week ago

Suddenly this fault message occurred. Is it a good idea to just overwrite all the prosilver style files from an new download?

All other ACP-menus are working.
phpbb-01.png

User avatar
janus_zonstraal
Registered User
Posts: 4215
Joined: Sat Aug 30, 2014 1:30 pm

Re: NO_STYLE_CFG ???

Post by janus_zonstraal »

Is it a good idea to just overwrite all the prosilver style files from an new download?
It can no harm if you try it.
Sorry! My English is bat ;) !!!

User avatar
pierredu
Registered User
Posts: 1053
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: NO_STYLE_CFG ???

Post by pierredu »

This is language key in common.php, probably absent from the swedish language files.
'NO_STYLE_CFG' => 'Could not get the style configuration file for: %s',

Used in acp_style.php, line 1140 ss.

User avatar
warmweer
Jr. Extension Validator
Posts: 4287
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: NO_STYLE_CFG ???

Post by warmweer »

Which Swedish pack are you using? The latest one available on phpBB.com is version 2.0.2 for phpBB 3.1.2
On phpBB.se, there a version available for phpBB3.3.0 http://phpbb.se/download/svenskt-sprakpaket/
We should embrace problems, without which there wouldn't be any solutions.

User avatar
3Di
Former Team Member
Posts: 15042
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: NO_STYLE_CFG ???

Post by 3Di »

pierredu wrote:
Tue Mar 17, 2020 2:24 pm
This is language key in common.php, probably absent from the swedish language files.
'NO_STYLE_CFG' => 'Could not get the style configuration file for: %s',

Used in acp_style.php, line 1140 ss.
Yes, since 3.2.8 I've added a check in there and added that language key.
https://github.com/phpbb/phpbb/pull/5654

Now we do check for the physical existance of such file style.cfg to be sure of what is going on facing this very edge cases, without worse side effects than this. Also read: viewtopic.php?p=15405981#p15405981

The style seems to have been deleted without being first uninstalled or effectively is not reachable. The OP used a DB backup onto a fresh installation but perhaps that backup wasn't ready for this operation.

Solution: put back in the filesystem that style (which with an updated language pack or the shipped English one we can see its name) and then uninstall it from the database prior to delete it again.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

luludi
Registered User
Posts: 13
Joined: Fri May 23, 2008 8:57 pm
Name: Luciana
Contact:

Re: NO_STYLE_CFG ???

Post by luludi »

Thanks for your reply.
I was searching if anyone else had an error like this, mine was a bit different but due to an old theme I had installed before. I deactivated it prior to the upgrade but somehow wasn't enought.
Installed it again and now I can browse the styles page as usual.
Thanks again.
Last edited by Mick on Fri Mar 27, 2020 8:11 am, edited 1 time in total.
Reason: Removed unnecessary full quoting.

Post Reply

Return to “[3.3.x] Support Forum”