hero image

How to change Timezone on subscription

Home Forums WordPress Themes Countdown How to change Timezone on subscription

Forums WordPress Themes Countdown How to change Timezone on subscription

PLEASE NOTE A RECENT CHANGE:
The forum is read-only. Please submit any support request here.

This topic contains 3 replies, has 2 voices, and was last updated by  mihai 3 years, 1 month ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • genrecount08
    Member
    TT Client
    #72006

    Hello,
    I am new to wordpress and learning as much as I can, but I am stumped on this issue. I am trying to make the subscription work when I place a email address, but the following keeps coming up:

    Warning: date(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. in /home/genreo5/public_html/wp-content/themes/mycountdown/php/subscribes.php on line 17

    Also, wondering on how to delete the following information like “© 2012 COUNTDOWN – DESIGN BY RED SKY”.

    Any resolutions to this problem I have currently? Thanks for your assistance.


    mihai
    Member
    Member
    #72095

    Hello,

    Please send your WP (WP installation URL, WP username, WP password) and FTP (FTP host, FTP username, FTP password and optional: FTP port) credentials as a reply to the email you just got from us that contains this thread. This message will be kept private and only TeslaThemes support staff will see it. Once we get them, your issue will be resolved much quicker.
    Thanks for understanding.

    Regards.


    genrecount08
    Member
    TT Client
    #72281

    Hello,
    Wondering if you can provide assistance on this matter instead of me giving you access. Sorry, but I am new to this and would like to learn as much as I can without giving access. Please look at the following information below:<br />
    <?php

    /*
    |————————————————————————–
    | Subscription module
    |————————————————————————–
    |
    | These module are used when subscribing email from input text
    |
    */

    /* SECTION I – CONFIGURATION */

    $myFile = “../subscriptions.txt”;
    $date = date( “F j, Y, g:i a” ); – this may be the problem, but not sure.

    /* SECTION II – CODE */
    if ( ! empty( $_POST[ ’email’ ] ) ) {
    $fh = fopen( $myFile, ‘a’ ) or die( “can’t open file” );
    $stringData = ($_POST[ ’email’ ]) . ” | ” . $date . “\r\n”;
    if ( fwrite( $fh, $stringData ) )
    $result = “Your e-mail was added to subscriptions. Thanks “;
    else
    $result = “Operation could not be completed.”;
    fclose( $fh );
    }else {
    $result = “Please insert your email”;
    }
    echo $result;
    ?>

    Wondering if you can provide assistance on this matter? Thanks.


    mihai
    Member
    Member
    #72290

    Hello,
    Sorry but we are here to offer client support if you allow us, not to offer free courses of wp, sorry about this but we have more than 200 tickets to solve and we really don’t have the time for courses.
    By the way, your date is to be set from Dashboard > Settings > General > Timezone.
    Regards.

Viewing 4 posts - 1 through 4 (of 4 total)

How to change Timezone on subscription

Home Forums WordPress Themes Countdown How to change Timezone on subscription

[i]
[i]
[i]
[i]