Hello! I've installed omega because of it's easy customizable layout (regions) and that's exactly the option that is not working. When I click "save configuration & layout settings" I get the following errors:
Warning: file_get_contents(/www/vevpa.com.ar/htdocs/drupal-7.34/drupal-7.34/sites/all/themes/omega/omega_core/style/scss/vars.scss): failed to open stream: No such file or directory in SassFile::get_file_contents() (line 62 of /www/vevpa.com.ar/htdocs/drupal-7.34/sites/all/themes/omega/omega_core/lib/Drupal/omega/phpsass/SassFile.php).
Warning: file_get_contents(/www/vevpa.com.ar/htdocs/drupal-7.34/drupal-7.34/sites/all/themes/omega/omega_core/style/scss/grids/omega.scss): failed to open stream: No such file or directory in SassFile::get_file_contents() (line 62 of /www/vevpa.com.ar/htdocs/drupal-7.34/sites/all/themes/omega/omega_core/lib/Drupal/omega/phpsass/SassFile.php).
Notice: Array to string conversion in SassException->__construct() (line 30 of /www/vevpa.com.ar/htdocs/drupal-7.34/sites/all/themes/omega/omega_core/lib/Drupal/omega/phpsass/SassException.php).
SassContextException: Undefined Mixin: row: Array::7 Source: .header-layout in SassContext->getMixin() (line 101 of /www/vevpa.com.ar/htdocs/drupal-7.34/sites/all/themes/omega/omega_core/lib/Drupal/omega/phpsass/tree/SassContext.php).
On the first 2 error the folder path is "duplicated" (htdocs/drupal-7.34/drupal-7.34). I guess something is not working properly here. Thank you in advance
Comment | File | Size | Author |
---|---|---|---|
#9 | subdirgenfix-2451267-9.patch | 1.16 KB | Melissamcewen |
#6 | Captura de pantalla 2015-10-28 a la(s) 15.04.28.png | 183.32 KB | Marioro |
#3 | omega-cant-modify-layout-2451267-3.diff | 1.05 KB | himerus |
Comments
Comment #1
himerus CreditAttribution: himerus commentedOddly, I see a similar behavior in 7.38, although my 7.32 installation works as expected. Will investigate.
Comment #2
himerus CreditAttribution: himerus commentedFound the issue and difference between the installs where I'm not seeing and and the ones I am.
Boils down to the line: $vars = realpath(".") . $base_path . drupal_get_path('theme', 'omega') . '/style/scss/vars.scss';
One of my installs is on the root level of a local subdomain, and it's fine, the other is at localhost/drupal-7.38 and that's where it fails and gets the wrong path.
Patch pending.
Comment #3
himerus CreditAttribution: himerus as a volunteer commentedFixed by updating method used to pull path to vars.scss and omega.scss
Comment #6
Marioro CreditAttribution: Marioro commentedsolved the above problem, I can´t use and save configuration/layout, OMEGA 5 ALPHA & DEV after throwing me the following issues:
The specified file temporary://filesoLZfG could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
WTF001: SCSS save error... : function _omega_save_layout_files()
The specified file temporary://fileFIWZuG could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
WTF002: CSS save error... : function _omega_save_layout_files()
The specified file temporary://fileG280KG could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
WTF003: JSON save error... : function _omega_save_layout_files()
MY TMP FOLDER IS PERFECT!
Comment #7
Marioro CreditAttribution: Marioro commentednew error save layout
The specified file temporary://file5GvXSh could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
WTF001: error de guardado SCSS... : función _omega_save_layout_files()
The specified file temporary://fileGbR8cy could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
WTF002: error de guardado CSS... : función _omega_save_layout_files()
The specified file temporary://filexYLEyO could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
WTF003: error de guardado JSON... : función _omega_save_layout_files()
Comment #8
Melissamcewen CreditAttribution: Melissamcewen as a volunteer commentedI was having the same issue, turns out the $layoutscss variable is wrong in _omega_save_layout_files:
/var/www/html/themetest/themetest/sites/all/themes/omega_test/style/scss/layout/omega_test.scss
themetest is the name of the subdirectory my theme is in
Comment #9
Melissamcewen CreditAttribution: Melissamcewen as a volunteer commentedHere is a patch
Comment #10
Melissamcewen CreditAttribution: Melissamcewen as a volunteer commented