|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
habatur Smarty n00b
Joined: 15 Mar 2014 Posts: 3
|
Posted: Sat Mar 15, 2014 3:40 am Post subject: Smarty 3.1.17 from Composer |
|
|
I have installed in two projects, through composer, the Smarty 3.1.17 version.
In project 1, all works fine.
In project 2 however, I get an error, Quote: | The file Smarty_Internal_TemplateCompilerBase.php is missing in the libs folder. |
I have temporarily fixed that by adding these lines in the class:
Code: | include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_templatecompilerbase.php';
include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_templatelexer.php';
include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_templateparser.php';
include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_compilebase.php';
include_once SMARTY_SYSPLUGINS_DIR.'smarty_internal_write_file.php'; |
However, is there a permissions or a php setting that I may be missing here so I can fix it by the time 3.1.18 comes aroud? What is strange is that it works just fine in another project. So I figured composer cant be the cause, default permissions cant be it either. It is very strange. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sun Mar 16, 2014 1:33 am Post subject: |
|
|
Is this a project you updated Smarty? Be sure to clear out all cached and compiled files. |
|
Back to top |
|
habatur Smarty n00b
Joined: 15 Mar 2014 Posts: 3
|
Posted: Mon Mar 17, 2014 12:13 am Post subject: |
|
|
mohrt wrote: | Is this a project you updated Smarty? Be sure to clear out all cached and compiled files. |
No, the project that was updated works fine.
The new smarty install wasn't loading a few files in what I suppose is a Smarty autoloader, which means there could be a potential conflict. It is not a bug though, only an issue that will occur on each update until the cause is figured out.
The project I loaded it in was php-login.net's MVC version |
|
Back to top |
|
habatur Smarty n00b
Joined: 15 Mar 2014 Posts: 3
|
Posted: Wed Sep 17, 2014 3:03 pm Post subject: |
|
|
The problem still occurs in version 3.1.19 in a clean install.
It is simply not compatible with composer I guess. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Oct 18, 2014 1:15 am Post subject: |
|
|
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. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|