The error code of the files generated by the smarty template compilation is good on my friend's computer. When it is opened on my computer, an error will be reported at template_c. Check that the Code pointing to the error does not find any problem.
How is temlpate_c generated? Can I delete it? Is it related to configuration? Later, I used another person's full set of code, and there were more files with errors reported in template_c, but there was nothing wrong with the original computer. Depressed.
Reply to discussion (solution)
Check whether the directory of the generated cache file has the write permission.
Check whether the directory of the generated cache file has the write permission.
This?
Var $ compile_dir = 'templates _ C ';
Files in temlpate_c are executable php files generated by smarty from template files in temlpate according to rules
You can delete all the files in temlpate_c and re-generate the smarty.
This error does not exist.
Check whether the directory of the generated cache file has the write permission.
This?
Var $ compile_dir = 'templates _ C'; [/quote
Check whether the directory of the generated cache file has the write permission.
This?
Var $ compile_dir = 'templates _ C ';
Pair
Files in temlpate_c are executable php files generated by smarty from template files in temlpate according to rules
You can delete all the files in temlpate_c and re-generate the smarty.
This error does not exist.
How can I generate a new one after deletion?
I haven't moved any other places. After I deleted template_c, I reported an error when I opened almost every page on the webpage. After I restored it, I got it again.
What error is reported ????
Files in temlpate_c are executable php files generated by smarty from template files in temlpate according to rules
You can delete all the files in temlpate_c and re-generate the smarty.
This error does not exist.
After the file is deleted and regenerated, the tpl folder under the templates folder is almost full of red ...... Is there a problem with the code of my template file?
Can't you say something that is understandable?
Can't you say something that is understandable?
An error is reported, with a Red Cross