Posts by Bob_dxb

    Hi everyone,


    Thank you for your input.


    I know my issue was really really silly as it is for most of my requests I post here :D


    And the answer was super easy too.


    I had gathered over 3000 form entries for that particular site, the server could simply not cope processing the volume into a file.


    PHP memory was set to low.


    I doubled the memory_limit in my INI editor and the CSV download now works.


    Thanks a bunch,


    :thumbup:

    Hello,


    I am trying to do a back up from my form collected data via CSV Download.

    Sadly I am getting an HTTP 500 error as I click the button


    I updated the core to the latest version but it did not resolve the issue.

    Is there a maximum limit I may have gone over in the amount of form submissions ?


    In the meantime I just exported the data from the database but I would prefere a neat CSV :)


    Any help welcome,

    Thank you

    ;)

    OMG I am such an idiot... I would say ignore my post, but then may be someone may learn from it


    You can import Google Tag Manager cookie values into a PerchForm like this


    Code
    1. $utm_content = $_COOKIE['utm_content'];
    2. PerchSystem::set_var('myContent', $utm_content);
    3. $utm_campaign = $_COOKIE['utm_campaign'];
    4. PerchSystem::set_var('myCampaign', $utm_campaign);
    5. $utm_term = $_COOKIE['utm_term'];
    6. PerchSystem::set_var('myTerm', $utm_term);
    7. $utm_medium = $_COOKIE['utm_medium'];
    8. PerchSystem::set_var('myMedium', $utm_medium);
    9. $utm_source = $_COOKIE['utm_source'];
    10. PerchSystem::set_var('mySource', $utm_source);


    pushing them into hidden input fields and passing on the data


    It is a Given the cookies and UTM tracking needs to be set up in GTM

    Hiya,


    Ok so I have a bit of an odd query here.


    I have to track Google UTM variables offline to get positive conversions on actual sales.


    In GTM I have set session cookies to pull all the data I need from Google Ads clicks off the URL, I now need to extract the data from the cookie and place it into the Perch Form fields so I can forward the data to my sales team.


    Normally I would simply do this with javascript in GTM by pushing the data into a hidden field via getElementById() method, triggered on page load, but the form is not picking up on it.

    My skills in perch are still extremely basic so any pointers on how I can get this done would be hugely appreciated.


    I am pretty sure it has to do with a timing issue of codes firing at the wrong time, but I wanted to put this out here in case anyone has a quick fix or a precedent.


    I could not find anything posted.


    Thank you:P :burd1::burd1fly::burd1peck:



    PS: I can pull the UTM data out of the url via GET and populate the Perch Form, but then I would have to pull the data from the cookie put it in the url and pull it back into the form that way. There must be a way to get this straight out of the cookie ... no?

    Hi Drew,


    That was it, problem solved!

    Provisioned the EasyApache4 Package with the php72-php-intl checked.


    Logo upload succeeded. I haven't run a fresh install but pretty sure that's fine now too since both issues triggered the same error.


    Thank you.

    I have now proceeded to just delete the whole account on the new sever, installed perch on the same site on the old server, worked fine. then I copied the old site back onto the new server and all works, but when I tried to change the logo in the perch interface the same error comes up again.


    I deduce it has to do with php permissions but I do not know which one or where to amend this.


    Still any pointers welcome



    PHP Log:

    PHP Log:

    Code
    1. [27-Feb-2019 11:50:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function iconv() in /home/mysite/public_html/admin/core/lib/PerchUtil.class.php:796
    2. Stack trace:
    3. #0 /home/mysite/public_html/admin/setup/PerchSetup_Installation.class.php(230): PerchUtil::urlify('www-mysite...')
    4. #1 /home/mysite/public_html/admin/setup/PerchSetup_Installation.class.php(111): PerchSetup_Installation->host_filename('www-mysite...')
    5. #2 /home/mysite/public_html/admin/setup/account/index.php(70): PerchSetup_Installation->write_config_file(Array)
    6. #3 {main} thrown in /home/mysite/public_html/admin/core/lib/PerchUtil.class.php on line 796

    Hello,


    I am having some issues installing Perch at the moment.

    I recently migrated all my sites to a new server using the WHM/Cpanel transfer tool.


    I upgraded all sites to php 7.2 and perch runs fine on all these sites.


    I am trying a new install for a development domain which I started from scratch on the new server and the install process works fine up until the user creation which fails when I try to complete and throws me a:

    This page isn’t working

    http://www.mystite.com is currently unable to handle this request.

    HTTP ERROR 500



    I have looked into everything I could find int FAQ, removing all redirects, ssl and others, clearing the .htaccess , setting a different php version. no luck

    Any idea where I should look?


    I did a manual version of the config.php and it did lead me to the login page, obviously the login fails as the login credentials never made it to the DB.

    Could this be related to a DB issue?


    Any pointers welcome :)