Loading...
 
 Error
  • The search index could not be updated. The site is misconfigured. Contact an administrator.
    SQLSTATE[42000]: Syntax error or access violation: 1064 unknown table 'themes_tiki_org_main_661e09a9b7bd5' in delete request
Bundled and Legacy Themes

Bundled and Legacy Themes


new CSS file zero bytes

posts: 4 United States

I'm using Tiki 2.0 and trying to create my own custom CSS. However when I edit a bundled CSS file through Tiki admin, then save it (with an appended "-username" to the file name) the file does not get saved correctly. The file appears to get saved and I don't get any error messages but when I check on the Tiki server it is zero bytes long. I'm sure this is some sort of OS permissions issue, but I didn't have this problem in 1.9.11. I'm assuming that there aren't any new Tiki permissions I need to set? My Tiki user is part of the admin group so I would have thought I'd have all the permissions I need.

I tried running setup.sh but this hasn't made any difference. The styles directory is owned by www-data which is the same user that the web server is running under and www-data user has read/write privileges on the styles directory and its files.

I thought this would be easy to fix but I'm stumped at this point. I'm no Linux expert so perhaps I'm missing something. Anyone got any ideas?

[edit]I checked on the Tiki permissions thing and found that tiki_p_create_css is enabled for the group admins (as you'd probably expect), besides I don't get any warnings about not having sufficient permissions[/edit]

[update]I decided to bypass the Tiki CSS editing and make a copy of an existing CSS file directly on the command line. I made a copy of tikinewt.css and renamed it to tikinewt-darkbee.css, made sure the owner and permissions where the same as the original file. Then I tried to edit the new file in Tiki and when I saved it, the file became zero bytes in length. It seems something might be awry with Tiki, is it because I upgraded from 1.9.11 to 2.0? I more confused than ever. cry[/update]

posts: 254 Japan

Edit-CSS appears to be broken in Tiki 2.0. For now, CSS files can be edited locally and uploaded/copied to the server, for users with that access.

-- Gary

posts: 4 United States

Edit-CSS appears to be broken in Tiki 2.0. For now, CSS files can be edited locally and uploaded/copied to the server, for users with that access.

-- Gary


Thanks for confirming Gary, at least I know I'm not losing my mind!! For what it's worth, I noted in 1.9.11 that I could call the file whatever I liked and still edit it. I mistakenly used an "underscore then username" after the original name and was still able to edit the file.

I assume I don't need to open up a bug report on Dev Tiki as it sounds like this is a known issue? I had a quick look there last night but couldn't find a bug report, although I might have over-looked it.


Layout

Subscribe to Tiki Newsletters!

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other big news!
Contribute to Tiki

Site Config