我有一个perl网站我要复制并放到另一台主机上,到目前为止我已经通过filezilla导出了所有文件,并将它们以公共html格式上传到新主机。检查了与在其他主机上检查和工作的所有相同的文件权限。用新用户创建了一个新的mysql数据库。导出原始数据库并通过php myadmin导入到新的mysql中,并使用新的详细信息编辑了配置文件。
我还安装了perl模块DBD :: mysl
但是我在浏览器中收到以下错误。请有人帮忙吗?
Error: HTML::Template->new() : Cannot open included file external/index.shtml : file not found. at lib/HTML/Template.pm line 1658
HTML::Template::_init_template('HTML::Template=HASH(0x29ef030)') called at lib/HTML/Template.pm line 1238
HTML::Template::_init('HTML::Template=HASH(0x29ef030)') called at lib/HTML/Template.pm line 1124
HTML::Template::new('HTML::Template', 'filename', 'external/index.shtml', 'strict', 0, 'loop_context_vars', 1, 'associate', 'CGI=HASH(0x25e74e8)', ...) called at lib/HTML/Template.pm line 1182
HTML::Template::new_file('HTML::Template', 'external/index.shtml', 'strict', 0, 'loop_context_vars', 1, 'associate', 'CGI=HASH(0x25e74e8)', 'filter', ...) called at lib/CGI/Application.pm line 1464
CGI::Application::load_tmpl('GoldDigger::App::Index=HASH(0x23b2428)', 'external/index.shtml', 'die_on_bad_params', 0, 'strict', 0, 'path', 'ARRAY(0x29466b8)', 'associate', ...) called at lib/GoldDigger/App/Index.pm line 40
GoldDigger::App::Index::index_main('GoldDigger::App::Index=HASH(0x23b2428)') called at lib/CGI/Application.pm line 152
eval {...} called at lib/CGI/Application.pm line 151
CGI::Application::run('GoldDigger::App::Index=HASH(0x23b2428)') called at index.cgi line 11