X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Incorrect Login Problem (https://forum.x-cart.com/showthread.php?t=44031)

presson83 12-03-2008 07:27 AM

Incorrect Login Problem
 
Hi All,

My site is currently spitting out a weird error when you try to login with incorrect information. It's going to the right page ( error_message.php?login_incorrect ) but rather than providing another login page it's giving this error:

Fatal error: Cannot use string offset as an array in /home/smoke/public_html/var/templates_c/%%80^80E^80EECF8E%%error_login_incorrect.tpl.php on line 4

Any Ideas?

Victor D 12-04-2008 12:04 AM

Re: Incorrect Login Problem
 
1. Try to execute cleanup.php on your store root or clean up templates cache in admin
2. If the problem is not solved check if your into skin1/main/error_login_incorrect.tpl looks like this:
HTML Code:


{* $Id: error_login_incorrect.tpl,v 1.35 2005/11/30 17:02:36 max Exp $ *}
{$lng.txt_login_incorrect}
<p />
{capture name=dialog}
{include file="main/login_form.tpl"}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_authentication content=$smarty.capture.dialog extra='width="100%"'}

I have found there is no quota symbol in line {include file="main/login_form.tpl"}

presson83 12-04-2008 10:01 AM

Re: Incorrect Login Problem
 
Thanks Victor! My template was screwy. Pasted in that Code and now I'm good to go!


All times are GMT -8. The time now is 07:26 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.