latest git update doing weird stuff!!
Permalink
I just updated from git and three things are seriously messed up, just FYI
1) all the external links no longer show up in the autonav header block. They do appear if I am logged in as admin
2) I can create a new external link in sitemap, but when I delete it I just get blank error message boxes. This is caused by a php memory error. At first I was getting Allowed Memory error... so I increased php mem from 128M to 512M... and still get
Same error when I sety memory_limit to 1024M
3) the server no longer reponds to ANY request after this. I need to do a server restart ... no doubt due to the memory disaster of $this->removeThisAlias()
I can delete the pages with
1) all the external links no longer show up in the autonav header block. They do appear if I am logged in as admin
2) I can create a new external link in sitemap, but when I delete it I just get blank error message boxes. This is caused by a php memory error. At first I was getting Allowed Memory error... so I increased php mem from 128M to 512M... and still get
Allowed memory size of 536870912 bytes exhausted (tried to allocate 130968 bytes) in /home/jw/sites/istandc57/web/concrete/src/Page/Page.php on line 2381
Same error when I sety memory_limit to 1024M
3) the server no longer reponds to ANY request after this. I need to do a server restart ... no doubt due to the memory disaster of $this->removeThisAlias()
I can delete the pages with
<?php require_once('./init.php'); $db = Database::connection(); $q = 'delete from Pages where cID = ?'; $r = $db->query($q, array($argv[1])); $q = 'delete from Collections where cID = ?'; $r = $db->query($q, array($argv[1])); $q = 'delete from CollectionVersions where cID = ?'; $r = $db->query($q, array($argv[1])); $q = 'delete from PagePaths where cID = ?'; $r = $db->query($q, array($argv[1])); ?>
# concrete5 Version Core Version - 5.7.4b3 Version Installed - 5.7.4b1 Database Version - 20150330000000 # concrete5 Packages ExchangeCore Dev Tools (0.9.2), iStand.tv Mgt Tools (1.0.0), ProBlog (2.2.2), Social Share Lite (2.1). # concrete5 Overrides blocks/short_comments, blocks/google_search, controllers/view.php, controllers/api.php, css/fix, css/app.css, themes/istand_tv_x # concrete5 Cache Settings Block Cache - Off Overrides Cache - Off Full Page Caching - Off Full Page Cache Lifetime - Every 6 hours (default setting). # Server Software Apache/2.4.12 (Unix) PHP/5.6.6
Viewing 15 lines of 36 lines. View entire code block.
I'm getting an infinite loop from removeThisAlias() calling delete() calling removeThisAlias() etc.
Looks like it was introduced by this commit: https://github.com/concrete5/concrete5-5.7.0/commit/0844ae4dce688693...
Looks like it was introduced by this commit: https://github.com/concrete5/concrete5-5.7.0/commit/0844ae4dce688693...
that would explain the out of memory error
I created a Github issue for it:https://github.com/concrete5/concrete5-5.7.0/issues/2197...
fixes the disappearing external link problem.
Is this going to have hoirrible consequences that are not immediatly obvious?