Undefined tag [cfzip]

Anyone know how to fix?

Lucee 5.3.3.62


Java Stacktrace	lucee.runtime.exp.TemplateException: undefined tag [cfzip]
 at lucee.transformer.cfml.tag.CFMLTransformer.tag(CFMLTransformer.java:634)


That means your zip extension didn’t install. These sort of issues (that often affect the PDF extension as well) cab be tricky to debug due to lack of errors that are visible to the user. Your best bet is to look in the server context’s deploy.log for clues.

I don’t see an extension for cfzip. Is it part of a another extension? The only extension I have installed is cf administrator.

"INFO","main","10/02/2019","12:47:21","controller","detected Extensions to install (new;new-fresh):7E673D15-D87C-41A6-8B5F1956528C605F;name=MySQL;label=MySQL;version=8.0.15, 99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6;name=MSSQL;label=MS SQL Server;version=4.0.2206.100, 671B01B8-B3B3-42B9-AC055A356BED5281;name=PostgreSQL;label=PostgreSQL;version=9.4.1212, 2BCD080F-4E1E-48F5-BEFE794232A21AF6;name=JDTsSQL;label=jTDS (MSSQL);version=1.3.1, CED6227E-0F49-6367-A68D21AACA6B07E8;name=Admin;label=Lucee Administrator;version=1.0.0.3, D46D49C3-EB85-8D97-30BEC2F38561E985;name=Doc;label=Lucee Documentation;version=1.0.0.2, 17AB52DE-B300-A94B-E058BD978511E39E;name=S3;label=S3;version=0.9.4.119, 87FE44E5-179C-43A3-A87B3D38BEF4652E;name=EHCache;label=EHCache;version=2.10.0.31, D46B46A9-A0E3-44E1-D972A04AC3A8DC10;name=Chart;label=CFChart;version=1.0.19.24, FAD1E8CB-4F45-4184-86359145767C29DE;name=Hibernate;label=Hibernate;version=3.5.5.75, EFDEB172-F52E-4D84-9CD1A1F561B3DFC8;name=Lucene;label=Lucene;version=2.4.1.32, 66E312DD-D083-27C0-64189D16753FD6F0;name=PDF;label=PDF;version=1.0.0.75, FAD67145-E3AE-30F8-1C11A6CCF544F0B7;name=Form;label=Form tags;version=1.0.0.9;since=5.1.0.21, DF28D0A4-6748-44B9-A2FDC12E4E2E4D38;name=Axis;label=Axis 1;version=1.4.0.25;since=5.3.0.20-ALPHA, B737ABC4-D43F-4D91-8E8E973E37C40D1B;name=Image;label=Image;version=1.0.0.27;since=5.3.0.35-ALPHA, 37C61C0A-5D7E-4256-8572639BE0CF5838;name=Esapi;label=ESAPI;version=2.1.0.17;since=5.3.0.37-ALPHA, 8D7FB0DF-08BB-1589-FE3975678F07DB17;name=Compress;label=Compress;version=1.0.0.1;since=5.3.2.31-SNAPSHOT, 6E2CB28F-98FB-4B51-B6BE6C64ADF35473;name=Ajax;label=Ajax;version=1.0.0.3;since=5.3.2.40-SNAPSHOT"
"INFO","main","10/02/2019","12:47:21","extension","installing the extension 7E673D15-D87C-41A6-8B5F1956528C605F;name=MySQL;label=MySQL;version=8.0.15"
"INFO","main","10/02/2019","12:47:21","extension","installing the extension 7E673D15-D87C-41A6-8B5F1956528C605F;name=MySQL;label=MySQL;version=8.0.15 from local provider"
"INFO","main","10/02/2019","12:47:21","extension","deploy context admin/dbdriver/MySQL.cfc"
"INFO","main","10/02/2019","12:47:21","extension","update JDBC Driver [MySQL:class:com.mysql.cj.jdbc.Driver;name:com.mysql.cj;version:8.0.15;] from extension [MySQL:8.0.15]"
"INFO","main","10/02/2019","12:47:21","extension","installing the extension 99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6;name=MSSQL;label=MS SQL Server;version=4.0.2206.100"
"INFO","main","10/02/2019","12:47:21","extension","installing the extension 99A4EF8D-F2FD-40C8-8FB8C2E67A4EEEB6;name=MSSQL;label=MS SQL Server;version=4.0.2206.100 from local provider"
"INFO","main","10/02/2019","12:47:21","extension","deploy context admin/dbdriver/MSSQL.cfc"
"INFO","main","10/02/2019","12:47:21","extension","update JDBC Driver [Microsoft SQL Server (Vendor Microsoft):class:com.microsoft.sqlserver.jdbc.SQLServerDriver;name:mssqljdbc4;version:4.0.2206.100;] from extension [Microsoft SQL Server (Vendor Microsoft):4.0.2206.100]"
"INFO","main","10/02/2019","12:47:21","extension","installing the extension 671B01B8-B3B3-42B9-AC055A356BED5281;name=PostgreSQL;label=PostgreSQL;version=9.4.1212"
"INFO","main","10/02/2019","12:47:21","extension","installing the extension 671B01B8-B3B3-42B9-AC055A356BED5281;name=PostgreSQL;label=PostgreSQL;version=9.4.1212 from local provider"
"INFO","main","10/02/2019","12:47:21","extension","deploy context admin/dbdriver/PostgreSql.cfc"
"INFO","main","10/02/2019","12:47:22","extension","update JDBC Driver [PostgreSQL:class:org.postgresql.Driver;name:org.postgresql.jdbc42;version:9.4.1212;] from extension [PostgreSQL:9.4.1212]"
"INFO","main","10/02/2019","12:47:22","extension","installing the extension 2BCD080F-4E1E-48F5-BEFE794232A21AF6;name=JDTsSQL;label=jTDS (MSSQL);version=1.3.1"
"INFO","main","10/02/2019","12:47:22","extension","installing the extension 2BCD080F-4E1E-48F5-BEFE794232A21AF6;name=JDTsSQL;label=jTDS (MSSQL);version=1.3.1 from local provider"
"INFO","main","10/02/2019","12:47:22","extension","deploy context admin/dbdriver/JTDS.cfc"
"INFO","main","10/02/2019","12:47:22","extension","update JDBC Driver [jTDS (MSSQL,Sybase):class:net.sourceforge.jtds.jdbc.Driver;name:jtds;version:1.3.1;] from extension [jTDS (MSSQL,Sybase):1.3.1]"
"INFO","main","10/02/2019","12:47:22","extension","installing the extension CED6227E-0F49-6367-A68D21AACA6B07E8;name=Admin;label=Lucee Administrator;version=1.0.0.3"
"INFO","main","10/02/2019","12:47:22","extension","installing the extension CED6227E-0F49-6367-A68D21AACA6B07E8;name=Admin;label=Lucee Administrator;version=1.0.0.3 from local provider"
"INFO","main","10/02/2019","12:47:22","extension","update Mapping [/lucee/admin]"
"INFO","main","10/02/2019","12:47:22","extension","installing the extension D46D49C3-EB85-8D97-30BEC2F38561E985;name=Doc;label=Lucee Documentation;version=1.0.0.2"
"INFO","main","10/02/2019","12:47:22","extension","installing the extension D46D49C3-EB85-8D97-30BEC2F38561E985;name=Doc;label=Lucee Documentation;version=1.0.0.2 from local provider"
"INFO","main","10/02/2019","12:47:22","extension","update Mapping [/lucee/doc]"
"INFO","main","10/02/2019","12:47:23","extension","installing the extension 17AB52DE-B300-A94B-E058BD978511E39E;name=S3;label=S3;version=0.9.4.119"
"INFO","main","10/02/2019","12:47:23","extension","installing the extension 17AB52DE-B300-A94B-E058BD978511E39E;name=S3;label=S3;version=0.9.4.119 from local provider"
"INFO","main","10/02/2019","12:47:23","extension","deploy fld s3-functions.fld"
"INFO","main","10/02/2019","12:47:28","extension","update resource provider [s3] from extension [S3 Resource Extension:0.9.4.119]"
"INFO","main","10/02/2019","12:47:28","extension","installing the extension 87FE44E5-179C-43A3-A87B3D38BEF4652E;name=EHCache;label=EHCache;version=2.10.0.31"
"INFO","main","10/02/2019","12:47:28","extension","installing the extension 87FE44E5-179C-43A3-A87B3D38BEF4652E;name=EHCache;label=EHCache;version=2.10.0.31 from local provider"
"INFO","main","10/02/2019","12:47:28","extension","deploy context admin/cdriver/EHCache.cfc"
"INFO","main","10/02/2019","12:47:29","extension","update cache [class:org.lucee.extension.cache.eh.EHCache;name:ehcache.extension;version:2.10.0.31;] from extension [EHCache:2.10.0.31]"
"INFO","main","10/02/2019","12:47:29","extension","installing the extension D46B46A9-A0E3-44E1-D972A04AC3A8DC10;name=Chart;label=CFChart;version=1.0.19.24"
"INFO","main","10/02/2019","12:47:29","extension","installing the extension D46B46A9-A0E3-44E1-D972A04AC3A8DC10;name=Chart;label=CFChart;version=1.0.19.24 from local provider"
"INFO","main","10/02/2019","12:47:36","extension","deploy tld/tldx charttag.tldx"
"INFO","main","10/02/2019","12:47:36","extension","installing the extension FAD1E8CB-4F45-4184-86359145767C29DE;name=Hibernate;label=Hibernate;version=3.5.5.75"
"INFO","main","10/02/2019","12:47:36","extension","installing the extension FAD1E8CB-4F45-4184-86359145767C29DE;name=Hibernate;label=Hibernate;version=3.5.5.75 from local provider"
"INFO","XNIO-1 task-14","10/02/2019","13:18:20","extension","remove admin/dbdriver/MySQL.cfc"
"INFO","XNIO-1 task-14","10/02/2019","13:18:20","extension","remove JDBC Driver [class:com.mysql.cj.jdbc.Driver;name:com.mysql.cj;version:8.0.15;] from extension [MySQL:8.0.15]"
"INFO","XNIO-1 task-26","10/02/2019","13:18:30","extension","remove admin/dbdriver/MSSQL.cfc"
"INFO","XNIO-1 task-26","10/02/2019","13:18:30","extension","remove JDBC Driver [class:com.microsoft.sqlserver.jdbc.SQLServerDriver;name:mssqljdbc4;version:4.0.2206.100;] from extension [Microsoft SQL Server (Vendor Microsoft):4.0.2206.100]"
"INFO","XNIO-1 task-25","10/02/2019","13:18:38","extension","remove admin/dbdriver/PostgreSql.cfc"
"INFO","XNIO-1 task-25","10/02/2019","13:18:38","extension","remove JDBC Driver [class:org.postgresql.Driver;name:org.postgresql.jdbc42;version:9.4.1212;] from extension [PostgreSQL:9.4.1212]"
"INFO","XNIO-1 task-7","10/02/2019","13:18:44","extension","remove admin/dbdriver/JTDS.cfc"
"INFO","XNIO-1 task-7","10/02/2019","13:18:44","extension","remove JDBC Driver [class:net.sourceforge.jtds.jdbc.Driver;name:jtds;version:1.3.1;] from extension [jTDS (MSSQL,Sybase):1.3.1]"
"INFO","XNIO-1 task-15","10/02/2019","13:18:53","extension","remove Mapping [/lucee/doc]"
"INFO","XNIO-1 task-20","10/02/2019","13:19:02","extension","remove FLD file s3-functions.fld"
"INFO","XNIO-1 task-20","10/02/2019","13:19:02","extension","remove resource [class:org.lucee.extension.resource.s3.S3ResourceProvider;name:s3.extension;version:0.9.4.119;] from extension [S3 Resource Extension:0.9.4.119]"
"INFO","XNIO-1 task-29","10/02/2019","13:19:09","extension","remove admin/cdriver/EHCache.cfc"
"INFO","XNIO-1 task-29","10/02/2019","13:19:09","extension","remove cache handler [class:org.lucee.extension.cache.eh.EHCache;name:ehcache.extension;version:2.10.0.31;] from extension [EHCache:2.10.0.31]"
"INFO","XNIO-1 task-5","10/02/2019","13:19:17","extension","remove TLD file charttag.tldx"

Well then, that’s your issue. :slight_smile: I’m a little confused though regarding how you’ve reached this place.

If you’ve purposefully uninstalled all your extensions, or perhaps started a Lucee light server (which comes with no extensions) then this is your own doing and you simply must install the zip extension in order to use the cfzip tag.

If you’ve started up a “normal” Lucee server and expected all extensions to be present, then please see my first reply as I gave you some debugging steps that it appears you haven’t taken yet.

I did remove the ones I thought I wasn’t using. But I don’t see that one in the list.

ok, I found it here:
https://download.lucee.org/

Thanks for the help. Much appreciated.

According to that log, Lucee simply stopped installing things after it reached Hibernate. The first line in your log lists all the extensions that were requested, and the subsequent logs show them being installed. Well, up to hibernate anyway. Perhaps you shutdown the server before it was done? Hard to say. The logging in this area leaves much to be desired and I can’t say I’ve ever gotten any progress in a better solution for when extensions simply “don’t install”.

A short term solution would be to stop, forget, and restart your server. Then go comment and vote on bugs like this which have stalled out:

https://luceeserver.atlassian.net/browse/LDEV-2241
https://luceeserver.atlassian.net/browse/LDEV-641

1 Like

Found what there? You shouldn’t need to get anything from the download page. Just log into the admin and find the icon I highlighted in my screenshot and click install. Or, wipe the server and start from scratch, since you’re likely missing a lot more extensions as well!

