× Forum for the GPXTrackMap Content Plugin for Joomla! 2.5 and 3.x

0 - Call to undefined function svg()

fingeradmin replied the topic: 0 - Call to undefined function svg()

1 month 2 weeks ago

Hi,
i'm certainly no expert in that field, but any errors with "origin" usually point to a mixture of http and https access.
I have also seen this (iirc) when mixing e.g. mydomain.com and www.mydomain.com . Browsers seem to block this because they think it is some cross-site-scripting attack, even if both URLs physically point to the same web space.
Other than that, i'm really running out of ideas...

cheers, Frank

Please Log in or Create an account to join the conversation.

mjt78 replied the topic: 0 - Call to undefined function svg()

1 month 2 weeks ago

hi,
it's the same thing on firefox, edge, chrome and safari.
on the console i see:
État 500 Internal Server Error
politique de référent strict-origin-when-cross-origin

I wonder if it is the reason? do you know the meaning of "strict-origin-when-cross-origin"
thank you fot your help

cheers

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: 0 - Call to undefined function svg()

1 month 2 weeks ago

Hi,
that's weird... the filename seems to be "kind of" OK (the "\ /" backslash+slash could maybe confuse the browser) but i have no idea where the "()" at the end comes from.

Since the error message seems to be output by your browser:
In Firefox or Chrome hit F12 to open the Developer Tools, reload the page and check for any messages esp. in the Console output, that could give you a hint as to what's going wrong.

cheers, Frank

Please Log in or Create an account to join the conversation.

mjt78 replied the topic: 0 - Call to undefined function svg()

1 month 2 weeks ago

Hi,
nothing on php errorlog of wampserver
here is the message:
0 - Call to undefined function D:\wamp64\www\rando-rambouillet\/documents/gpx/gazeran_23km.svg()

documents/gpx is the folder of my gpx files
gazeran_23km.svg should be the name of the svg file for the elevation diagram.
kind regards

Attachments:

Please Log in or Create an account to join the conversation.

fingeradmin replied the topic: 0 - Call to undefined function svg()

1 month 2 weeks ago

Hi,
if you are running wampserver locally then check the PHP error log.

What puzzles me is the "Call to undefined function svg()" from your topic title - where did you see/get this message?

(There is no call to any svg() function in the plugin's PHP code. "Call to undefined function" could come from JavaScript, but there is no JavaScript svg() function either that the plugin uses.)

hth & cheers, Frank

Please Log in or Create an account to join the conversation.

mjt78 replied the topic: 0 - Call to undefined function svg()

1 month 2 weeks ago

hi
I don't think that it is a problem of write access because this happens on my local with wampserver and on my site. I try with my user witch is superadmin and it's the same thing..
can you give me a trick to debug the problem? I would like to give the opportunity of elevation diagram to my customer.
thank you for your answer
kind regards

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum