Why can the {html_options Options=$AllLevel} that a Smarty3.1 used in my Tpl file sign up for a fault, wrong code:
Warning: Require(C:\\Wamp64\\www\\php8/public/Smarty_Internal_Compile_Html_Options.class.php) : Failed To Open Stream: No Such File Or Directory In C:\\Wamp64\\www\\php8\\configs\\run.inc.php On Line 24
Fatal Error: Require() : Failed Opening Required \’C:\\Wamp64\\www\\php8/public/Smarty_Internal_Compile_Html_Options.class.php\’ (include_path=\’ . ;C:\\Php\\pear\’) In C:\\Wamp64\\www\\php8\\configs\\run.inc.php On Line 24
Should change the Include_path in Php.ini want how to change
Smarty? Had not heard this for ages, had been engine of antediluvian pattern plate!
@Carlgao novice ah the video that searchs on the net has this go to school
Write into absolutely method. The attributive that the folder below next this method and document read in the meantime
I changed @lifeintools the Smarty of a low version does not have a thing, tall version introduces Smart alone kind also do not have a thing, but I am a TPL is used below Public folder kind Return New Smarty() , the means that uses TPL of Spl_autoload_register() to load next loads to appear this mistake
I changed the Smarty of a low version to do not have a thing, tall version introduces Smart alone kind also do not have a thing, but I am a TPL is used below Public folder kind Return New Smarty() , the means that uses TPL of Spl_autoload_register() to load next loads to appear this mistake
I can use low version first only now, reasonable old man gives directions issue me, will be very obliged
Php tall version had a few function to discard cause Smarty to cannot be used
The proposal uses Php5.6
@xnode my version is 5.6.25
Now need not Smarty, and around carries depart is big trend, PHP itself is best pattern plate engine.
The proposal learns a bit more contemporary frame, begin from Yii2 first, laravel too gaudy treat newlywed person bad.
@ChoateYao thanks us to be written down first, the PHP that what I look is Li Yan extensive video of the 3rd season, seeming is a few years ago, also did not find on the net new, I cross this video first one all over
The novice’s word, detect whether do next catalog have corresponding file, if do not have file hand to move,put a document
@ChoateYao #9 what of gaudy, I look how didn’t Yii also suit an introduction
Upstairs did not contend for see React and Vue contend for as alien feel aching, yii and Laravel still have a lot of people not to look to go up but what the TP that very much still person uses learns is quite good anyway fast also, specific main attack which still do not see a company ask
PHP itself is a very complete pattern plate language, not necessary with Smarty this is planted the thing of gaudy, him Smarty did one caboodle grammar, you are learning another language in fact.
I copy @acrazing to also be moved now go nevertheless
I see @sy5587 you say to learning, you do not have my means necessary learn Smarty, this is burdensome
You say to use Spl_autoload_register to load, looking is the bag management such as trashy Composer implement. Still suggest to learn Laravel first. Produce nobody to use Smarty now.
And the grammar of the Blade of Laravel also compares Smarty a lot of better.
Citation when, cite with the opposite way that is based on __DIR__ . __DIR__ is code place folder.
The Smarty of tall version has a problem, the problem of low version is more, do sth over and over again one afternoon, seeming is the automatic to load in my Run.inc.php kind have conflict with SmartySpl_autoload_register(“_efc”);Function _efc($_className) {If (substr($_className, – 6)==’Action’) {Require ROOT_PATH. ‘/controller/’ . $_className. ‘.class.php’;
} Elseif (substr($_className, – 5)==’Model’) {Require ROOT_PATH. ‘/model/’ . $_className. ‘.class.php’;
} Elseif (substr($_className, – 5)==’Check’) {Require ROOT_PATH. ‘/check/’ . $_className. ‘.class.php’;
} Else {
Require ROOT_PATH. ‘/public/’ . $_className. ‘.class.php’;
}
}
22 0.2376 3951688 class_exists () . . . \smarty_internal_templatecompilerbase.php:785
23 0.2377 3951992 spl_autoload_call () . . . \smarty_internal_templatecompilerbase.php:785
24 0.2385 3952048 _efc() . . . \smarty_internal_templatecompilerbase.php:785
Fatal Error: Require() : Failed Opening Required ‘C:\Wamp64\www\php8/public/Smarty_Internal_Compile_Html_Options.class.php’ (include_path=’ . ;C:\Php\pear’) In C:\Wamp64\www\php8\configs\run.inc.php On Line 27
But I do not know how to change
Laravel can see this documentation https://learnku.com/docs/laravel/7.x
Also have the tutorial of Laravel with the website, do not know quality nevertheless how.
Look for a bit better video, next you these code are the code of antediluvian period it seems that
The time that I learn @leoleoasd is not long, OK and direct learn frame
@nocrush is breathed out breath out
After thinking quick start is familiar with grammar directly, with respect to frame, tp introduction is before me
Hey very difficult without PHP of self-study of process designing foundation
This PHP8 folder lets me think for a time. . .
@sy5587 #21 is possible be no problem
I first a person is silent, thank old man people reply
Since teach oneself, the proposal does not want Smarty of do sth over and over again, the word of Tp also suggests direct turn from side to side is high of version, Of Tp3 when just also encountering the project that put an amount to need to safeguard, just look
Frame if you want to see Tp, suggest to go up directly Tp6, next these intellectual dots such as Php grammar, Composer, Psr standard go first below understanding
Seem to want to be in need not this Smarty, the Php that dish bird tutorial crossed when I learn in those days is syntactic, direct Laravel learned to rise, begin to feel very complex, still go to the lavatory what make a habit quite. From the back other frame about the same