Closed GoogleCodeExporter closed 9 years ago
Monte did modify composer.json that the distribution gets intalled from a zip
file which does not include a lot of Smarty internal stuff. The classmap starts
there at libs/...
But if you require "smarty/smarty" it seems to be loaded from the SVN where the
classmap must start at distribution/libs/....
I try to sort it out with Monte. I'm myself on a composer learning curve so any
helpfull input is welcome.
Original comment by Uwe.Tews@googlemail.com
on 15 Oct 2014 at 9:02
I could not get in touch with Monte
For the time being I switched the classmap back to distribution/libs/....
Original comment by Uwe.Tews@googlemail.com
on 16 Oct 2014 at 1:37
Well it _certainly_ added to the confusion that you wrote on smarty.net that
3.1.20 was released, but then linked to the 3.1.21-dev / trunk changelog file.
:-/
Original comment by cbrunnkvist@gmail.com
on 16 Oct 2014 at 7:19
[deleted comment]
Seems the error has been fixed. Thanks.
Original comment by stepan.s...@gmail.com
on 16 Oct 2014 at 2:05
Still seeing this error when using composer package smarty/smarty:
[RuntimeException]
Could not scan for classes inside "...../vendor/smarty/smarty/distribution/libs/Smarty.class.php" which does not appear to be a file nor a folder
there is no distribution folder inside smarty/smarty - only libs and demo
folder!
Original comment by naabs...@gmail.com
on 16 Oct 2014 at 2:40
Hello,
try to remove package from composer.json, then execute 'composer update' and
after add package to composer.json, and then again 'composer update'. Or try
'composer clearcache'.
Original comment by stepan.s...@gmail.com
on 16 Oct 2014 at 2:44
It would be nice to fix the last stable aswell. tags\v3.1.20\distribution
doesn't exist anymore but composer.json is unchanged:
"autoload": {
"classmap": [
"distribution/libs/Smarty.class.php",
"distribution/libs/SmartyBC.class.php",
"distribution/libs/sysplugins/smarty_security.php"
]
},
Original comment by belka...@gmail.com
on 16 Oct 2014 at 6:20
I'm also having this problem after the latest update. Uninstall, clear cache,
none of that fixed it for me.
As a temporary hack I did:
cd vendor/smarty/smarty;ln -s . distribution
Original comment by camerong...@gmail.com
on 17 Oct 2014 at 9:12
Composer is now up running again. It does load the distribution currently from
github.com/uwetews/smarty-dist. (This will change some time in the future)
On github v3.1.21 is alread tagged. The SVN gets updated tomorrow.
Use
"require": {
"smarty/smarty": "~3.1"
}
to get it.
You must run composer clearcache to get it working.
Original comment by Uwe.Tews@googlemail.com
on 18 Oct 2014 at 1:06
And there was much rejoicing. Great job and fast response, Uwe!
Original comment by cbrunnkvist@gmail.com
on 21 Oct 2014 at 3:19
Original issue reported on code.google.com by
stepan.s...@gmail.com
on 15 Oct 2014 at 7:53