What version of CGI::Application are you using?
Oops, I was still using 3.21. That's another reason to use a build system; it would have caught this dependency and warned me.
Yep.
At any rate, upgrading did the trick. Now I'm faced with missing images. I figured out that I needed to change the settings in the [net] section of flexmart_host.ini. I'm using a local server which has only a single name so have setup net as follows:
[net] tld=flexmart sld= 3ld=
This gives me the following error:
Invalid interpolate token found in /home/william/local/flexmart-0.1/fmdemo/conf/flexmart_host.ini for value 'net.3ld' at /home/william/local/flexmart-0.1/flexmart/lib/Config/IniFiles/Interpolate.pm line 145. Removing the sld and 3ld entries produced the same error. Any ideas?
This is actually a feature, but the error message is not clear.
This would be the new error message:
Invalid interpolate token found in 'net.fqd' for token 'net.3ld' at /hdb/www/flexmart/lib/Config/IniFiles/Interpolate.pm line 145.
net.fqd is defined as follows in flexmart_sys.ini:
[net]
fqd={net.3ld}.{net.sld}.{net.tld}The interpolate function assumes that if you include an interpolateable value and if that value does not come back TRUE, then you mistakenly forgot to define the interpolateable value. Thus, for net.fqd, the interpolate function expects net.3ld to return as a TRUE value. This is good, except it breaks when net.3ld is 'zero' as well, which is not good.
IOW, while the above described bug needs to be fixed, you will still need to defined a fully qualified domain name while using FlexMart; net.fqd requires it and FlexMart expects net.fqd to return the proper domain name. Future versions of FlexMart may finesse this further, but for now, a fully qualified domain name is required.
Bill
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
