Page 1 of 1

How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 8:38 am
by Dredge
Forgive my ignorance...

Re: How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 9:18 am
by Agent 86
User Control Panel > Blog > 3rd option from the top.

Re: How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 9:33 am
by Dredge
I'm getting an error message...

Re: How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 3:36 pm
by Agent 86
What kind of error?

Re: How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 7:29 pm
by Dredge
I'm getting a 1048.

Re: How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 8:17 pm
by Catspaw
Hmm, upon experimentation, I keep getting the following when I try to change my blog style...which I have never tried to do before, so I don't know if this is new or not.
[phpBB Debug] PHP Notice: in file /blog/includes/functions.php on line 385: preg_replace(): Compilation failed: invalid range in character class at offset 32
Return to the index page
General Error
SQL ERROR [ mysql4 ]

Column 'blog_css' cannot be null [1048]

SQL

UPDATE phpbb3_blogs_users SET instant_redirect = 0, blog_subscription_default = 0, blog_style = '22', blog_css = NULL WHERE user_id = 48

BACKTRACE

FILE: includes/db/mysql.php
LINE: 174
CALL: dbal->sql_error()

FILE: blog/includes/functions.php
LINE: 419
CALL: dbal_mysql->sql_query()

FILE: includes/ucp/ucp_blog.php
LINE: 65
CALL: update_user_blog_settings()

FILE: includes/functions_module.php
LINE: 507
CALL: ucp_blog->main()

FILE: ucp.php
LINE: 344
CALL: p_master->load_active()
Agent 86, did it actually work for you, or did you just know that those instructions should work without having it successfully go through for you?

Re: How Do You Change Blog Styles?

Posted: Mon Oct 03, 2016 9:40 pm
by Agent 86
I actually tried it earlier today, and got the error that CSS can't be null, I believe that error should only come out on certain styles where you can actually change the CSS, however.

EDIT: Just tested all the styles, gives the same error. (CSS can't be null)

Re: How Do You Change Blog Styles?

Posted: Tue Oct 04, 2016 5:02 am
by Dredge
So, does this mean the apparatus has an issue? Is there some kind of placebo code I can put in?

Re: How Do You Change Blog Styles?

Posted: Tue Oct 04, 2016 2:36 pm
by Agent 86
I tried putting in fake code for the Blogger Clone style, also didn't work. And I can't look at the code to see what's wrong.