5.7.3.1 Is Now Available

Permalink
Just wanted to drop everyone a line and say that concrete5 5.7.3.1 is now available:

http://concrete5.org/download

Lots of bug fixes this time around, with a few new features (including the ability to pin the add block panel open, the ability to enter values with the keyboard into the area and block design overlays, and more.) We also should be getting even better at installing on more hosts in different configurations.

We should be doing another 5.6 release next week, as well.

andrew
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Thank you, Andrew
pedroserapio replied on at Permalink Reply
pedroserapio
Thank you very much for all the efforts!
The page position stay in same order after publish, this is really welcome. Thank you so much for the fix.
goutnet replied on at Permalink Reply
Hi andrew,

for some reason, it seems the assets have not been correctly generated on this version, since Concrete.consts javascript array is empty (and the corresponding file does not appear on the js tree).

Can you check that ?
andrew replied on at Permalink Reply
andrew
The build process should automatically run "grunt js:release" so I would think it would take care of that.
MVS replied on at Permalink Reply
Are the update-Problems:

https://www.concrete5.org/community/forums/5-7-discussion/concrete5-...

solved now, too?

Thanks!
MVS replied on at Permalink Reply
I try it again:

Are the update-Problems solved now?

Thank you :-)
losttheplot replied on at Permalink Reply
Hi Andrew. I'm really exited to see that you've updated c5 to modern libraries, so I thought I'd take a look at 5.7. I've just downloaded 5.7.3.1 from the c5 website and unzipped it in a new vhost on our dev server. I repeatedly get the following installation error even though the entire filetree has been set to 777 (to rule out any permissions issues). Note that /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php does exist.

include(/srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php): failed to open stream: No such file or directory.
Trace:
#0 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/vendor/composer/ClassLoader.php(386): Whoops\Run->handleError(2, 'include(/srv/ww...', '/srv/www/vhosts...', 386, Array) #1 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/vendor/composer/ClassLoader.php(386): Composer\Autoload\includeFile() #2 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/vendor/composer/ClassLoader.php(278): Composer\Autoload\includeFile('/srv/www/vhosts...') #3 [internal function]: Composer\Autoload\ClassLoader->loadClass('Doctrine\\Common...') #4 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Cache/Adapter/DoctrineCacheDriver.php(15): spl_autoload_call('Doctrine\\Common...') #5 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Foundation/ModifiedPsr4ClassLoader.php(88): require('/srv/www/vhosts...') #6 [internal function]: Concrete\Core\Foundation\ModifiedPsr4ClassLoader->loadClass('Concrete\\Core\\C...') #7 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Database/Connection/Connection.php(36): spl_autoload_call('Concrete\\Core\\C...') #8 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Database/Connection/Connection.php(21): Concrete\Core\Database\Connection\Connection->createEntityManager() #9 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Block/BlockType/BlockType.php(176): Concrete\Core\Database\Connection\Connection->getEntityManager() #10 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Backup/ContentImporter.php(406): Concrete\Core\Block\BlockType\BlockType::installBlockType('core_area_layou...') #11 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Backup/ContentImporter.php(73): Concrete\Core\Backup\ContentImporter->importBlockTypes(Object(SimpleXMLElement)) #12 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Backup/ContentImporter.php(60): Concrete\Core\Backup\ContentImporter->doImport(Object(SimpleXMLElement)) #13 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Package/StartingPointPackage.php(127): Concrete\Core\Backup\ContentImporter->importContentFile('/srv/www/vhosts...') #14 [internal function]: Concrete\Core\Package\StartingPointPackage->install_blocktypes() #15 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/controllers/install.php(286): call_user_func(Array) #16 [internal function]: Concrete\Controller\Install->run_routine('elemental_full', 'install_blockty...') #17 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Controller/AbstractController.php(156): call_user_func_array(Array, Array) #18 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Routing/ControllerRouteCallback.php(25): Concrete\Core\Controller\AbstractController->runAction('run_routine', Array) #19 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Routing/Router.php(59): Concrete\Core\Routing\ControllerRouteCallback->execute(Object(Concrete\Core\Http\Request), Object(Concrete\Core\Routing\Route), Array) #20 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Support/Facade/Facade.php(116): Concrete\Core\Routing\Router->execute(Object(Concrete\Core\Routing\Route), Array) #21 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Application/Application.php(342): Concrete\Core\Support\Facade\Facade::__callStatic('execute', Array) #22 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/src/Application/Application.php(342): Concrete\Core\Support\Facade\Route::execute(Object(Concrete\Core\Routing\Route), Array) #23 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/bootstrap/start.php(196): Concrete\Core\Application\Application->dispatch(Object(Concrete\Core\Http\Request)) #24 /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/dispatcher.php(36): require('/srv/www/vhosts...') #25 /srv/www/vhosts/mydomain.com/c57test/html/c57test/index.php(2): require('/srv/www/vhosts...') #26 {main}


I'm not skilled enough to work out what the problem is - sorry!
andrew replied on at Permalink Reply
andrew
That's really odd. That doesn't sound like a permissions issue, it sounds like a missing file. But I've just downloaded 5.7.3.1 from concrete5.org and verified that that file is present in the archive. Could your download have been incomplete or something like that?
losttheplot replied on at Permalink Reply
No, it's not a permissions issue (ruled out by the 777), and the file *is* present. I copied the path given in the error message and pasted it direct to the server:
more /srv/www/vhosts/mydomain.com/c57test/html/c57test/concrete/vendor/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
<?php
/*
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
...etc.

There is no .htaccess file and no special apache config directives in play.

There's no urgency from my end as I was just taking a look prior to switching to 5.7 later in the year. But I'm assuming (maybe incorrectly) that there's an issue with a new instal of the codebase. I'm happy to give you the real domain name by PM if that would help. Or if others have successfully done a clean instal from the same file then clearly the issue lies with my platform.
losttheplot replied on at Permalink Reply
One added complication here is that I'm installing 5.7 on a three-node live-live replicated cluster. The db replication is absolutely instant, but the file-tree replication has a slight lag. I've just run through the installation again, first checking that each of the three databases are empty and ready, and that each VM node has the base instal in place and opened up (777). I got the same error, telling me that CacheProvider.php is missing, even though it is in place on all three nodes. If you are confident that all is well at your end, I'll create a vhost on a different, single-node platform and see how I get on with that.
andrew replied on at Permalink Reply
andrew
Yeah, it sounds like the web request was taking place on a server that didn't have all the files on it. concrete5 contains a lot of files – if you're unzipping the entire directory and then attempting to immediately install it's very possible that all the files haven't replicated out yet.
losttheplot replied on at Permalink Reply
I'm not sure what the problem was but I checked that that missing file was in place on each node before trying again this morning (UK time). The technicalities of running a three-node live-live cluster with failover are well beyond my old-school coding brain that struggles to get to grips with OOP ... which is why I leave that sort of brain-strain stuff to my sysadmin colleague ;)

5.7 looks good, by the way. Not having to switch between asset libraries when someone is logged in or using eCommerce will make things a lot easier when I get round to recoding all the bespoke blocks that I've not long finished creating for 5.6 [cry]
andrew replied on at Permalink Reply
andrew
Thanks! eCommerce for 5.7 is officially on our roadmap, and we'll try and get it out sometime after 5.7.4:

https://www.concrete5.org/about/roadmap/...

5.7.4 will feature a number of improvements to Redactor, some new features we'll talk about soon, some support for content export and import from 5.6 to 5.7, and more.
losttheplot replied on at Permalink Reply
Hi Andrew. The test vhost has been moved to a single-node platform and now the installation has completed successfully :) Clearly, installing c5 on a cloud platform is not as straightforward as I'd hoped! I am sorry for wasting your time, but I was reporting what I thought was a bug with the installation process.

As an aside, what are your plans for porting eCommerce to 5.7, please?