• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 24.09.18, 23:59
  • Opened by: Miguel Azevedo
  • Closed by: Marek
  • Closed on: 17.12.18, 14:59
  • Reason: Closed
  • Comment: Glad to help!

Ticket #12967 - Pop-up

Hi,

How can I activated the pop-up?

Regards,
Miguel

Comments

Marek 25 Sep 2018, 09:50

Hi, Miguel.
Please make sure you have installed and enabled “Popup” module. You can also try to reset it

Miguel Azevedo 03 Oct 2018, 10:37

HI,

I got by pop-up to run but when I put email to register in the newsletter and I click on the button, nothing happens. Can you check this?

Tks

Marek 03 Oct 2018, 12:01

I don’t see any popup in your website https://xhic.pt, could you please enable it?

Miguel Azevedo 03 Oct 2018, 13:30

Done, please check

Miguel Azevedo 04 Oct 2018, 00:01

I get this error

Marek 04 Oct 2018, 11:25

It seems your server blocks access to the file https://xhic.pt/modules/pk_popup/ajax.php could you please ask your hosting provider to fix that. It should works like this https://alysum5.promokit.eu/modules/pk_popup/ajax.php

Miguel Azevedo 10 Oct 2018, 17:05

Hi,

I spoke with my hosting and they claim that there is no block on the server and they warn that this link (https://xhic.pt/modules/pk_popup/ajax.php ) does not appear to exist

Can you help?

Tks

Marek 10 Oct 2018, 20:52

It seems they do not understand what we are talking about.
As you can see the file is exist http://take.ms/bhk66, please check it out yourself.
You can also open another file from that folder https://xhic.pt/modules/pk_popup/config.xml and make sure it works fine, but Ajax file is blocked https://xhic.pt/modules/pk_popup/ajax.php

Ask them to take a look into server logs to figure out the reason of blocking

Miguel Azevedo 10 Oct 2018, 23:41

Hi Marek,

I returned to speak with my hosting company and the response was as follows:

“We do not question the existence of such a file, however if you access the URL that you provide (https://xhic.pt/modules/pk_popup/ajax.php) a 404 message is generated by the application itself (Prestashop) instead of what would be expected as instructed by the “module developer”. Eventually there may be some security mechanism embedded within the Prestashop that blocks access to that URL, which is a situation that originates from the application and is not attributable to the hosting service itself.

If you check the actual “.htaccess” file (in the “public_html”) that is generated and maintained by Prestashop, they have rules that are “accepted”, everything that does not fit is redirected to the said page with the error 404.”

What can I do?

Tks

Marek 11 Oct 2018, 10:41

Ok, I see, they don’t want to help.
I had the same issues with some customers an always hosting support help us with that. I’ll try to do something myself

Marek 11 Oct 2018, 11:08

I just make following test:
1. create simplest .php file with one line just to test out how server reacts and be sure there is no any errors in the code

<?php echo "It Works!"; ?>

2. upload it to your server https://xhic.pt/modules/pk_popup/ajax2.php

3. upload it to our server https://alysum5.promokit.eu/modules/pk_popup/ajax2.php

You can see the difference. Something blocks direct access to the file on your server.
I really want to help you but we need an advice from hosting support

Miguel Azevedo 11 Oct 2018, 23:36

Hi,

Did you make any changes to the module? It’s already working.
I contacted the hosting company for another reason (an error making the rebuild of the faceted search) and after that the module went live.

With the pop up to work I noticed two details that could be improved:
- After subscribing the email should disappear from the input.
- After subscribing the popup could close automatically.

Is it possible for you to implement some of these features?

Thanks

Marek 12 Oct 2018, 11:20

No, I didn’t do nothing with that, but that’s great it finally works.
As for the features, there are two ways: - I can ask my colleague to do it for you right now for some price, or we can implement that in the further versions and you will get it with an update