Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
christianch
Experienced
Topic Author
Posts: 49
Joined: 08 Mar 2021, 03:27

Mysql database

17 May 2021, 04:15

Hi,

I continue to experimente the x3 gallery.
here some of tries.
https://lepetitbleausard.fr/x3/

I need to work with a datase with links for many reasons.
as you can see, on the main page the form recherche with xml data ( more 4000 rows ) work but with unacceptable delay. > 6 secondes.

I try to use Mysql database like this https://lepetitbleausard.fr/a_localisat ... index.html
but it’s no working inside X3 directory. 

Outside the x3 directory it’s work.
No matter for « Page could not be found » is just for test.
 
Here the console informations:

VM226:21 Uncaught TypeError: Cannot read property 'style' of null
at window.onmousemove (eval at fe (x3.min.js:2), <anonymous>:21:17)
window.onmousemove @ VM226:21

I saw in the forum than X3 use also jquery 3.5.1, may be is a conflict …

Could you help me to find a reason and solution, it's will be great, ‘cause the search form is essential for my future web site !

Thank a lot.
Last edited by christianch on 18 May 2021, 04:29, edited 1 time in total.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: Mysql database

17 May 2021, 04:37

You could perhaps explain what you are trying to do? You are trying to add a search field with some external script. Very complicated, especially if you have little experience with web coding.
christianch wrote:Here the console informations:

VM226:21 Uncaught TypeError: Cannot read property 'style' of null
at window.onmousemove (eval at fe (x3.min.js:2), <anonymous>:21:17)
window.onmousemove @ VM226:21
That only happens on the root page https://lepetitbleausard.fr/x3/. What you are doing there I don't know, but it's nothing to do with the search field, which has no function attached to it on this page.
christianch wrote:I try to use Mysql database like this page
but it’s no working inside X3 directory. 
It requires a planning and some coding experience if you want to add external scripts into another website. Most importantly, the script you are referring to is using bootstrap, which is a full CSS framework, which amongst other things, creates the dropdowns when you type. You can't just add this framework into X3 and expect everything to work.

What you are asking is a job for any developer. I would have to charge a small fee to do something like this, and optimize it for X3.
 
User avatar
christianch
Experienced
Topic Author
Posts: 49
Joined: 08 Mar 2021, 03:27

Re: Mysql database

17 May 2021, 05:45

enjoy! I'll contact to you by mail.