I think the compress extension is listed under pre-release or snapshot, and not releases… as it’s not in the screenshot that @nalbee posted…

I had a similar issue a while back, not knowing that compress was an extension. Which I’d not grabbed as I install the lite edition, and it not showing up in the initial list.

Meaning I found

When I went into the extensions on the server it wasn’t showing up. Kinda weird. I put a screenshot above of what was in the admin. I’ll prob wipe it and start over.I think that is a good idea.

Thanks for the help.

Gah, I our last replies keep crossing each other and I’m one message behind. I see your screenshot now and can reproduce this. Clearly a bug in Lucee and I think it’s because there is no stable version of the compress extension. There must be some logic that doesn’t show extensions without a stable version. if I uninstall compress, I can’t get it back. Can you enter a ticket for this? Actually, maybe test out the latest Lucee snapshot first to make sure it’s not fixed there.

Your prob right on that.

There must be some logic that doesn’t show extensions without a stable version.

I’ll play with the latest see if it resolves itself.

@nalbee Cool, if you don’t have to enter a ticket let me know and I’ll make sure one gets in. Looking more closely at the download page, I do see a stable version now of 1.0.0.1. I think I was thrown off since the extension, when installed, showed no stable versions-- perhaps because the only stable version was already installed. Either way, that’s super confusing from a UI perspective and there’s still something fishy keeping it from appearing.