Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 39
  1. #21
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by lat9 View Post
    FWIW, I was able to work around this restriction by changing /zc_install/includes/application_top.php (line 52) to comment out the lines associated with the restriction:
    Code:
    /**
     * Timezone problem detection
     */
    //if (PHP_VERSION >= '5.3' && ini_get('date.timezone') == '')
    //{
    //  die('ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.');
    /*} else*/ if (PHP_VERSION >= '5.1') {
      $baseTZ = date_default_timezone_get();
      date_default_timezone_set($baseTZ);
      unset($baseTZ);
    }
    It turns out that, while 1and1 doesn't set a default timezone in the php.ini, they do set a default via date_default_timezone_set(). That said, modifying the fragment in the installation application_top.php to the following allows the install to (properly) proceed on a 1and1 server while preserving the integrity of the PHP environment (i.e. the date/timezone is set as required for PHP v5.4 and later):
    Code:
    /**
     * Timezone problem detection
     */
    if (PHP_VERSION >= '5.3' && /*ini_get('date.timezone')*/ date_default_timezone_get() == 'UTC')
    {
      die('ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.');
    } else if (PHP_VERSION >= '5.1') {
      $baseTZ = date_default_timezone_get();
      date_default_timezone_set($baseTZ);
      unset($baseTZ);
    }

  2. #22
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by dw08gm
    Have the following mods been fully incorporated in 152

    search_configuration_keys
    Fix_Cache_key utility
    Keepalive Timer
    time zone offset
    The keepalive-timer "stub" is incorporated (ie: the core-file that is altered to make it work is now included), but the rest of that plugin is not.

    The timezone offset plugin is now obsolete since the functionality for it has been incorporated.

    And yes, as the whats_new file says, the Fix_Cache_Key utility and search-configuration-keys plugins are incorporated. Will add a note to the file to say those plugins are now obsolete.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #23
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by lat9 View Post
    In /includes/templates/template_default/templates/tpl_account_default.php, shouldn't the constant used in this fragment:
    Code:
    <?php
      if ((int)ACCOUNT_NEWSLETTER_STATUS > 0 or CUSTOMERS_PRODUCTS_NOTIFICATION_STATUS !='0') {
    ?>
    <h2><?php echo EMAIL_NOTIFICATIONS_TITLE; ?></h2>
    <ul id="myAccountNotify" class="list">
    <?php
      if ((int)ACCOUNT_NEWSLETTER_STATUS > 0) {
    ?>
    <li><?php echo ' <a href="' . zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL') . '">' . EMAIL_NOTIFICATIONS_NEWSLETTERS . '</a>'; ?></li>
    <?php } //endif newsletter unsubscribe ?>
    be SHOW_NEWSLETTER_UNSUBSCRIBE_LINK instead of ACCOUNT_NEWSLETTER_STATUS? The latter is the default setting for a customer's choice of newsletter sign-up (or not).
    Are you saying this is incorrect? https://github.com/zencart/zencart/c...60342af8ca313f ... it was done as a result of your post here: http://www.zen-cart.com/showthread.p...nt_default-php
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #24
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by lat9 View Post
    Was there a (good) reason why the selectable-countries change introduced in v1.5.2 chose to call the enable/disable field status instead of countries_active as it is in the Selectable Countries plugin? The only reason I ask is that it's going to make the upgrade to v1.5.2 more difficult for current users of the plugin since they'll need to re-disable those countries that they don't want.
    I see you've already written a script to migrate their existing settings: http://www.zen-cart.com/showthread.p...83#post1228583
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #25
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Pre-release feedback for v1.5.2

    Sorry, "senior" moment ...

  6. #26
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by DrByte View Post
    I see you've already written a script to migrate their existing settings: http://www.zen-cart.com/showthread.p...83#post1228583
    Having received no response for a week, I figured that it was going to be necessary and posted that script as a proposed work-around. If the field name in v1.5.2 is going to "take on" the countries_active name, then I can modify Selectable Countries' upgrade instructions to simply include the list of files to delete.

  7. #27
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by lat9 View Post
    Having received no response for a week, I figured that it was going to be necessary and posted that script as a proposed work-around. If the field name in v1.5.2 is going to "take on" the countries_active name, then I can modify Selectable Countries' upgrade instructions to simply include the list of files to delete.
    "status" was deemed to be more semantically correct, hence the choice to use it instead of "countries_active"
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #28
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: Pre-release feedback for v1.5.2

    Quote Originally Posted by lat9 View Post
    It turns out that, while 1and1 doesn't set a default timezone in the php.ini, they do set a default via date_default_timezone_set(). That said, modifying the fragment in the installation application_top.php to the following allows the install to (properly) proceed on a 1and1 server while preserving the integrity of the PHP environment (i.e. the date/timezone is set as required for PHP v5.4 and later):
    Code:
    /**
     * Timezone problem detection
     */
    if (PHP_VERSION >= '5.3' && /*ini_get('date.timezone')*/ date_default_timezone_get() == 'UTC')
    {
      die('ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.');
    } else if (PHP_VERSION >= '5.1') {
      $baseTZ = date_default_timezone_get();
      date_default_timezone_set($baseTZ);
      unset($baseTZ);
    }
    Is there a reason why my proposed "fix" didn't make it into RC2? I know that 1and1 can be problematic, but I'm not sure how many people have installed the v1.5.2 candidate on other Linux servers and how many of those servers would have implemented the same (workable) timezone solution as 1and1. Note that using date_default_timezone_get encompasses the date.timezone setting in the php.ini file.

  9. #29
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default 1.5.2 RC2 changed_files-v1-5-2.html

    Minor:

    Documentation: "/includes/dist_configure.php". Distribution Zip: "/includes/dist-configure.php"
    Documentation: "/admin/includes/dist_configure.php". Distribution Zip: "/admin/includes/dist-configure.php"
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  10. #30
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: 1.5.2 RC2 changed_files-v1-5-2.html

    The admin page loading issue I experienced in RC1 has been fixed in RC2. Thanks team!
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Pre-release notice for v1.5.2
    By DrByte in forum Zen Cart Release Announcements
    Replies: 1
    Last Post: 17 Dec 2013, 09:31 PM
  2. AuctionBlox Release For Zencart
    By ABX Jon in forum General Questions
    Replies: 1
    Last Post: 20 Jun 2008, 05:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg