AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Error when changing Forum Color Styles

8 Posts
2 Users
1 Reactions
3,692 Views
Posts: 6
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@brettd)
Active Member
Joined: 7 years ago
[#7238]

Every time I choose and update the Forum Color Styles Options, the colors.css file is over written with the following and I end up with no CSS styling at all: 

                #wpfa_dialog #wpfa_dialog_items .wpfa-error .fa, 
                #wpfa_dialog #wpfa_dialog_items .wpfa-error .fas, 
                #wpfa_dialog #wpfa_dialog_items .wpfa-error .fab, 
                #wpfa_dialog #wpfa_dialog_items .wpfa-error .far, 
                #wpfa_dialog #wpfa_dialog_items .wpfa-error .fal, 
                #wpfa_dialog #wpfa_dialog_items .wpfa-error, 
                #wpfa_dialog #wpfa_dialog_items .wpfa-item-col-error{ color: #f46464; }
                #wpfa_dialog .wpfa-button{ background-color: #33779b; border-color: #777777; }
                #wpfa_dialog .wpfa-button.wpfa-button-add-to-post{ background-color: #86ba4c; border-color: #6fa634; }
                #wpfa_dialog .wpfa-button.wpfa-button-cancel{ background-color: #bcbcbc; border-color: #999999; }
                #wpfa_dialog .wpfa-button.wpfa-button-delete{ background-color: #ff7575; border-color: #f46464; }


Is there a fix for this?

7 Replies
2 Replies
(@brettd)
Joined: 7 years ago

Active Member
Posts: 6
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

I have since uninstalled and reinstalled both wpforo and wpforo advanced attachments and now I have a blank zero bytes colors.css file on the server. 

Screen Shot 2018 12 04 at 12.31.19 pm

(@brettd)
Joined: 7 years ago

Active Member
Posts: 6
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

File permissions seem fine.

Screen Shot 2018 12 04 at 12.35.07 pm

Posts: 6
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@brettd)
Active Member
Joined: 7 years ago

I've over come this by replacing colors.css file on my server and disabling write access to stop the scripts from erasing it. Not ideal but the only solution I have found.


1 Reply
(@brettd)
Joined: 7 years ago

Active Member
Posts: 6
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hey wpforo, this is a serious problem for me. 

Every time I make public_html/wp-content/plugins/wpforo/wpf-themes/classic/colors.css writeable, it is overwritten as in the image attached and becomes useless. I loose all styling. My only work around is to set the file permissions to 444 (unwritable). This is not a good solution as I cannot edit the colours of my forum as intended. Can anyone assist me please?

Screen Shot 2018 12 06 at 9.37.08 am

Robert
Posts: 10744
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

Hi @brettd,

Please set back the colors.css file to 644. Then refresh the file manager and make sure it's set 644, then delete it. If you have some security plugins please disable those, bay be they don't allow file generating or file writing in your /wp-contnet/plugins/ directory. Make sure you don't have any .htaccess files which stops file writing then navigate to Dashboard > Forums > Settings > Styles admin page and click on [Update Options] button. Once colors and the style options are updated you can refresh the file system and check the colors.css. To see the colors on front-end you should, delete all caches and press Ctrl+F5 on forum page.

If this doesn't helped please disable wpForo Advanced Attachment addon and do all steps again.

In any case please navigate to Dashboard > Forums > Tools > Debug and check the [Server] and [Errors & Issues] tabs.

 


Posts: 6
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@brettd)
Active Member
Joined: 7 years ago

Thank you @robert,

I went through all steps and I found that there is a conflict with WP eMember Captcha (Version v1.1 | By Tips and Tricks HQ | http://www.tipsandtricks-hq.com ).

When WP eMember Captcha plugin is activated, the wpForo plugin does not write or create the colors.css file on the server when Update Options is clicked on the Forums > Settings > Styles page. Also, the wpForo plugin writes or creates a blank (null) colors.css file on the server when the forum is refreshed on the front end. The wpForo Advanced Attachments plugin seems to works correctly and appends its styles to the blank or empty file created by wpForo.

Everything works fine when WP eMember Captcha plugin is deactivated. 


Robert
Posts: 10744
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

Great finding! Thank you for letting us know.


Share: