[ic] catalog working, no admin/login, unable to checkout

IC Support ic_support at mnwebdesign.com
Fri Sep 16 21:58:08 UTC 2011


Peter said: 

> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org 
> [mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of Peter
> Sent: Thursday, September 15, 2011 4:37 PM
> To: interchange-users at icdevgroup.org
> Subject: Re: [ic] catalog working, no admin/login, unable to checkout
> 
> On 16/09/11 09:26, IC Support wrote:
> > OK, I now have 2 separate catalogs that only run in the admin, 
> > Internal server error in customer side.
> > Both cats exhibit the same error in the cat error log:
> > 
> > /cgi-bin/1982 Runtime error: Can't locate object method "func" via 
> > package "DBI::db" at 
> > 
> /usr/local/perl-5.12.4/lib/site_perl/5.12.4/x86_64-linux/DBD/mysql.pm 
> > line 227.
> > 
> > Somehow it seems I need to remove and reinstall DBD or DBI or ?
> 
> It won't hurt to try that, but I'm pretty sure it won't work. 
>  This still looks like a Safe error to me.  What does the 
> global error.log say?

Same as the cat error log, above.
I just tarred my cat: tar xzf cat1.tar.gz mycat
I unpacked in CATROOT/: tar xzf cat1.tar.gz

Deleted all the .gdbm and .sql files. Restart Interchange.

Same problem. The cat starts up, no customer interface, full use of admin, I
see this in global log:
 
[15/September/2011:18:37:34 -0400] 1982 /cgi-bin/1982 Runtime error: Can't
locate object method "func" via package "DBI::db" at
/usr/local/perl-5.12.4/lib/site_perl/5.12.4/x86_64-linux/DBD/mysql.pm line
227.

> > My test cats DO NOT have any issues.
> 
> Which only goes to support my theory that it's not a problem 
> with DBD::mysql or DBI

Yeah, that makes sense.


OK, here is an update. As a test, I have 'copied over' my cat folders by
ftp'ing directly into the folders of my running test cat in CATROOT/pages
/products /templates /dbconf /etc catalog.cfg, and so on. I now continue to
have full use of admin and my customer side is running, although it is
missing the LEFT_ONLY_TOP and BOTTOM. It seems to be working otherwise. 

So when a page is called that has this in it:
@_LEFTONLY_TOP_@
<!-- BEGIN CONTENT -->
....etc
<!-- END CONTENT -->
@_LEFTONLY_BOTTOM_@


If I view the source in my browser I only see:
<!-- BEGIN CONTENT -->
....etc
<!-- END CONTENT -->

If I have this in variable.txt:
STYLE	foundation	Template
I get Internal server error until I remove it

my catalog.cfg has this:
ifndef STYLE
Variable STYLE default 
endif
include templates/__STYLE__/theme.cfg
#if I change 'default' to 'foundation' I get Internal server error


my templates are located:
CATROOT/templates/foundation/regions

My CATROOT/templates/foundation/theme.cfg has this:
Variable  THEME             foundation
## Here we pick up the region variables like LEFTONLY_TOP and
LEFTONLY_BOTTOM.
##
DirConfig Variable templates/__THEME__/regions

I have looked around for erroneous/duplicate entries of these variables.

No errors are showing up anywhere now, as if all is well, just not finding
the templates. Can anyone offer any help, it looks OK to me?

Thanks for trying!

Curt







More information about the interchange-users mailing list