Automatically exported from code.google.com/p/phamlp
0
stars
0
forks
source link
Warning: dirname() expects parameter 1 to be string, array given in /var/www/domains/sinwolf.com/www/cms/application/classes/packager/plugins/phamlp/sass/SassFile.php on line 79 #84
Error
there is a fix below
Warning: dirname() expects parameter 1 to be string, array given in
phamlp/sass/SassFile.php on line 79
Call Stack
# Time Memory Function Location
...
...
...
4 0.0075 926068 SassParser->toCss( ) ../packager.class.php:303
5 0.0088 935776 SassRootNode->render( ) ../SassParser.php:445
6 0.0088 936300 SassRootNode->parse( ) ../SassRootNode.php:75
7 0.0088 937232 SassNode->parseChildren( ) ../SassRootNode.php:66
8 0.0102 941952 SassImportNode->parse( ) ../SassNode.php:329
9 0.0103 942296 SassFile::getFile( ) ../SassImportNode.php:58
10 0.0103 942452 dirname ( ) ../SassFile.php:79
What is the expected output? What do you see instead?
expected: css file..
see: error message + css under it
What version of the product are you using? On what operating system?
ubuntu 10.10
php 5.3.3
Please provide any additional information below.
change line 79
from
foreach (array_merge(array(dirname($parser->filename)), $parser->load_paths) as
$loadPath) {
to
foreach (array_merge(array(dirname($filename)), $parser->load_paths) as
$loadPath)
Original issue reported on code.google.com by ben.a.bl...@gmail.com on 4 Feb 2011 at 5:27
Original issue reported on code.google.com by
ben.a.bl...@gmail.com
on 4 Feb 2011 at 5:27