🇳🇱Netherlands @ljjbrosens

Account created on 10 June 2006, over 18 years ago
#

Recent comments

🇳🇱Netherlands ljjbrosens

Thanks Frank.

Concerning .ovhconfig. I do not have realy knowledge of it but I find out that OVH had a different ovhconfig file at my two hosting pakkets. With app.engine=php drupal 10 got problems, with =phpcgi drupal shows no problems anymore. So I changed that setting in the file. After that also my juicebox gallery ran correct again.

On my local machine I made a new install of 10.2.3. I let Composer require the juicebox and W3css module. Composer gave the choose in severel W3css related packeges. I choose d8w3css. The install went without problems and in the site I could install the new version 3 caled Solo. That looks interesting, so I have much to learn again.

I tried a first time to convert one of my excisting sites who where not build by Composer to a Composer maintained site.
That went wrong. I have to learn still a lot I know.
One of the aspects that I do not understand is how to transport a composer maintained site stored localy to my web domain. Or how to execute Composer not localy but on my domain. I did succeed te conect through SSH to my domain but that was all till now. Etc. Etc.

Best regards,
Leo

🇳🇱Netherlands ljjbrosens

You do not need to worry of that .ovhconfig file because it is specific for my provider OVH.
Every provider has his own way I gues.
I assume that in your root there will also be a .???config file.
It is interesting to know the settings of the provider uses.
I assume that the speed of code processing depends of things like HDD or SSD, processortype, memory, cache etc?
So not every drupal user will experience the same I think.

I did once look at Bootstrap but that did not look attractive to me.
I will keep Solo and W3css in my mind.

Best regards,
Leo  
 

🇳🇱Netherlands ljjbrosens

Dear Frank,

That configuration to phpcgi is a tuning of the php code processing. I also use the latest 8.3 version. But in the root of the provider there is a configuration file that is standard read and aplayed. In that file, by me called .ovhconfig there is given which php verion must be used and if there must be processed without or with accelerator. app.engine=php is with accelerator, app.engine=phpcgi is without.

I experienced that my ex-problem-provider processed the php code too fast because of the applied accelerator. After cancelling that accelerator my problems were over.

This means the vulnarabilty of code processing for the latest drupal code. I experienced problems with the code of themes and juicebox.
Probably this could be a attention point in the programming of the codes to prevent that to many drupal users ecperience these speed problems?!
The fact that at my ex-problem-provider juicebox gallary did function after logging is, and did function in only firefox, and that I had to refresh themes pages frequently, must mean that there was a different code processing resulting in a less fast processing of the critical code parts.
That is what I think, but I am not at all a it professional?!

I did look to fkelly.org and was charmed of the menu, of the theme. Because of that my question.
I will study that theme W3CSS, it is compatable with drupal 10 which my now used Bartik is not.

Best regards,
Leo
 

🇳🇱Netherlands ljjbrosens

Dear Frank,

I continued my rechearch/study.

With Composer I installed several new sites with core 10.2.3 without en with the juicebox module at the two providers by whom I have a hosting pakket.

Everytime the same experience, the same I mentioned earlier.
At one provider, the problem provider, juicebox gallary would not run.
Not only juicebox gave trouble, also theming gave trouble, even before I added the juicebox module.
Strangly, after logging in, juicebox gallary would run!
So, I concluded that the code on its self was oke, but that there had to be a aspect of configuring the software at the provider.

Because I had another sleeping hosting pakket at the problem provider, I could alse test 10.2.3. with juicebox on that domain and hosting server part.
And surprise, the new installed 10.2.3 without and with juicebox did run without any problem there.

So I focused on the .htaccess and other config files at that providers both server pakkets.
There I found out that there was a difference in configuring the app.engine.
Both run php but the speed configuration was different; php versus phpcgi!
After altering this engine in phpcgi all problems were solved.

That is because phpcgi runs the php code much slower and therefore drupal's and juicebox;s code can keep up. All code commands come to a end now.
All my sites run right again on all devices!!!
I am relieved.

That aspect of speed or timing of the code was from the start the most important aspect I thought, because of that my initial question about interference because of .htaccess or others.

All by all did I learn things now. Composer was new for me and now I can work with it for the fist steps. Till now I did all localy with xampp and now I want to go learning SSH so I can use Composer lokal and give commands outside to my hosting space. I hope I will get it learned?
If so, I can try to rebuild my existing sites to Composer maintaned sites.
It can be that I later still can use your advice?

A last question, which theme do you use on your fkelly.org. I asume that is alse Drupal 10.2.x with a supported theme?
I myself use the decreapated old them Bartik. It would be nice if I could rebuild to a supported theme?!

Thanks for your respons and time.

Best regards,
Leo Brosens

