Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • International
  • Dutch
  • Ondersteuning
  •  
  • $_COOKIE in snippet wordt niet gelezen in 2.1.1#

  • 35303
    4

    kroonweb Reply #1, 11 months, 2 weeks ago

    Reply
    • Link to this post#1
    onderstaande snippets werkten voor een custom shopping cart prima, nu met versie 2.1.1 niet meer.
    <?php
    $total = 0;
    $hash = $_COOKIE['hash'];
    ...
    <?php
    $hash = $_COOKIE['hash'];
    if ($hash=="") {$hash = md5("modx".mt_rand());}
    return $hash;

    weet iemand hoe dit simpel te herstellen?
    $modx->query() i.p.v. $modx->db->query() is gepubliceerd en kon ik snel vinden, maar dit niet.

    thx,
    Pieter


  • 35303
    4

    kroonweb Reply #2, 11 months, 1 week ago

    Reply
    • Link to this post#2
    workaround: http://modxcms.com/forums/index.php/topic,65510.msg370050.html#msg370050





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
kroonweb

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy