Support

Home Forums Event Espresso Premium Barcode Scan Failing on any single step

Barcode Scan Failing on any single step

Posted: January 25, 2017 at 12:39 pm

Viewing 23 reply threads


Wonderful2016

January 25, 2017 at 12:39 pm

Finally after setting up weired Application Passwords (this given password are very very undhandy) and logged in into an android smartphone, any task does nothing:
Scanning with barcode or QR-Code within correct event i get this alert: wrong event.
No details are shown – all empty price, time, and Ticket is for different event, which is not.

At this point, after doing logout and get in again with weired application password, want to try attendees, failure: unable to load data, connection error….

So, how it works?


Wonderful2016

January 25, 2017 at 12:56 pm

Anyway, you are forcing to use Application App but totally unclear what ID to use with application pass for Scanning app login.
Now i even do not get into the app anymore….


Josh

  • Support Staff

January 25, 2017 at 1:41 pm

You can use the regular username and password that you use to log in to WordPress, with the Applications Password plugin activated. Along with that, you’re welcome to use a different form of Authentication, no one is forcing you to use Applications passwords.


Wonderful2016

January 25, 2017 at 3:25 pm

Sorry,
I did understand like this…


Wonderful2016

January 25, 2017 at 3:31 pm

But either way, app not working.
Connection error, Unable to load data…..


Josh

  • Support Staff

January 25, 2017 at 4:00 pm

You can follow the troubleshooting section in the documentation:

https://eventespresso.com/wiki/ee4-event-apps/#troubleshooting


Wonderful2016

January 26, 2017 at 1:51 am

Nope,
The very first try with an outdated Version of the eventespresso app let me connect to the webpage, but without success to show any data.
After switching to latest version of the app, there is nothing, no connection at all. The trouble guide leads to no solution.


Josh

  • Support Staff

January 26, 2017 at 6:33 am

Did you make the edit to the .htaccess file that’s recommended for servers that use fastCGI on Apache?

Your website does return events from a JSON API GET request, so at least that part is working. It sounds like the server is stopping the Authentication headers though, which the .htaccess workaround should fix.


Wonderful2016

January 26, 2017 at 7:13 am

changing .htaccess
to
RewriteRule ^index\.php$ – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
does not allow to enter even
going back to
RewriteRule ^index\.php$ – [L]

does enter the pabe but still says
Connection error. Unable to load data….
after clicking o.k. get out of page…to android app frontend


Wonderful2016

January 26, 2017 at 7:20 am

THX for your json screenshot, but it´s telling me, cannot be viewed by mistake with image. Anyway .htaccess both the standard and workaround have diffeent status but finally not data. Standard RewriteRule ^index\.php$ – [L] does enter the page, workaround not.


Wonderful2016

January 26, 2017 at 7:27 am

Now i tried to use not Application pass but normal admin login data – same effect. Connection error. Unable to load data…..


Wonderful2016

January 26, 2017 at 7:39 am

This is our .ht file with wordfence

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# Wordfence WAF

<Files “.user.ini”>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>

# END Wordfence WAF


Josh

  • Support Staff

January 26, 2017 at 8:12 am

It may just be that the WordFence firewall is blocking your app from accessing the website.


Wonderful2016

January 26, 2017 at 8:30 am

After deactivating Wordfence I get – Connection error. Unable to load data….


Josh

  • Support Staff

January 26, 2017 at 8:38 am

You deactivated WordFence, but did you also remove the WordFence added .htaccess rules? Also, after you try deactivating other plugins to troubleshoot this, you should go to WordPress > Settings > Permalinks to make sure the rewrite rules are refreshed.


Josh

  • Support Staff

January 26, 2017 at 8:39 am

See also:

https://eventespresso.com/topic/ee4-mobile-app-message-connection-error-unable-to-load-data/


Wonderful2016

January 27, 2017 at 6:49 am

Hard to find out with live events….
on the other hands, we cannot scan with smartphone


Josh

  • Support Staff

January 27, 2017 at 10:06 am

Did you try the troubleshooting steps? Do you have any questions about how to do the troubleshooting steps?


Wonderful2016

January 27, 2017 at 10:53 am

As we are busy with some live actions, we do not want to the last step, to deactivate Wordfence and renew permalinks and htaccess….
As above all other tasks did not help – with changing .htaccess
to
RewriteRule ^index\.php$ – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
could not even enter to the eventpage with app
Both variations failing, with original admin pass or application pass version.

So as we have a lot of spam and attacks onto our page, we are not sure how to manage without wordfence…


Josh

  • Support Staff

January 27, 2017 at 10:58 am

So if WordFence is blocking the apps from accessing your website, you’re not going to be able to use the apps then.


Wonderful2016

January 27, 2017 at 11:40 am

Understand, if so, maybe there is a way to give wordfence an exception somehow. Any other Firewall + security plugin would be the same. There must be a working together with security plurgins and scan application…. Which plugin do you recommend for security and running event espresso with scanning, there a much of user out there seems to be fine with scanning. Or they just have no security?


Josh

  • Support Staff

January 27, 2017 at 11:58 am

It’d be the other way around, the security plugin would need to give the apps an exception.


Wonderful2016

January 31, 2017 at 3:45 am

Not working… Wordfence or not…
Which plugin do you recommend for security and running event espresso with smartphone scan , there must be much users out there working with firewalls and wordfence.


Josh

  • Support Staff

January 31, 2017 at 10:50 am

We generally do not make plugin recommendations, but you’ll find some good information in the WordPress codex:

https://codex.wordpress.org/Hardening_WordPress#Further_Reading_on_Hardening_WordPress

Viewing 23 reply threads

The support post ‘Barcode Scan Failing on any single step’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso