Userpanel - brak mozliwosci wydruku faktur - "problem ze smarty"
Userpanel LMS Userpanel 1.1-cvs (1.21/1.18)
Przy próbie wydruku faktury pojawia się komunikat:
Warning: Smarty error: unable to read resource: "invoiceheader.html" in /usr/share/php/Smarty/Smarty.class.php on line 1095
Warning: Smarty error: unable to read resource: "invoice.html" in /usr/share/php/Smarty/Smarty.class.php on line 1095
Warning: Smarty error: unable to read resource: "clearfooter.html" in /usr/share/php/Smarty/Smarty.class.php on line 1095
Po zmianie w invoice.php $SMARTY->template_dir = !isset($CONFIG['directories']['smarty_tremplates_dir']) ? $CONFIG['directories']['sys_dir'].'/templates' : $CONFIG['direcories']['smarty_templates_dir'];
na
$SMARTY->template_dir = "/usr/share/lms/templates";
jest O.K.
Co jest nie tak w definicji ścieżki do "templatów" ?
Moja konfiguracja: PLD Linux 2.0 Informacje o LMS: Wersja LMS: 1.8.5 Sina (1.757.2.9/1.13.2.2) Wersja LMSDB: 1.8.5 Sina (core: 1.36.2.2 / driver: mysql 1.34.2.2) Wersja MySQL: 5.0.24 Wersja PHP: 5.1.4 Wersja Smarty: 2.6.14 [root@infolan3 log]# rpm -aq |grep -i apache apache-mod_alias-2.2.3-1 apache-mod_negotiation-2.2.3-1 apache-mod_authz_host-2.2.3-1 apache-errordocs-2.2.3-1 apache-mod_log_config-2.2.3-1 apache-mod_setenvif-2.2.3-1 apache-mod_version-2.2.3-1 apache-mod_auth_basic-2.2.3-1 apache-mod_authz_groupfile-2.2.3-1 apache-mod_auth-2.2.3-1 apache-mod_env-2.2.3-1 apache-mod_php-5.1.4-5 apache-mod_autoindex-2.2.3-1 apache-mod_dir-2.2.3-1 perl-Apache-DBI-1.01-1 apache-tools-2.2.3-1 apache-base-2.2.3-1 apache-mod_mime-2.2.3-1 apache-mod_include-2.2.3-1 apache-mod_userdir-2.2.3-1 apache-mod_cgi-2.2.3-1 apache-mod_mime_magic-2.2.3-1 apache-mod_speling-2.2.3-1 apache-mod_asis-2.2.3-1 apache-mod_authn_file-2.2.3-1 apache-mod_authz_user-2.2.3-1 apache-mod_cern_meta-2.2.3-1 apache-2.2.3-1 apache-index-2.2.3-1 apache-mod_ssl-2.2.3-1 [root@infolan3 log]# rpm -aq |grep -i perl perl-base-5.8.8-4 perl-RPM-0.40-8 perl-Locale-gettext-1.03-1 perl-modules-5.8.8-4 perl-Net-Daemon-0.38-2 perl-Config-IniFiles-2.38-2 perl-DBI-1.51-1 perl-Apache-DBI-1.01-1 perl-URPM-1.27-1 perl-ExtUtils-MakeMaker-6.25_08-1 perl-devel-5.8.8-4 perl-Sys-Hostname-Long-1.2-4 perl-Curses-1.14-1 perl-BerkeleyDB-0.29-1 perl-PlRPC-0.2018-2 perl-Net-MySQL-0.08-1 perl-Digest-SHA1-2.10-4 perl-tools-pod-5.8.8-4 perl-TimeDate-1.16-2
Krzysztof
uczestnicy (1)
-
Krzysztof Szwaba