www.vogelsenbeestjes.nl
www.leobrosens.nl/venbcpg
www.leobrosens.nl/rcmv2021
www.eikelswordeneiken.nl
www.astrojac.nl
www.destoelenmatter.nl

 

🇳🇱Netherlands ljjbrosens

As I mentioned the juicebox gallery did show on my spare W11 Pro pc after I did log in as administer.

Now I find that the same occurs with my original sites!!!!
In Chrom and Edge the juicebox module in drupal 10.2.x does work if is logged in as administrator!!!!

There must be a item of rules and permittance in stake.

So ....    ?!

Leo

the configuration I ment was 'isolation-level'
I have learned now that this item is not critical

🇳🇱Netherlands ljjbrosens

I continued testing.

I installed with Composer at localhost again without any problem the drupal/recommended-project.
It seemed to be version 10.2.3 now!

I added with Composer the juicebox module and I added manualy the juicebox libraries in the correct way.
I choose version 4.0.x-dev@dev

I did not agian let Composer require the libraries module because since version 8 that is not neccesary anymore,

This install I copied also to my problem hoster leobrosens.nl, see www.leobrosens.nl/juicebox40xdev/web

On both my local W11Pro machine as by my provider OVH which hosts leobrosens.nl I succeeded without problems to install.setup the drupal 10.2.3 site.

In both sites I created a new contenttype within a new field, a standard image field which I let show with the juicebox gallery.
Strange was that at the first try it was not possible to find that juicebox gallary to fit, just after aborting and starting the proceeder again that juicebox gallary was shown and could be choosen.

And succes, partly though, in both the 10.2.3 sites the juicebox gallery was working, I got a show displayed on my computer where I did the install work on in both Chrome, Firefox and Edge. Also it worked on my unix machine wher firefox is active.
Also after closing down my work W11 pc and starting up again the juicebox gallery was working. The same with my unix machine.

But, when I went to my other W11 Pro pc with Crome and with Edge the gallery will not start. The same on my android smartphone and on my very old OS tablet. All the same experience that I reported earlier.

Now I will try to set over this 10.2.3 site to my other hoster witch has partly different software on his platform. Till now there al my sites with version 10.2.2 did work with the previous juicebox module.
I expect that by that hoster the 10.2.3 new juicebox module will work still; I let you know.

At the setup of this new 10.2.3 at leobrosens.nl I experienced some trouble with the theme. I had seen that before. In beginning often the theme is lost and I have te reload the page to get the richt theme in display. After changing the settings in the theme this behaviour can be solved. But I find it wrong; at a basic setup the theme should be oke with normal pages and by intern commands I think.

I will continu learnig I hope.

Leo

🇳🇱Netherlands ljjbrosens

Dear Frank,

I made some progress in learning.

On my Windows11 Pro pc Composer works correctly now.
So also Xampp with Apache and MySql.

I succeeded in installing a new Drupal 10.2.2 with Composer.
Composer noted that that was succesfull.
Also I succeeded in installing the drupal/juicebox module by require in Composer.
Strange was that the link in drupal.org of the 4.0@alpha version was not available.
I had te switch to the 4.0.0-alpha1 version, that was the closest to that named in the link?!
I also let Composer add the libraries-module, I do not know if that was neccesary because Composer should install all dependencies I thought.

The new installed site worked correctly in my localhost\
There I let install a directory named DP1022 so on my computer locale ran localhost\DP1022\web.
Without problems the database was filled etc.
Now I also see the web/modules/cotrib/juicebox folder.

I did manualy add the juicebox javascript library. I did that in de folder web\libraries\ and not in the libraries within modules.
In the statusrapport there was shown that the juicebox libraries was present correctly. 

Installing juicebox went normal so far I could see, no fault messages etc.
I made a new content with a page with a new image field that I connected to the juiceboxgallery shown in the content module.
So, everything looked oke.
But, so disappointed, in the page no juicebox gallary was shown.
If I change in the the field back to image field than in the page the uploaded pictures are shown.

So, I think I have used Composer and localhost in a correct way, I think I did not make a fault with that.
Possibly I made configer faults but I think not because I tried several things which did work in earlier versions.

I tried localhost started with Chrome Egde and Firefox and in none juicebox would work.

So, I hope a solution can be find by poeple who has more knowlegde as I.
In the meanwhile I will continu to try to learn more about it.

Best regards,
Leo 
 

🇳🇱Netherlands ljjbrosens

Dear Frank,

I use Chrome version 121.0.6167.161
I use Edge version 121.0.2277.106
I use Firefox 122.0.1

I tried to add the Juicebox module by Composer but that did not work.
The link provided on the drupal site was not compatable with the versions available, in the name of the module there was a small difference?
So I let the new drupal site themself install the juicebox module bij the menu adding/module.
That seemed to work correctly, no errors were given.

I made a new content type by structures.
In the new page I added e new field, juist a straight image field.
I configered that image to a juiceboxgallery.

I looked to the juicebox.install.php but did not find that under ..cotrib.. 
I just find such a file in web/modules/juicebox.
This file is much shorter than the file you mentioned!

This is the file I found:

<?php

/**
 * @file
 * Install, update and uninstall functions for the Juicebox module.
 */

/**
 * Implements hook_requirements().
 */
function juicebox_requirements($phase) {
  $requirements = [];
  // Check on the installation status of the Juicebox library. Note that
  // we do not do this check during the 'install' phase as the libraries API
  // functions will not always be available then (if installing Drupal via an
  // install profile, etc.).
  if ($phase == 'runtime') {
    // Get locally installed library details.
    $library = \Drupal::service('juicebox.formatter')->getLibrary(TRUE, TRUE);
    $requirements['juicebox'] = [
      'title' => t('Juicebox Javascript Library'),
    ];
    if ($library['installed']) {
      $requirements['juicebox']['value'] = $library['version'];
      $requirements['juicebox']['severity'] = REQUIREMENT_INFO;
    }
    else {
      $requirements['juicebox']['value'] = $library['error'];
      $requirements['juicebox']['description'] = $library['error message'];
      $requirements['juicebox']['severity'] = REQUIREMENT_ERROR;
    }
  }
  return $requirements;
}

So, several things are wrong I fear.

Best regards,
Leo

🇳🇱Netherlands ljjbrosens

I will study your tutorial too.

I already have Xampp, FileZilla, PHP, Composer and Git running on my pc.

I succeeded a first time to let Composer to install a new drupal 10.2.2 site within the Juicebox module local on my pc.
After that I copied that site to my problem-provider with according settings and database.
That site did not run at first site but after running there install again the site came to live.
In that site I made a small juiceboxgallery to test this siteinstall.
But no succes, still the same experience, the gallery on the site runs only in Firefox, does not run in Chrome or Edge.
See:   www.leobrosens.nl/venbmc/web/node/1

I will continu my study.

Best regards,
Leo

🇳🇱Netherlands ljjbrosens

Dear fkelly,

Great that you succeeded to learn composer etcetera.
I am learning this software now to.

I already have Xampp, FileZilla, PHP, Composer and Git running on my pc.

I succeeded a first time to let Composer to install a new drupal 10.2.2 site within the Juicebox module local on my pc.
After that I copied that site to my problem-provider with according settings and database.
That site did not run at first site but after running there install again the site came to live.
In that site I made a small juiceboxgallery to test this siteinstall.
But no succes, still the same experience, the gallery on the site runs only in Firefox, does not run in Chrome or Edge.
See:   www.leobrosens.nl/venbmc/web/node/1

I will continu my study.

Best regards,
Leo

🇳🇱Netherlands ljjbrosens

Thanks fkelly.

Till now I have not used Composer, did not install it on my pc.
I understand that it is needed going using Composer so I will try to learn it.

You viewed my mentioned galleries, did juicebox gallery work with Chrom by you?

I am 71 years old and did not have school in pc software. Was all self learning.
Untill the last upgrade to 10.2.0 all functioned right so far I could experience.
I builded and maintain several drupal sites:
www.astrojac.nl
www.vogelsenbeestjes.nl/venb/
www.eikelswordeneiken.nl
www.destoelenmatter.nl
www.leobrosens.nl/rcmv2021/

Again, thanks for the respons.

Leo Brosens
 

🇳🇱Netherlands ljjbrosens

Thanks VM and fkelly for the respons.

My problem is that I do not have knowledge of Composer.
I will try to understand now what has been said.
If I can not learn it I will let it know again.
Untill now I allways installed and upgraded drupal manualy.

Another qeustion in this.
I have found that on all my pc's the juicebox gallary works correctly when I use Mozilla Firefox.
Is that understandable within this issue ?
Does Firefox tackle that Composer item and the other browsers do not?

Leo

🇳🇱Netherlands ljjbrosens

Dear,

I still experience the same problem.

I am not educated in IT but I tried the following.

In the root at the provider where juicebox gallary will not work correctly there is present a .htaccess and a .ovhconfig file.
I renamed those files assuming that those files are not needed because in the subdirectory of my drupal 10.2 there is a own .htaccess en config file.
After renaming those files I got this error:

Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running 5.4.45, please upgrade PHP or use Composer 2.2. LTS via "composer self-update--2.2", Aborting

Does someone understand what this means, what the cause is?
Has this to do with the fault I experience?

I hope someone can help me out.

Thanks

Leo Brosens

Production build 0.71.5 2024