Mailing List Archive

Problem with upgrade to 5.10.0
Just upgraded a server to 5.10.0 and have hit a couple of glitches.


First, one of the URLS ( petzappe ) that was set up using Standard catalog
is no longer functioning.
_________
- - - [09/January/2016:22:14:19 -0600] - - Vend::Payment::AuthorizeNet
payment module initialized, using Net::SSLeay
- - - [09/January/2016:22:14:19 -0600] - - Low traffic settings.
- - - [09/January/2016:22:14:19 -0600] - - ...UI is loaded...
- - - [09/January/2016:22:14:19 -0600] - - Interchange V5.10.0
- - - [09/January/2016:22:14:19 -0600] - - Running with old signals.
- - - [09/January/2016:22:14:19 -0600] - - Config 'ezclark' at server
startup
- - - [09/January/2016:22:14:20 -0600] ezclark - Config 'huldacpz' at server
startup
- - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase locale:
locale import into failed: Wide character in subroutine entry at
/usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.
>
- - - [09/January/2016:22:14:20 -0600] huldacpz - Config 'paradevi' at
server startup
- - - [09/January/2016:22:14:20 -0600] paradevi - LocaleDatabase locale:
locale import into failed: Wide character in subroutine entry at
/usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 5.
>
- - - [09/January/2016:22:14:20 -0600] paradevi - Config 'petzappe' at
server startup
- - - [09/January/2016:22:14:21 -0600] petzappe - START server (22210) (INET
and UNIX)
- - - [09/January/2016:22:14:21 -0600] petzappe - Accepting connections from
localhost|127\.0\.0\.1
- - - [09/January/2016:22:14:21 -0600] petzappe - START server (22210) (INET
and UNIX)
71.91.66.103 mkA2NpnA:71 - [09/January/2016:22:15:21 -0600] petzappe
/~petzappe/cgi-bin/cart.cgi Runtime error: Can't setup DBI handle of
DBI::st=HASH(0x5514cb8) to DBD::Pg::st_mem: unknown _mem package at
/usr/local/lib64/perl5/DBI.pm line 1293.
>
_________
The petzapper.com had been running fine before the upgrade.


Then added a new cart toparticleexposure.com that I want to try setting up
as a CMS after makecat and then restarting Interchange, I get
_________
- - - [09/January/2016:23:00:56 -0600] petzappe - Added/changed catalog
topart:
>
> Directory: /home/toparticleexposu/catalogs/topart
> Script: topart.cgi
>
- - - [09/January/2016:23:00:56 -0600] petzappe - Config 'topart' from
running server (22210)
- - - [09/January/2016:23:00:56 -0600] topart - topart config error: Please
specify the VendURL directive in the configuration file 'catalog.cfg'
>
- - - [09/January/2016:23:00:56 -0600] topart - Error reconfiguring catalog
topart.cgi from running server (22210)
>
- - - [09/January/2016:23:00:56 -0600] topart - Config 'topart' from running
server (22210)
- - - [09/January/2016:23:00:56 -0600] topart - topart config error: Please
specify the VendURL directive in the configuration file 'catalog.cfg'
>

- - - [09/January/2016:23:57:59 -0600] - - Vend::Payment::AuthorizeNet
payment module initialized, using Net::SSLeay
- - - [09/January/2016:23:57:59 -0600] - - Sending debug to
/var/interchange/tmp/icdebug.
- - - [09/January/2016:23:57:59 -0600] - - Low traffic settings.
- - - [09/January/2016:23:57:59 -0600] - - Duplicate usertag pay_cert found
<<<<<<<<<<<<<<<<<<<
> In line 370 of the configuration file
> '/usr/local/interchange/code/template_tag/strap/pay_cert.tag':
> <<<<<<<<<<<<<<<<
_________

Naturally, as a result interchange fails and does not load any of the 5
carts even if I REM out all except 1 cart.
TIA

David


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
David Etheredge wrote:
> Just upgraded a server to 5.10.0 and have hit a couple of glitches.
>
>
> First, one of the URLS ( petzappe ) that was set up using Standard
> catalog is no longer functioning.
> _________
> - - - [09/January/2016:22:14:19 -0600] - - Vend::Payment::AuthorizeNet
> payment module initialized, using Net::SSLeay
> - - - [09/January/2016:22:14:19 -0600] - - Low traffic settings.
> - - - [09/January/2016:22:14:19 -0600] - - ...UI is loaded...
> - - - [09/January/2016:22:14:19 -0600] - - Interchange V5.10.0
> - - - [09/January/2016:22:14:19 -0600] - - Running with old signals.
> - - - [09/January/2016:22:14:19 -0600] - - Config 'ezclark' at server
> startup
> - - - [09/January/2016:22:14:20 -0600] ezclark - Config 'huldacpz' at
> server startup
> - - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase
> locale: locale import into failed: Wide character in subroutine entry
> at /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.
>>
> - - - [09/January/2016:22:14:20 -0600] huldacpz - Config 'paradevi' at
> server startup
> - - - [09/January/2016:22:14:20 -0600] paradevi - LocaleDatabase
> locale: locale import into failed: Wide character in subroutine entry
> at /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 5.
>>
> - - - [09/January/2016:22:14:20 -0600] paradevi - Config 'petzappe' at
> server startup
> - - - [09/January/2016:22:14:21 -0600] petzappe - START server (22210)
> (INET and UNIX)
> - - - [09/January/2016:22:14:21 -0600] petzappe - Accepting
> connections from localhost|127\.0\.0\.1
> - - - [09/January/2016:22:14:21 -0600] petzappe - START server (22210)
> (INET and UNIX)
> 71.91.66.103 mkA2NpnA:71 - [09/January/2016:22:15:21 -0600] petzappe
> /~petzappe/cgi-bin/cart.cgi Runtime error: Can't setup DBI handle of
> DBI::st=HASH(0x5514cb8) to DBD::Pg::st_mem: unknown _mem package at
> /usr/local/lib64/perl5/DBI.pm line 1293.
>>
> _________
> The petzapper.com had been running fine before the upgrade.
>
>
> Then added a new cart toparticleexposure.com that I want to try
> setting up as a CMS after makecat and then restarting Interchange, I get
> _________
> - - - [09/January/2016:23:00:56 -0600] petzappe - Added/changed
> catalog topart:
>>
>> Directory: /home/toparticleexposu/catalogs/topart
>> Script: topart.cgi
>>
> - - - [09/January/2016:23:00:56 -0600] petzappe - Config 'topart' from
> running server (22210)
> - - - [09/January/2016:23:00:56 -0600] topart - topart config error:
> Please specify the VendURL directive in the configuration file
> 'catalog.cfg'
>>
> - - - [09/January/2016:23:00:56 -0600] topart - Error reconfiguring
> catalog topart.cgi from running server (22210)
>>
> - - - [09/January/2016:23:00:56 -0600] topart - Config 'topart' from
> running server (22210)
> - - - [09/January/2016:23:00:56 -0600] topart - topart config error:
> Please specify the VendURL directive in the configuration file
> 'catalog.cfg'
>>
>
> - - - [09/January/2016:23:57:59 -0600] - - Vend::Payment::AuthorizeNet
> payment module initialized, using Net::SSLeay
> - - - [09/January/2016:23:57:59 -0600] - - Sending debug to
> /var/interchange/tmp/icdebug.
> - - - [09/January/2016:23:57:59 -0600] - - Low traffic settings.
> - - - [09/January/2016:23:57:59 -0600] - - Duplicate usertag pay_cert
> found <<<<<<<<<<<<<<<<<<<
>> In line 370 of the configuration file
>> '/usr/local/interchange/code/template_tag/strap/pay_cert.tag':
>> <<<<<<<<<<<<<<<<
> _________
>
> Naturally, as a result interchange fails and does not load any of the
> 5 carts even if I REM out all except 1 cart.
> TIA
>
> David
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
David when you create a strap store you end up with

/usr/local/interchange/code/template_tag/strap/pay_cert.tag,

...but there already is one. I haven't upgraded. I just built strap 3
months ago so I was a in vicious mood and just hacked until it worked. I
either deleted that file (and it's companion) or just cut all the code
out of it.


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
David Etheredge wrote:
> Just upgraded a server to 5.10.0 and have hit a couple of glitches.
>
>
> First, one of the URLS ( petzappe ) that was set up using Standard
> catalog is no longer functioning.
> _________
> - - - [09/January/2016:22:14:19 -0600] - - Vend::Payment::AuthorizeNet
> payment module initialized, using Net::SSLeay
> - - - [09/January/2016:22:14:19 -0600] - - Low traffic settings.
> - - - [09/January/2016:22:14:19 -0600] - - ...UI is loaded...
> - - - [09/January/2016:22:14:19 -0600] - - Interchange V5.10.0
> - - - [09/January/2016:22:14:19 -0600] - - Running with old signals.
> - - - [09/January/2016:22:14:19 -0600] - - Config 'ezclark' at server
> startup
> - - - [09/January/2016:22:14:20 -0600] ezclark - Config 'huldacpz' at
> server startup
> - - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase
> locale: locale import into failed: Wide character in subroutine entry
> at /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.
>>
> - - - [09/January/2016:22:14:20 -0600] huldacpz - Config 'paradevi' at
> server startup
> - - - [09/January/2016:22:14:20 -0600] paradevi - LocaleDatabase
> locale: locale import into failed: Wide character in subroutine entry
> at /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 5.
>>
> - - - [09/January/2016:22:14:20 -0600] paradevi - Config 'petzappe' at
> server startup
> - - - [09/January/2016:22:14:21 -0600] petzappe - START server (22210)
> (INET and UNIX)
> - - - [09/January/2016:22:14:21 -0600] petzappe - Accepting
> connections from localhost|127\.0\.0\.1
> - - - [09/January/2016:22:14:21 -0600] petzappe - START server (22210)
> (INET and UNIX)
> 71.91.66.103 mkA2NpnA:71 - [09/January/2016:22:15:21 -0600] petzappe
> /~petzappe/cgi-bin/cart.cgi Runtime error: Can't setup DBI handle of
> DBI::st=HASH(0x5514cb8) to DBD::Pg::st_mem: unknown _mem package at
> /usr/local/lib64/perl5/DBI.pm line 1293.
>>
> _________
> The petzapper.com had been running fine before the upgrade.
>
>
> Then added a new cart toparticleexposure.com that I want to try
> setting up as a CMS after makecat and then restarting Interchange, I get
> _________
> - - - [09/January/2016:23:00:56 -0600] petzappe - Added/changed
> catalog topart:
>>
>> Directory: /home/toparticleexposu/catalogs/topart
>> Script: topart.cgi
>>
> - - - [09/January/2016:23:00:56 -0600] petzappe - Config 'topart' from
> running server (22210)
> - - - [09/January/2016:23:00:56 -0600] topart - topart config error:
> Please specify the VendURL directive in the configuration file
> 'catalog.cfg'
>>
> - - - [09/January/2016:23:00:56 -0600] topart - Error reconfiguring
> catalog topart.cgi from running server (22210)
>>
> - - - [09/January/2016:23:00:56 -0600] topart - Config 'topart' from
> running server (22210)
> - - - [09/January/2016:23:00:56 -0600] topart - topart config error:
> Please specify the VendURL directive in the configuration file
> 'catalog.cfg'
>>
>
> - - - [09/January/2016:23:57:59 -0600] - - Vend::Payment::AuthorizeNet
> payment module initialized, using Net::SSLeay
> - - - [09/January/2016:23:57:59 -0600] - - Sending debug to
> /var/interchange/tmp/icdebug.
> - - - [09/January/2016:23:57:59 -0600] - - Low traffic settings.
> - - - [09/January/2016:23:57:59 -0600] - - Duplicate usertag pay_cert
> found <<<<<<<<<<<<<<<<<<<
>> In line 370 of the configuration file
>> '/usr/local/interchange/code/template_tag/strap/pay_cert.tag':
>> <<<<<<<<<<<<<<<<
> _________
>
> Naturally, as a result interchange fails and does not load any of the
> 5 carts even if I REM out all except 1 cart.
> TIA
>
> David
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>
I used postgres for the first time and it returned premature end of
scripts sporadically on pages with options so I reverted to mysql.

I had troubles with DBD::Pg too. It was a shit fight.

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
Quoting David Etheredge (David_e@charter.net):
> Just upgraded a server to 5.10.0 and have hit a couple of glitches.

Ok, let's look at the relevant errors:

> - - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase locale:
> locale import into failed: Wide character in subroutine entry at
> /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.

This is a UTF-8 problem -- I don't know for sure how to resolve, but it
is going to depend on your Perl version, catalog config, etc.

You might need to comment these two lines in catalog.cfg, if they are
present:

Variable MV_UTF8 1
Variable MV_HTTP_CHARSET utf-8

Then set an environment variable of `MINIVEND_DISABLE_UTF8` to `1`, and
restart IC.

Otherwise, this may help:
http://www.icdevgroup.org/pipermail/interchange-users/2012-August/053697.html

What Perl version are you running?


> 71.91.66.103 mkA2NpnA:71 - [09/January/2016:22:15:21 -0600] petzappe
> /~petzappe/cgi-bin/cart.cgi Runtime error: Can't setup DBI handle of
> DBI::st=HASH(0x5514cb8) to DBD::Pg::st_mem: unknown _mem package at
> /usr/local/lib64/perl5/DBI.pm line 1293.

Hmm, I'm not sure...


> Then added a new cart toparticleexposure.com that I want to try setting up
> as a CMS after makecat and then restarting Interchange, I get
>
>[snip]
>
> - - - [09/January/2016:23:00:56 -0600] topart - topart config error: Please
> specify the VendURL directive in the configuration file 'catalog.cfg'

If you're using the Strap catalog, then VendURL is defined here in
catalog.cfg:
https://github.com/interchange/interchange/blob/master/dist/strap/catalog.cfg#L121

If you have the associated SERVER_NAME and CGI_URL variables defined in
products/variables.txt, then perhaps you have a permissions problem on
variables.txt?


> - - - [09/January/2016:23:57:59 -0600] - - Duplicate usertag pay_cert found
> <<<<<<<<<<<<<<<<<<<
> >In line 370 of the configuration file
> >'/usr/local/interchange/code/template_tag/strap/pay_cert.tag':
> ><<<<<<<<<<<<<<<<

see:
https://github.com/interchange/interchange/blob/master/dist/strap/README#L26

--
Josh Lavin
End Point Corporation

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
On 01/11/2016 09:52 PM, Josh Lavin wrote:
> Quoting David Etheredge (David_e@charter.net):
>> Just upgraded a server to 5.10.0 and have hit a couple of glitches.
>
> Ok, let's look at the relevant errors:
>
>> - - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase locale:
>> locale import into failed: Wide character in subroutine entry at
>> /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.
>
> This is a UTF-8 problem -- I don't know for sure how to resolve, but it
> is going to depend on your Perl version, catalog config, etc.
>
> You might need to comment these two lines in catalog.cfg, if they are
> present:
>
> Variable MV_UTF8 1
> Variable MV_HTTP_CHARSET utf-8
>
> Then set an environment variable of `MINIVEND_DISABLE_UTF8` to `1`, and
> restart IC.
>
> Otherwise, this may help:
> http://www.icdevgroup.org/pipermail/interchange-users/2012-August/053697.html
>
> What Perl version are you running?
>

Locale database works with UTF-8, if the text file is UTF-8
encoded and you set

Database locale GDBM_ENABLE_UTF8 1

Actually, all databases need this flag if you are using UTF-8 encoding
for them.

I think that is a bug in the strap catalog.

Regards
Racke

>
>> 71.91.66.103 mkA2NpnA:71 - [09/January/2016:22:15:21 -0600] petzappe
>> /~petzappe/cgi-bin/cart.cgi Runtime error: Can't setup DBI handle of
>> DBI::st=HASH(0x5514cb8) to DBD::Pg::st_mem: unknown _mem package at
>> /usr/local/lib64/perl5/DBI.pm line 1293.
>
> Hmm, I'm not sure...
>
>
>> Then added a new cart toparticleexposure.com that I want to try setting up
>> as a CMS after makecat and then restarting Interchange, I get
>>
>> [snip]
>>
>> - - - [09/January/2016:23:00:56 -0600] topart - topart config error: Please
>> specify the VendURL directive in the configuration file 'catalog.cfg'
>
> If you're using the Strap catalog, then VendURL is defined here in
> catalog.cfg:
> https://github.com/interchange/interchange/blob/master/dist/strap/catalog.cfg#L121
>
> If you have the associated SERVER_NAME and CGI_URL variables defined in
> products/variables.txt, then perhaps you have a permissions problem on
> variables.txt?
>
>
>> - - - [09/January/2016:23:57:59 -0600] - - Duplicate usertag pay_cert found
>> <<<<<<<<<<<<<<<<<<<
>>> In line 370 of the configuration file
>>> '/usr/local/interchange/code/template_tag/strap/pay_cert.tag':
>>> <<<<<<<<<<<<<<<<
>
> see:
> https://github.com/interchange/interchange/blob/master/dist/strap/README#L26
>


--
Perl and Dancer Development

Visit our Perl::Dancer conference 2015.
More information on https://www.perl.dance.


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
> On 01/11/2016 09:52 PM, Josh Lavin wrote:
> > Quoting David Etheredge (David_e@charter.net):
> >> Just upgraded a server to 5.10.0 and have hit a couple of glitches.
> >
> > Ok, let's look at the relevant errors:
> >
> >> - - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase locale:
> >> locale import into failed: Wide character in subroutine entry at
> >> /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.
> >
> > This is a UTF-8 problem -- I don't know for sure how to resolve, but it
> > is going to depend on your Perl version, catalog config, etc.
> >
> > You might need to comment these two lines in catalog.cfg, if they are
> > present:
> >
> > Variable MV_UTF8 1
> > Variable MV_HTTP_CHARSET utf-8
> >
> > Then set an environment variable of `MINIVEND_DISABLE_UTF8` to `1`, and
> > restart IC.
> >
> > Otherwise, this may help:
> > http://www.icdevgroup.org/pipermail/interchange-users/2012-August/053697.html
> >
> > What Perl version are you running?
> >
>
> Locale database works with UTF-8, if the text file is UTF-8
> encoded and you set
>
> Database locale GDBM_ENABLE_UTF8 1
>
> Actually, all databases need this flag if you are using UTF-8 encoding
> for them.
>
> I think that is a bug in the strap catalog.

The user here isn't using Strap, remember.

--
Josh Lavin
End Point Corporation

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
On 01/12/2016 05:30 PM, Josh Lavin wrote:
> Quoting Stefan Hornburg (Racke) (racke@linuxia.de):
>> On 01/11/2016 09:52 PM, Josh Lavin wrote:
>>> Quoting David Etheredge (David_e@charter.net):
>>>> Just upgraded a server to 5.10.0 and have hit a couple of glitches.
>>>
>>> Ok, let's look at the relevant errors:
>>>
>>>> - - - [09/January/2016:22:14:20 -0600] huldacpz - LocaleDatabase locale:
>>>> locale import into failed: Wide character in subroutine entry at
>>>> /usr/local/interchange/lib/Vend/Table/Common.pm line 516, <IN> line 2.
>>>
>>> This is a UTF-8 problem -- I don't know for sure how to resolve, but it
>>> is going to depend on your Perl version, catalog config, etc.
>>>
>>> You might need to comment these two lines in catalog.cfg, if they are
>>> present:
>>>
>>> Variable MV_UTF8 1
>>> Variable MV_HTTP_CHARSET utf-8
>>>
>>> Then set an environment variable of `MINIVEND_DISABLE_UTF8` to `1`, and
>>> restart IC.
>>>
>>> Otherwise, this may help:
>>> http://www.icdevgroup.org/pipermail/interchange-users/2012-August/053697.html
>>>
>>> What Perl version are you running?
>>>
>>
>> Locale database works with UTF-8, if the text file is UTF-8
>> encoded and you set
>>
>> Database locale GDBM_ENABLE_UTF8 1
>>
>> Actually, all databases need this flag if you are using UTF-8 encoding
>> for them.
>>
>> I think that is a bug in the strap catalog.
>
> The user here isn't using Strap, remember.
>

Uh, you are right. Still the configuration setting applies in general.

Did you test the strap catalog with UTF-8 data?

Regards
Racke

--
Perl and Dancer Development

Visit our Perl::Dancer conference 2015.
More information on https://www.perl.dance.


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
Re: Problem with upgrade to 5.10.0 [ In reply to ]
Thank you all for the help on thiese problems. Following is an update.

The UTF-8 was easy to resolve. Apparently, a few of our html files had a
non-UTF-8 char ( T ) which needed to be replaced with &trade;

That was an easy fix.

The problem with petzapper.com was also a easy temporary fix, I just
disabled the cart and resolved to index.html temporarily. No problem here as
the cart is not being used on that site.

toparticleexposure.com is not fixed at present, it is secondary.

Still working on a few issues with huldaclarkparazapper.com but so far, I am
liking 5.10.0 and strap. It is definitely improved over previous versions. I
hope to get the site live by next Monday or Tuesday.




David


_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users