Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Upgrade your site to Smarty 2.6.2

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 05-19-2004, 05:02 AM
 
jeremye jeremye is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Philadelphia, PA
Posts: 158
 

Default

Hmm, that's odd. I tried using your Zipped file but to no avail. When you upgraded to 2.6.2, did you copy over the NEW Smarty.class.php file, or did you keep the old 2.5.0 version of the file?

I can't wrap my head around this one. I even went and checked the source code of the pages while in webmaster mode and all of the SPAN and DIV tags are there, but the dmo and dmu javascript function just don't seem to be working!

We know the javascript functions are somewhat functional, since the labels show up, and when you double-click a label it pops up the little box that allows you to change it. But it is the portion that shows the template names "single/home.tpl > dialog.tpl > blah.tpl" that isn't working.

Now that I write this, I am almost positive that it has to do with variable names being different, or something to that effect. But why do some people have the problem and others don't?
__________________
Jeremy
X-Cart Gold v3.4.14 [Linux/Apache]
Heavily Modded
Reply With Quote
  #32  
Old 05-19-2004, 05:40 AM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

I'm using the 2.6.2 version of the file and everything is working!?

Maybe it has to do with you using v3.4.14 of Xcart?
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote
  #33  
Old 05-19-2004, 05:59 AM
 
jeremye jeremye is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Philadelphia, PA
Posts: 158
 

Default

Quote:
Originally Posted by GM
I'm using the 2.6.2 version of the file and everything is working!? :?:

Maybe it has to do with you using v3.4.14 of Xcart?

I wish that were so... darrenkierman is having the same problem and he is on 3.5.7.
__________________
Jeremy
X-Cart Gold v3.4.14 [Linux/Apache]
Heavily Modded
Reply With Quote
  #34  
Old 05-19-2004, 11:19 PM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

i have tried using your version of the files (as included in your zip file) but to no avail. The status bar information is still not coming up.

I dont really use the webmaster mode anyway so its not a major problem for me, but if we can sort it, would be great .... will keep on looking !
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #35  
Old 05-21-2004, 10:37 AM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

darrenkierman,

Great post, worked like a charm.

Thank you
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat]
Reply With Quote
  #36  
Old 05-21-2004, 01:23 PM
 
GM GM is offline
 

eXpert
  
Join Date: Mar 2004
Location: Canada
Posts: 293
 

Default

No problems with "Webmaster" mode in admin either?
Let us know, it works great for me too.
__________________
v. 4.0.14 (GM Style)
O.S. Linux
Build Your Own Diamond Ring
Reply With Quote
  #37  
Old 05-30-2004, 09:36 AM
 
FX FX is offline
 

Member
  
Join Date: May 2004
Location: US
Posts: 12
 

Default

I have Smarty-2.6.2 and just upgraded to x-cart-3.5.8 and encountered a few problems:

1. When I click "Contact us" link, instead of contact us form I get follow up message "Your message was successfully sent to our support team. We will reply to you shortly."

2. When I do anonymous checkout, after filling up all the billing/shipping details (step 1 of 3) and click submit, it just jumps back to View Cart screen.

thats what I found so far...
But everything works fine with Smarty-2.5.0
Reply With Quote
  #38  
Old 06-01-2004, 04:06 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

problem here as well ...

think its to do with the following smarty command:

Code:
{if $smarty.get.mode eq "update"}
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #39  
Old 06-01-2004, 04:32 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

heres the problem :

Code:
Index: top.inc.php =================================================================== --- top.inc.php 25 Mar 2004 06:57:07 -0000 1.1.2.5 +++ top.inc.php 26 May 2004 12:16:05 -0000 1.1.2.8 @@ -31,7 +31,7 @@ \*****************************************************************************/ # -# $Id: top.inc.php,v 1.1.2.5 2004/03/25 06:57:07 mclap Exp $ +# $Id: top.inc.php,v 1.1.2.8 2004/05/26 12:16:05 mclap Exp $ # @@ -42,12 +42,19 @@ # # Remove results of automatic variables registration then register_globals=on # -unset($GLOBALS); -$GLOBALS["HTTP_GET_VARS"] =& $HTTP_GET_VARS; -$GLOBALS["HTTP_POST_VARS"] =& $HTTP_POST_VARS; -$GLOBALS["HTTP_SERVER_VARS"] =& $HTTP_SERVER_VARS; -$GLOBALS["HTTP_ENV_VARS"] =& $HTTP_ENV_VARS; -$GLOBALS["HTTP_COOKIE_VARS"] =& $HTTP_COOKIE_VARS; + +foreach (get_defined_vars() as $__key=>$__val) { + if (defined('USE_TRUSTED_POST_VARIABLES') && $__key == "trusted_post_variables") continue; + + if (defined('XCART_INSTALL') && $__key == "module_definition") continue; + + if (!in_array($__key, array("HTTP_GET_VARS","HTTP_POST_VARS","HTTP_SERVER_VARS","HTTP_ENV_VARS","HTTP_COOKIE_VARS","HTTP_POST_FILES","__key","__val"))) { + unset($$__key); + } +} + +unset($__key); +unset($__val); # # Directories structure definitions

undo that patch file and it works again !
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #40  
Old 06-01-2004, 04:36 AM
 
cmtrade cmtrade is offline
 

Advanced Member
  
Join Date: Dec 2003
Location: Florida
Posts: 30
 

Default

The new top.inc has screwed up a lot of things.
__________________
Dan.
KingWebmaster, LLC
Professional Website Development
http://www.kingwebmaster.com
http://www.autodataentry.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:45 AM.

   

 
X-Cart forums © 2001-2020