Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Alexandre ELISÉ
    @alexandreelise
    Have you progressed with cloudflare workers Joh-one?
    Johan Janssens
    @johanjanssens
    i did, but i ran into the limits of the worker, so now doing a different approach
    Alexandre ELISÉ
    @alexandreelise
    less than 10ms for the free one
    Johan Janssens
    @johanjanssens
    will make it work :)
    Alexandre ELISÉ
    @alexandreelise
    speed speed and nothing but speed
    ^^
    keep up johan
    Johan Janssens
    @johanjanssens
    :)
    Alexandre ELISÉ
    @alexandreelise
    Hi Johan
    After reading a lot of documentation on Nginx and a lot of trial/error nested sites works like a charm!
    Andrew Thomas
    @poproar
    Hey guys, it has been a long while but I am now longer on windows and running ubuntu18. I just put vbox and vagrant on, upped and broke at setting a private key /usr/share/rubygems-integration/all/gems/vagrant-2.0.2/lib/vagrant/batch_action.rb:71 run> terminated with exception
    I am wondering if I have version issues as I installed vagrant and vbox via apt
    Andrew Thomas
    @poproar
    Accelleration was not on. Now I got further:"
    bash: line 5: /sbin/ifdown: No such file or directory
    bash: line 19: /sbin/ifup: No such file or directory
    Andrew Thomas
    @poproar
    ok, thanks for the space to talk out loud... I ran the machine from virtual box and looks like it corrected itself on boot?
    Alexandre ELISÉ
    @alexandreelise
    Hi Johan whats up
    Johan Janssens
    @johanjanssens
    @alexandreelise Sorry for not replying was out on ski trip
    @poproar Did you manage to get tnings going?
    Andrew Thomas
    @poproar
    I did. Used it to take a peek at J4. Thanks. This tool is amazing. I wish I could make it part of my career but the only demand I find is my own curiosity
    kbrookes
    @kbrookes
    @johanjanssens hi! Is it possible to access the Joomla Box in the browser via another machine on the same network?
    Johan Janssens
    @johanjanssens
    @poproar You can use the box for any kind of PHP projects.
    Steven Rombauts
    @stevenrombauts
    @kbrookes You can share your site using Ngrok on the box. We have a wrapper command for that, see https://www.joomlatools.com/developer/tools/vagrant/commands/global#share
    If you omit the <site> argument, it will share the default joomla.box domain. Hope that helps.
    Andrew Thomas
    @poproar
    @johanjanssens Very nice.
    kbrookes
    @kbrookes
    OK, looking at that now thanks @johanjanssens - do the other users on the network need to do anything to their hosts file?
    kbrookes
    @kbrookes
    @johanjanssens I think I'm missing something :) I use vagrant ssh to get into the box, but when I try vagrant share, I get "
    [InvalidArgumentException]
    Command "share" is not defined"
    kbrookes
    @kbrookes
    Ah, I think I need to update the box
    kbrookes
    @kbrookes
    arg, updated the box, now it won't start the joomla session
    Restarting
    kbrookes
    @kbrookes
    No dice, the Box is working, but Joomla is just erroring out
    Error: Failed to start application: Failed to start the session
    Johan Janssens
    @johanjanssens
    @kbrookes Thats a database issue, your database hasn’t started probably. Try to restart the box, or run "box server:restart” See: https://www.joomlatools.com/developer/tools/vagrant/commands/server
    About vagrant share, you need to install it see: https://www.vagrantup.com/docs/share/
    JoeJoomla
    @JoeJoomla

    Hi there,

    I have a Joomla menu module and I want to inject it into the template via Pages.

    Am I understanding the wiki correctly when it says the syntax is:

    <ktml:module position="[position]" name="[module]">

    If the module name is 'Main Menu' then should the above be something like (Protostar template):

    <ktml:module position="position-7" name="Main Menu"></ktml:module>

    Or am I misinterpreting this?

    Johan Janssens
    @johanjanssens

    @JoeJoomla The code uses html5 style tags so it would be

    <ktml:module position="position-7" name=“menu">

    The name is not the title, those are different things, the name here is the actual name of the module, which is the same as the folder the module is in without mod_ prefix, so for a menu moodule it’s ‘menu'.
    Stergos Zamagias
    @stergosz

    Hello, I am on Mac OS X Mojave 10.14.6 and running vagrant 2.2.4 and virtualbox 5.2.34r133893 and installed the latest joomlatools-box. After doing sudo apt-get update and sudo apt-get upgrade I get to a screen where I have to choose my grub-loader. There are 3 options available (/dev/sda, /dev/sda1 and /dev/dm-0). I can either skip it by not selecting any option or can select only the first option. I then try to install PHP 7.2.28 with sudo box php:use 7.2.28 and I get the following message:

    $ sudo box php:use 7.2.28
    Older versions of PHP require extra dependencies.
    Please wait while we set up all build dependencies. This can take a couple of minutes .. 
    
    Downloading install script .. finished 
    Install dependencies from Ubuntu repositories .. finished 
     installed initramfs-tools package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     linux-firmware
     initramfs-tools
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    ERROR: apt-get failed!
    See /tmp/install-phpmanager-dependencies.log for more details.
    php-7.2.28 does not exist, attempting to build ..
    Syncing the PHP source, this can take a few minutes ..
    Syncing the PHP source, this can take a few minutes ..
    Checking out php-7.2.28 tag
    Logging to /tmp/phpmanager-build-php-7.2.28.log
    Configuring makefile .. finished 
    checking whether to enable LIBXML support... yes
    checking libxml2 install dir... /opt/libxml2-2.7.8
    checking for xml2-config path... /usr/bin/xml2-config
    checking whether libxml build works... no
    configure: error: build test failed.  Please check the config.log for details.
    ERROR: configure failed!
    See /tmp/phpmanager-build-php-7.2.28.log for more details.

    Another error I was getting is: cp: -r not specified; omitting directory '/etc/udev/rules.d/70-persistent-net.rules'

    Which I can remove and lets me continue with the installation of PHP but it seems after doing so I get 503 error in phpmyadmin(can still work with it but no idea where it came from)

    Should someone have to go through all these to install different versions of PHP?

    Johan Janssens
    @johanjanssens
    @stergosz Thanks for the message, i’m afraid I don’t have the answer for you. I have asked @stevenrombauts our developer who build the box
    Stergos Zamagias
    @stergosz
    @johanjanssens thank you, it would help if I could resolve those issues
    Steven Rombauts
    @stevenrombauts

    @stergosz Running apt-get upgrade is not something I recommend on the box, as it can break or overwrite our preconfigured packages. New releases of the box will always start from an updated Ubuntu version, so unless you have a specific reason to do so, I wouldn't run apt-get upgrade. If you need an updated version of
    particular packages, I recommend you update them individually.

    What happened in your case was the apt-get upgrade failed to complete installation of some packages (linux-firmware, initramfs-tools), which then interfere with the installation of the PHP dependencies, as apt-get tries to complete the previous installation.

    To get out of your current predicament, we should try to complete these stalled packages, try this on the box:
    sudo rmdir /etc/udev/rules.d/70-persistent-net.rules
    sudo apt-get install linux-firmware initramfs-tools
    that should complete the installation.
    Running box php:use 7.2.28 again should then download and build the required dependencies. This can take up to 20 minutes.
    One more note, you don't need to use sudo for the box command
    Stergos Zamagias
    @stergosz
    So tried installing the latest joomlatools box(did not run update && upgrade) and installed php 7.2.28 which went smoothly without sudo(hooray). I then went into phpmyadmin and see a 503 service unavailable (rejected) popup which indicates something is breaking upon adding any php other than the default(php 7.3). Also running box php:list only shows 7.2.28. Where did the 7.3 go? It seems I need to re-install it or something. Thank you.
    Stergos Zamagias
    @stergosz
    I also can't seem to go to some Joomla internal pages such as Read Messages or Install Languages which indicates issues after installing any PHP version other than the main one (7.3)
    Steven Rombauts
    @stevenrombauts
    @stergosz I can confirm your 503 issues, it looks like cURL is not working correctly in some manually built versions. I was unable to figure out why this happens so far. I'll create a ticket for it and we'll look into it as we move along.
    To revert to the original PHP version, use box php:reset. It only lists custom versions, correct. I'll make a note to improve on that.
    Stergos Zamagias
    @stergosz
    @stevenrombauts Thank you, the box php:reset works perfectly. Whenever you have a fix for this I would gladly test it out.
    Johan Janssens
    @johanjanssens
    Glad to hear that. We will keep yoj informed, we made note of the issue.