Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "vericode-image" of the eForm snippet isn't showing up with the current YAMS version #23

Open
eire69k opened this issue Mar 12, 2018 · 4 comments

Comments

@eire69k
Copy link

eire69k commented Mar 12, 2018

Hello Deesen,
I have an issue with YAMS (1.2.0 RC6) and the captcha (vericode-image) in eForm (1.4.9) in 3 different projects with Evolution 1.4.1.

In projects without YAMS or with an older version of it, the „vericode-image“ is showing up normally but in installations with the current YAMS version it is missing.

When I check the source code with an Inspector the path of the image seems to be normal (http://projectname/manager/includes/veriword.php?rand=214971286) but the image is not showing up. I have only the message „Graphics could not be loaded“.

@Deesen
Copy link
Owner

Deesen commented Mar 13, 2018

Which setup do you use? Language-setting by subdirectory or by domainname? I found out that QuickManager does not work too when using domains for different languages. Maybe it is the same issue with vericode.

@eire69k
Copy link
Author

eire69k commented Mar 13, 2018

I always use the default settings of YAMS. I never tried the other options till now. So I use the „subdirectory“ with the „Root name mode“, like: domainname.de/de/ domainname.de/en/ und domainname.de/zh/ etc.
Before I updated YAMS, everything worked fine with that.

The QuickManager plugin works fine btw..

These are other settings I have:

  • Language dependent server name mode is currently OFF.
  • Language dependent root name mode is currently ON.
  • Unique multilingual aliases mode is currently ON.
  • Query param mode is currently OFF.

Uniqueness of Multilingual Aliases: Unique
Use Multilingual Aliases: Yes

URL Conversion Mode: Default

If you need more information please lett me know.

@Deesen
Copy link
Owner

Deesen commented Apr 19, 2018

Sorry for the late response, I hope I found a fix today:

Inside plugin-code (file yams.plugin.inc.php) add if(MODX_API_MODE) return; after line 34:

case 'OnWebPageInit':
    if(MODX_API_MODE) return;

Probably same as evolution-cms/evolution#632

@eire69k
Copy link
Author

eire69k commented Apr 19, 2018

Hey it's all fine Deesen! :) You did it now, and that is all what matters. I'm very grateful for your work! and ... you fixed it indeed! 👍 :D
Thank you very much, Deesen!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants