Posts by christophfreyer

    This works fine, but in the moment I change the date to the following:

    and in the template to:

    Code
    1. <perch:content type="date" id="date" label="Datum" time="local" format="d.m.Y, H:i" label="Event date" order="1">

    I also changed the config.php to:

    Code
    1. define('PERCH_TZ', 'Europe/Vienna'); setlocale(LC_ALL, 'de_AT.UTF-8');

    unfortunally it doesn't work. It displays all entries again.

    T tried a version without the blocks and I got still the same issue.
    my php:

    and here is my template (eventtest.html):

    I try to filter by date, so that all future dates would be shown. I tried a couple of solutions but it always shows all my entries.
    my code part of the page: eventtest.php - (I am not using the events app)

    and in the template eventtest.html I'm using this simplified Code:


    I would be glad about any suggestions because I am really stuck.

    these are my configs in Perch:

    Code
    1. define('PERCH_EMAIL_FROM', 'bureau@christoph-freyer.at');
    2. define('PERCH_EMAIL_FROM_NAME', 'Christoph Freyer');
    3. define('PERCH_EMAIL_METHOD', 'smtp');
    4. define('PERCH_EMAIL_HOST', 'smtp.world4you.com');
    5. define('PERCH_EMAIL_AUTH', true);
    6. //define('PERCH_EMAIL_SECURE', 'ssl');
    7. define('PERCH_EMAIL_PORT', 587);
    8. define('PERCH_EMAIL_USERNAME', 'bureau@christoph-freyer.at');
    9. define('PERCH_EMAIL_PASSWORD', 'XXXXX');

    I tried the settings from control panel. Only if I shut off the ssl I could send e-mails from Perch to the ouside of the system. These are all the configurations which I got from the hoster.

    Yes I'm using it - the latest version.

    I think I managed it for the moment.

    I wrote in the configs the e-mail-configs of one account. These I took at the first form in the form Options and in the second form I wrote the different address into the form options. I don't know if this is the correct way. I can't receive the automated answer to the sending person. And I also had to turn off the ssl in the configs.

    I tried it now without a switch and I got this debug-message:


    get(): ">[30] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
    find_by_path(): "> [1] SELECT * FROM perch3_pages WHERE pagePath='/preview/faly/index.php' LIMIT 1
    template_attributes(): ">Using template: /templates/pages/attributes/seo.html
    _get_content(): "> [12] SELECT regionKey, regionHTML FROM perch3_content_regions WHERE regionPage='/preview/faly/index.php' OR regionPage='*' ORDER BY regionPage DESC



    if I try to log into Perch there is this debug-message

    get(): ">[30] SELECT DISTINCT settingID, settingValue FROM perch3_settings WHERE userID=0
    Queries: 1
    Memory: 1.402

    no 1738315db1 its the live-one. It should be 1117486db3 . I am using a switch

    I logged in to the server and opened the database - Now I can see the perch3_pages.

    I do get this debug message record

    perch 3.1.4

    Thanks for the link. Now I have got an big issue. For staging I used the database account from my hoster in the config. So I had to put whole the bunch (all files and the Perch-folder) on the server at https://mydomain/preview/customer.
    For this I copied the pw, username and db-name which are fixed by my hoster into the config-file. As path for Perch I tried the define('PERCH_LOGINPATH', 'preview/customer/perch'); and also define('PERCH_LOGINPATH', '/perch'); but I still could not connect to the database.
    I also can't login to Perch itself - it does not accept the user or the pw.
    Hav you got any ideas where my mistake is?