https://www.silverstripe.org/community/forums/rss Re: Date for 4.0 final? https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080#post424544 <p>Hello NicoleW, </p><p>thank's for your answer! <br />I've checked V4 beta 3. There are some issues/remarks. Were can I best report?</p> <br /> <p data-swiftype-index="false">Posted to: Date for 4.0 final? | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080#post424544" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/122080" class="replyLink">Post Reply</a></p> Mon, 25 Sep 2017 20:31:17 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080#post424544 Re: Date for 4.0 final? https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080#post424375 <p>We're aiming for stable release by the end of the year, if not sooner.</p> <br /> <p data-swiftype-index="false">Posted to: Date for 4.0 final? | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080#post424375" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/122080" class="replyLink">Post Reply</a></p> Fri, 22 Sep 2017 09:15:50 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080#post424375 Date for 4.0 final? https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080 <p>Hi main developer! </p><p>Is there a roughly date for V 4.0 final release? </p><p>I have to do some modifications in a 3.6.1 installation for a customer website. <br />My customer wants to know it its better to wait for cms next version... </p><p>Any assumptions about that? <br />Thank you! </p><p>Cheers, elruo</p> <br /> <p data-swiftype-index="false">Posted to: Date for 4.0 final? | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/122080" class="replyLink">Post Reply</a></p> Thu, 21 Sep 2017 01:36:09 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/122080 Upgrade from 2.4.4 to latest release https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/121296 <p>We are getting penalized by Google for slow site and most of the recommendations are out of our hands such 'Eliminate render-blocking JavaScript and CSS in above-the-fold content'. I'm hoping the latest versions of SS address a lot of these items. </p><p>How would I go about it?</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade from 2.4.4 to latest release | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/121296" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/121296" class="replyLink">Post Reply</a></p> Wed, 26 Jul 2017 03:29:46 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/121296 Re: Upgrade website from 3.0.5 to 4.0.0-alpha6 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/120720#post423447 <p>OK, this is a lot later then it should be, but in any case: </p><p>First I would wait for the first beta version before upgrading a complex site - because untill then the API is still subject to changes. Second there are a lót of API changes, so you'll have to test and update every bit of your custom code! </p><p>As to namespacing, I use netbeans and if I type 'Use SomeClass' it will automatically show me the proper namespace... </p><p>There's this: <br /><a href="https://docs.silverstripe.org/en/4/upgrading/">https://docs.silverstripe.org/en/4/upgrading/</a> <br /><a href="https://docs.silverstripe.org/en/4/changelogs/4.0.0/#a-name-upgrading-a-upgrading">https://docs.silverstripe.org/en/4/changelogs/4.0.0/#a-name-upgrading-a-upgrading</a> (not sure how up-to-date) </p><p>And possibly this: <br /><a href="https://github.com/silverstripe/silverstripe-upgrader">https://github.com/silverstripe/silverstripe-upgrader</a> </p><p>Working with images has changed enormously - there is a task in /dev/tasks/ that may help importing existing images (haven't tried)</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade website from 3.0.5 to 4.0.0-alpha6 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/120720#post423447" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/120720" class="replyLink">Post Reply</a></p> Wed, 21 Jun 2017 02:32:01 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/120720#post423447 Upgrade CWP 1.4.1 to 1.5.x https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/121228 <p>Never had an issue upgrading CWP till now. Trying to go from 1.4.1 to any later version.<br></p><div class="codesnippet"><p>Problem 1<br> - Installation request for cwp/cwp-recipe-basic ~1.5.2@stable -&gt; satisfiable by cwp/cwp-recipe-basic[1.5.2].<br> - cwp/cwp-recipe-basic 1.5.2 requires silverstripe-australia/gridfieldextensions 1.4.2@stable -&gt; no matching pa<br> ckage found.</p></div> <br> <p data-swiftype-index="false">Posted to: Upgrade CWP 1.4.1 to 1.5.x | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/121228" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/121228" class="replyLink">Post Reply</a></p> Mon, 12 Jun 2017 16:14:14 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/121228 Upgrade website from 3.0.5 to 4.0.0-alpha6 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/120720 <p>I have a complex website built with 3.0.5 and i need to upgrade it to 4.0.0-alpha6. </p><p><strong>What I've done so far</strong> </p><p>* I changed composer.json with the version I want and run 'composer update' <br />* I replaced all the old modules with the new versions that support 4.0 <br />* Now I keep getting errors/incompatibilities. When i fix something and refresh I get another and so on. </p><p><strong>My questions: </strong> <br />* Have I approched this update the right way? If not what should I do instead? <br />* I've seen some available tool to namespace classes but chouldn't really understand how that works, so no success there either. </p><p>I would appreciate any kind of help here. <br />Thanks,</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade website from 3.0.5 to 4.0.0-alpha6 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/120720" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/120720" class="replyLink">Post Reply</a></p> Thu, 20 Apr 2017 03:03:53 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/120720 Re: Class conflict errors after upgrading to 3.5.2 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119331#post422543 <p>Hey Boss, </p><p>It looks like you might have copied the cms directory over the top of the old one, without removing old files? </p><p>SS 3.5.2 doesn't contain a cms/reports/SideReport.php file as you can see here: <a href="https://github.com/silverstripe/silverstripe-cms/tree/3.5.2/code/reports">https://github.com/silverstripe/silverstripe-cms/tree/3.5.2/code/reports</a> </p><p>I suspect your issue is that SideReport.php is hanging over from the 3.1.5 codebase and needs to be deleted - but I suspect you'll get a lot more of these errors unless you remove all the old code and entirely replace the framework, cms etc. folders with the new versions. </p><p>Hope that helps! ☃️</p> <br /> <p data-swiftype-index="false">Posted to: Class conflict errors after upgrading to 3.5.2 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119331#post422543" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119331" class="replyLink">Post Reply</a></p> Thu, 06 Apr 2017 12:15:44 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119331#post422543 Class conflict errors after upgrading to 3.5.2 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119331 <p>I have just tried upgrading from 3.5.2 from 3..1.5. <br />The actual website seems to have been upgraded fine, i can access the website, go around it, and it all works really well... Except... when i go to /admin i get database errors, and when i do /dev/build i get errors about class conflicts, things like: </p><p>Fatal error: Uncaught exception 'Exception' with message 'There are two files containing the "SideReport_EmptyPages" class: "/var/www/sites/redacted/cms/code/reports/EmptyPagesReport.php" and "/var/www/sites/redacted/cms/code/reports/SideReport.php"' in /var/www/sites/redacted/framework/core/manifest/ClassManifest.php on line 568 </p><p>I also get these errors when i try to ?flush=all. </p><p>The way i tried to upgrade was to replace the delete the folders cms, framework, vendor, reports and siteconfig. then copy in the new folders.</p> <br /> <p data-swiftype-index="false">Posted to: Class conflict errors after upgrading to 3.5.2 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119331" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119331" class="replyLink">Post Reply</a></p> Wed, 15 Feb 2017 01:22:45 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119331 Re: SIlverstripe 3.0 -> 3.1 issues https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/25305#post421059 <p>problem ------------depreciation.php </p><p>$fields-&gt;addFieldToTab("Root.Content.OnSubmission", new TextField('Mailto', 'Email submissions to'));&nbsp;&nbsp;&nbsp; <br />$fields-&gt;addFieldToTab("Root.Content.OnSubmission", new HTMLEditorField('SubmitText', 'Text on Submission')); </p><p>now---------------- <br />$fields-&gt;addFieldToTab("Root.OnSubmission", new TextField('Mailto', 'Email submissions to'));&nbsp;&nbsp;&nbsp; <br />$fields-&gt;addFieldToTab("Root.OnSubmission", new HTMLEditorField('SubmitText', 'Text on Submission')); </p><p>now im able to edit the pagetpye hope it help</p> <br /> <p data-swiftype-index="false">Posted to: SIlverstripe 3.0 -&gt; 3.1 issues | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/25305#post421059" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/25305" class="replyLink">Post Reply</a></p> Wed, 28 Dec 2016 00:40:51 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/25305#post421059 Re: Internal server error happening every 4 hrs https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058#post421006 <p>We have sorted the issue out now. <br />I switched from MySQLi to PDO by updating the mysite/_config.php file. <br />This stop the errors. <br />Info about the issue in the link below </p><p><a href="http://bugs.mysql.com/bug.php?id=42041">http://bugs.mysql.com/bug.php?id=42041</a> </p><p>Stu</p> <br /> <p data-swiftype-index="false">Posted to: Internal server error happening every 4 hrs | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058#post421006" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119058" class="replyLink">Post Reply</a></p> Fri, 09 Dec 2016 08:45:23 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058#post421006 Re: Internal server error happening every 4 hrs https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058#post421000 <p>Looks like a lot of people have ran into this at some point - I see a lot of comments referring to mysqldump being in progress so you may be right. It shouldn't be a SilverStripe upgrade problem, I think. </p><p>You could try temporary downgrading back to 3.2 to see if it's maybe a difference in how MySQL queries are executed in 3.5, but I doubt that...</p> <br /> <p data-swiftype-index="false">Posted to: Internal server error happening every 4 hrs | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058#post421000" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119058" class="replyLink">Post Reply</a></p> Fri, 09 Dec 2016 03:30:12 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058#post421000 Re: Upgrade to 3.5.0 broke my website https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420985 <p>I just discovered the problem. After the upgrade, it seems the file config.yml gets overwritten by the original version of it, so the line that specifies the custom theme changes back to the original theme and my last line that specified my extension to SiteConfig got erased. I also noticed these 2 new lines and wonder if I should keep them: <br /><div class="codesnippet"><p>Debug: <br /> friendly_error_httpcode: true</p></div></p> <br /> <p data-swiftype-index="false">Posted to: Upgrade to 3.5.0 broke my website | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420985" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119080" class="replyLink">Post Reply</a></p> Tue, 06 Dec 2016 10:57:21 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420985 Re: Upgrade to 3.5.0 broke my website https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420981 <p>Here are some updates. As I was working on my new website I just realized my extension to SiteConfig I made last week doesn't work anymore. I had made one just like in the tutorial which would give me an extra tab called "Social" that would contain all my social networks links. It used to work last week, but since the upgrade the tab I made doesn't appear anymore. Anybody knows why?</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade to 3.5.0 broke my website | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420981" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119080" class="replyLink">Post Reply</a></p> Mon, 05 Dec 2016 14:53:36 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420981 Re: Upgrade to 3.5.0 broke my website https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420973 <p>Despite trying a "dev/build" and also "?flush=1", nothing changed. I finally managed to fix it up, though. As I posted before, I suspected the main controller giving the requirements lines to be broken, so I opened the Page.php file, just switched the order of two of my requirements lines to fake a change in the file and saved it, so next time I ran "?flush" Silverstripe saw a change in the file and reloaded it. Now everything's fine (as far as I know).</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade to 3.5.0 broke my website | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420973" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119080" class="replyLink">Post Reply</a></p> Wed, 30 Nov 2016 07:12:42 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080#post420973 Upgrade to 3.5.0 broke my website https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080 <p>I just saw there was an upgrade to version 3.5.0, so I gave it a try. Now my website doesn't have a proper working theme anymore. The fields show up and in the right order, so I guess Silverstripe has access to the database and uses the SS files I made, but nothing is formatted. It's as if I didn't have a CSS file anymore. I think with the upgrade, my Page.php file's controller "Requirements" lines giving the CSS files got broken. Did "ThemeDir()" change? <br />Thank you for your help,</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade to 3.5.0 broke my website | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119080" class="replyLink">Post Reply</a></p> Wed, 30 Nov 2016 06:57:01 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119080 Internal server error happening every 4 hrs https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058 <p>Hi there I need some help on an issue we have been having since we upgrading from silverstripe 3.1 to 3.4. We also changed hosting companies to siteground.<br>We are getting an internal server error every 4 hours for about 3 minutes. About 80% of our web page will display an internal server error. After 3 minutes everything will come right again. The timing is exactly at 1:00pm 5:00pm 9:00pm 1:00am and 5:00am. <br>I enabled silverstripe logging on monday<br>In the log,<br>The error that occur is</p><p>[24-Nov-2016 02:03:10] Error at framework/model/connect/DBConnector.php line 55: Uncaught SS_DatabaseException: Couldn't run query:</p><p>SELECT DISTINCT "SiteTree_Live"."ClassName", "SiteTree_Live"."LastEdited", "SiteTree_Live"."Created", "SiteTree_Live"."URLSegment", "SiteTree_Live"."Title", "SiteTree_Live"."MenuTitle", "SiteTree_Live"."Content", "SiteTree_Live"."MetaDescription", "SiteTree_Live"."ExtraMeta", "SiteTree_Live"."ShowInMenus", "SiteTree_Live"."ShowInSearch", "SiteTree_Live"."Sort", "SiteTree_Live"."HasBrokenFile", "SiteTree_Live"."HasBrokenLink", "SiteTree_Live"."ReportClass", "SiteTree_Live"."CanViewType", "SiteTree_Live"."CanEditType", "SiteTree_Live"."HideOnSitemap", "SiteTree_Live"."Version", "SiteTree_Live"."ParentID", "SiteTree_Live"."ID", <br>         CASE WHEN "SiteTree_Live"."ClassName" IS NOT NULL THEN "SiteTree_Live"."ClassName"<br>         ELSE 'SiteTree' END AS "RecordClassName"</p><p>FROM "SiteTree_Live"</p><p>WHERE ("SiteTree_Live"."URLSegment" = ?)<br> AND ("SiteTree_Live"."ParentID" = ?)</p><p>ORDER BY "SiteTree_Live"."Sort" ASC</p><p>LIMIT 1</p><p>Prepared statement needs to be re-prepared (<a href="http://www.pertronic.com.au/news/">http://www.pertronic.com.au/news/</a>)</p><p>[24-Nov-2016 02:03:24] Error at framework/model/connect/DBConnector.php line 55: Uncaught SS_DatabaseException: Couldn't run query:</p><p>SELECT DISTINCT "SiteTree_Live"."ClassName", "SiteTree_Live"."LastEdited", "SiteTree_Live"."Created", "SiteTree_Live"."URLSegment", "SiteTree_Live"."Title", "SiteTree_Live"."MenuTitle", "SiteTree_Live"."Content", "SiteTree_Live"."MetaDescription", "SiteTree_Live"."ExtraMeta", "SiteTree_Live"."ShowInMenus", "SiteTree_Live"."ShowInSearch", "SiteTree_Live"."Sort", "SiteTree_Live"."HasBrokenFile", "SiteTree_Live"."HasBrokenLink", "SiteTree_Live"."ReportClass", "SiteTree_Live"."CanViewType", "SiteTree_Live"."CanEditType", "SiteTree_Live"."HideOnSitemap", "SiteTree_Live"."Version", "SiteTree_Live"."ParentID", "SiteTree_Live"."ID", <br>         CASE WHEN "SiteTree_Live"."ClassName" IS NOT NULL THEN "SiteTree_Live"."ClassName"<br>         ELSE 'SiteTree' END AS "RecordClassName"</p><p>FROM "SiteTree_Live"</p><p>WHERE ("SiteTree_Live"."URLSegment" = ?)<br> AND ("SiteTree_Live"."ParentID" = ?)</p><p>ORDER BY "SiteTree_Live"."Sort" ASC</p><p>LIMIT 1</p><p>Prepared statement needs to be re-prepared (<a href="http://pertronic.com.au/resources/online-tools/">http://pertronic.com.au/resources/online-tools/</a>)</p><p>Has anyone come accross this error before?</p><p>I have done a bit if searching on google and wondered if this is a MYSQL bug<br>and happens during auto back of the database. Which would explain why our site goes down exactly at the precise times above .</p><p>Any help would be greatly appreciated.</p><p>Stu</p> <br> <p data-swiftype-index="false">Posted to: Internal server error happening every 4 hrs | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/119058" class="replyLink">Post Reply</a></p> Fri, 25 Nov 2016 15:49:12 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/119058 Re: Upgrade an old Version https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676#post420867 <p>you can look at "framework\silverstripe_version", "cms\silverstripe_version" to find the version however you should really be looking at the composer.json used to install silverstripe as this tool should control what is being installed</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade an old Version | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676#post420867" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118676" class="replyLink">Post Reply</a></p> Thu, 03 Nov 2016 21:47:47 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676#post420867 Re: Upgrade an old Version https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676#post420866 <p>Greetings, <br />I too am interested in the answer to this question. Also, how do I find the exact version of a SilverStripe installation? <br />Thanks, <br />Xochi</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade an old Version | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676#post420866" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118676" class="replyLink">Post Reply</a></p> Thu, 03 Nov 2016 16:39:50 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676#post420866 Upgrade an old Version https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676 <p>Can a Verion 1.5x be brought to the latest version and if so, would the effort be in the frame or must any intermediate step be taken? <br />Specifically, we have a customer who is using version 1.5.x and is now to be updated. Upgrade or reinstallation? What would you advise?</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade an old Version | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118676" class="replyLink">Post Reply</a></p> Tue, 11 Oct 2016 20:12:57 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118676 Re: Linking to files not working after upgrade from 3.2 - 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585#post420447 <p>Thanks mate, I had the same issue a couple of days ago, I'm now using this addon instead for phone links. <br /><a href="https://github.com/zarocknz/silverstripe-tinymce-phonelinks">https://github.com/zarocknz/silverstripe-tinymce-phonelinks</a></p> <br /> <p data-swiftype-index="false">Posted to: Linking to files not working after upgrade from 3.2 - 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585#post420447" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118585" class="replyLink">Post Reply</a></p> Wed, 28 Sep 2016 18:12:25 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585#post420447 Re: Linking to files not working after upgrade from 3.2 - 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585#post420324 <p>I found the problem was I was using zucchi/editor-extensions modules to allow users to easilt add tel: links to phone numbers for mobile use.</p> <br /> <p data-swiftype-index="false">Posted to: Linking to files not working after upgrade from 3.2 - 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585#post420324" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118585" class="replyLink">Post Reply</a></p> Thu, 18 Aug 2016 15:56:46 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585#post420324 Linking to files not working after upgrade from 3.2 - 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585 <p>I have upgraded from 3.2 to 3.3 a while back and notice that now when I link to a file the code is &lt;a href="" <br>I have tried with a new file upload, an existing file etc - always the same. I just tried to upgrade to 3.4.1 and have the same issue. Any thoughts?</p> <br> <p data-swiftype-index="false">Posted to: Linking to files not working after upgrade from 3.2 - 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118585" class="replyLink">Post Reply</a></p> Wed, 17 Aug 2016 15:33:06 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118585 Linking to files not working after upgrade from 3.2 - 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118584 <p>I have upgraded from 3.2 to 3.3 a while back and notice that now when I link to a file the code is &lt;a href="" <br>I have tried with a new file upload, an existing file etc - always the same. I just tried to upgrade to 3.4.1 and have the same issue. Any thoughts?</p> <br> <p data-swiftype-index="false">Posted to: Linking to files not working after upgrade from 3.2 - 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118584" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118584" class="replyLink">Post Reply</a></p> Wed, 17 Aug 2016 15:33:04 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118584 Is GoogleSitemap module not compatible with 3.4? https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118426 <p>HI,</p><p>I m new to Silverstripe, I recently upgraded the site from 2.4.5 to 3.0, and then to 3.1, then to 3.2 and finally to 3.4. I have GoogleSitemap module ( <a href="https://github.com/silverstripe-labs/silverstripe-googlesitemaps">https://github.com/silverstripe-labs/silverstripe-googlesitemaps</a>), which doesn't seem to work in version 3.4. </p><p>Browsing, <a href="http://www.examplesite.com/sitemap.xml?flush=1">http://www.examplesite.com/sitemap.xml?flush=1</a>, gives an error<br></p><div class="codesnippet"><p>[User Error] Uncaught Exception: Object-&gt;__call(): the method 'setsession' does not exist on 'GoogleSitemap'<br>GET /sitemap.xml?flush=1<br>Line 743 in D:\server\<a href="http://www\ss_website\framework\core\Object.php/">www\ss_website\framework\core\Object.php</a></p></div><p>Is there any fix for this??</p><p>Thanks</p> <br> <p data-swiftype-index="false">Posted to: Is GoogleSitemap module not compatible with 3.4? | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118426" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118426" class="replyLink">Post Reply</a></p> Tue, 12 Jul 2016 18:58:08 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118426 Re: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420069 <p>Thanks for that. I'll check it out -- there has to be a better way than FTP!!</p> <br /> <p data-swiftype-index="false">Posted to: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420069" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118389" class="replyLink">Post Reply</a></p> Thu, 07 Jul 2016 16:23:08 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420069 Re: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420068 <p>Good to hear it's working. Might have just been a problem with a file during FTP. You could look into using Git post-receive hooks to do you deploys (depends if you're using share hosting or a Virtual Private Server or similar). See <a href="http://krisjordan.com/essays/setting-up-push-to-deploy-with-git">http://krisjordan.com/essays/setting-up-push-to-deploy-with-git</a></p> <br /> <p data-swiftype-index="false">Posted to: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420068" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118389" class="replyLink">Post Reply</a></p> Thu, 07 Jul 2016 15:32:07 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420068 Re: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420067 <p>Hi Cam. Updated local site using composer -- only deployment method I know is FTP. So I cleaned out root directory on server, uploaded everything again including a new copy of DB and site fired up this time. Had considered uploading Silverstripe .ZIP and unzipping on server but decided to match my local configuration. Would be great to know a more reliable method but at least we're going.</p> <br /> <p data-swiftype-index="false">Posted to: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420067" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118389" class="replyLink">Post Reply</a></p> Thu, 07 Jul 2016 15:19:18 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420067 Re: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420066 <p>Hey there, did you update using composer? Also how did you deploy to your live server?</p> <br /> <p data-swiftype-index="false">Posted to: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420066" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118389" class="replyLink">Post Reply</a></p> Thu, 07 Jul 2016 14:40:21 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389#post420066 PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389 <p>Upgraded my website to SS 3.4.0 today. It took a couple of ?flush=all, a /dev/build/ and a few kicks but the local environment was up and running fairly easily. So I decided to push site to live server -- and now I have a 'white screen of death'. No Admin, no Messages, Nothing, Nyet and Nada. </p><p>I did manage to get a trace (?isDev=1) whcih produced the following message: </p><p></p><div class="codesnippet"><p>Source</p><p>5 /**<br>6 * A class for creating new objects by the injector.<br>7 *<br>8 * @package framework<br>9 * @subpackage injector<br>10 */<br>11 class InjectionCreator implements Factory {<br>12 <br>13    public function create($class, array $params = array()) {<br>14       $reflector = new ReflectionClass($class);<br>15 <br>16       if (count($params)) {<br>17          return $reflector-&gt;newInstanceArgs($params);<br>18       }<br>19 <br>20       return $reflector-&gt;newInstance();</p><p>Trace</p><p> ReflectionClass-&gt;__construct(Cookie_Backend)<br> InjectionCreator.php:14<br> InjectionCreator-&gt;create(Cookie_Backend,Array)<br> Injector.php:555<br> Injector-&gt;instantiate(Array,Cookie_Backend)<br> Injector.php:861<br> Injector-&gt;get(Cookie_Backend)<br> Cookie.php:22<br> Cookie::get_inst()<br> Cookie.php:51<br> Cookie::get(alternativeDatabaseName)<br> DB.php:178<br> DB::get_alternative_database_name()<br> DB.php:229<br> DB::connect(&lt;filtered&gt;)<br> main.php:138<br> {closure}(ErrorControlChain)<br> call_user_func(Closure,ErrorControlChain)<br> ErrorControlChain.php:215<br> ErrorControlChain-&gt;step()<br> ErrorControlChain.php:206<br> ErrorControlChain-&gt;execute()<br> main.php:165</p></div><br>Something about a 'Reflection Class'. I found the affected php file but am not sure what I need to do to fix it. <p>Plus: <strong>[Error] Uncaught ReflectionException: Class Cookie_Backend does not exist</strong> ??</p><p>Can anybody advise? Please?</p> <br> <p data-swiftype-index="false">Posted to: PLEASE HELP!! Upgrade to SS 3.4.0: WHITE SCREEN OF DEATH!!! | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/118389" class="replyLink">Post Reply</a></p> Tue, 05 Jul 2016 20:44:15 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/118389 Remove 'index.php' from all site urls - .htaccess creating havoc https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117133 <p>Hi all -</p><p>We just upgraded <a href="http://e-lumini.com/">http://e-lumini.com</a> to the latest Silverstripe version through Composer but something seem to have gone wrong with our .htaccess file. Currently, all urls contain the 'index.php' string which we don't want.</p><p>The contents of our current .htaccess is:</p><p>--------------------------------------<br>### SILVERSTRIPE START ###<br>&lt;Files *.ss&gt;<br>   Order deny,allow<br>   Deny from all<br>   Allow from 127.0.0.1<br>&lt;/Files&gt;</p><p>&lt;Files web.config&gt;<br>   Order deny,allow<br>   Deny from all<br>&lt;/Files&gt;</p><p># This denies access to all yml files, since developers might include sensitive<br># information in them. See the docs for work-arounds to serve some yaml files<br>&lt;Files *.yml&gt;<br>   Order allow,deny<br>   Deny from all<br>&lt;/Files&gt;</p><p>ErrorDocument 404 /assets/error-404.html<br>ErrorDocument 500 /assets/error-500.html</p><p>&lt;IfModule mod_rewrite.c&gt;<br>   SetEnv HTTP_MOD_REWRITE On<br>   RewriteEngine On<br>   RewriteBase '/Simline'</p><p>   RewriteRule ^vendor(/|$) - [F,L,NC]<br>   RewriteRule silverstripe-cache(/|$) - [F,L,NC]<br>   RewriteRule composer\.(json|lock) - [F,L,NC]<br>   <br>   RewriteCond %{REQUEST_URI} ^(.*)$<br>   RewriteCond %{REQUEST_FILENAME} !-f<br>   RewriteRule .* framework/main.php?url=%1 [QSA]<br>&lt;/IfModule&gt;<br>### SILVERSTRIPE END ###</p><p>Can anyone give me a hand with removing the 'index.php' string through this file.</p><p>Many thanks in advance -</p><p>Raymond</p> <br> <p data-swiftype-index="false">Posted to: Remove 'index.php' from all site urls - .htaccess creating havoc | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117133" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/117133" class="replyLink">Post Reply</a></p> Wed, 15 Jun 2016 16:04:01 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117133 Weird GridField error when editing and trying to save https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117116 <p>Have been pulling my hair out trying to upgrade a silverstripe 3.1.13 site to 3.2.0.</p><p>When trying to save a record I get the following error message:<br>ERROR [User Error]: Uncaught Exception: Object-&gt;__call(): the method 'redirectback' does not exist on<br> 'GridFieldDetailForm_ItemRequest'</p><p>Some times it is Bad Request.</p><p>Followed upgrade guide and fixed all changes etc.</p><p>Works fine in version 3.1.9, but this issue happens on version 3.2.0 and above.</p><p>From comparing to records side by side in phpmyadmin, it appears to have something to do with the securityid being different or incorrect. If I paste a securityid from a working record, then it updates fine! Changed a securityid slightly and it will not update.</p><p>Any ideas why this would be?</p><p>Thanks<br>Regards<br>Scott</p> <br> <p data-swiftype-index="false">Posted to: Weird GridField error when editing and trying to save | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117116" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/117116" class="replyLink">Post Reply</a></p> Wed, 08 Jun 2016 18:33:05 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/117116 Page Hiding from Navigation functionality not working https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111963 <p>Hi All, </p><p>We upgrade our version from 3.1.6, to 3.2.0 </p><p>After upgrading the same, we notice one issue. I am unable to hide the pages from the navigation. </p><p>Previously i used to un-check the boxes of "Show in menus?" and "Show in search?" from the "Visibility"...But now I am doing the same but page still showing in the navigation menu.. </p><p>I had check to flush the cache as well... </p><p>Please advise how would I able to resolve this issue. </p><p>Thanks</p> <br /> <p data-swiftype-index="false">Posted to: Page Hiding from Navigation functionality not working | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111963" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111963" class="replyLink">Post Reply</a></p> Thu, 19 May 2016 19:19:32 +1200 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111963 Re: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post413144 <p>fyi: I've just created an issue on github: <a href="https://github.com/silverstripe/silverstripe-framework/issues/5245">https://github.com/silverstripe/silverstripe-framework/issues/5245</a></p> <br /> <p data-swiftype-index="false">Posted to: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post413144" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111621" class="replyLink">Post Reply</a></p> Wed, 30 Mar 2016 01:39:13 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post413144 Re: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post413143 <p>I've the same issue when I try to upgrade from 3.1.12 to 3.1.18! <br />This seems to be a bug related to changes committed here: <a href="https://github.com/silverstripe/silverstripe-framework/pull/4202">https://github.com/silverstripe/silverstripe-framework/pull/4202</a> </p><p>It looks like that if there are files in the root of the assets tree (and maybe some other factors), this error occurs.</p> <br /> <p data-swiftype-index="false">Posted to: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post413143" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111621" class="replyLink">Post Reply</a></p> Wed, 30 Mar 2016 01:18:40 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post413143 Re: Upgrade SilverStripe 2.4.5 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post413090 <p>I should start doing this as well (upgrade from 2.4.5), but I'm little worried about all the stuff about the upgrade thing, because the site of course is online all the time, so I wouldn't want it do go down when some possible problems occur, so I don't know what would be the best time for the upgration. Also the language is a little problem when English isn't my best language, so it's quite hard to follow the instructions in English. There is at least dataobject manager and uploadify modules in there, so I've to start reading which part to start upgrading before the other (if there's upgrades for the modules) and weather there's something with the php version as well (in between which stages the php version should be upgraded to get everything running all the time) </p><p>The site running with SS is in the root directory and there's other site with the other system in the subfolder. Does the upgrade affect to that subfolder or does it stay untouched?</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade SilverStripe 2.4.5 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post413090" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111498" class="replyLink">Post Reply</a></p> Fri, 18 Mar 2016 00:45:22 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post413090 Re: Upgrading from Silverstripe 3.1 to 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687#post412977 <p>Thanks for your advice. My website is live but not public. After updating failed I have tried a clean manual install. The install program says ok on all tests but hitting install button results in the following fatal error:</p><p>Fatal error: Uncaught exception 'Exception' with message 'There are two files containing the "_database" class: "....../fam/framework/thirdparty/jstree/_demo/_inc/class._database.php" and "....../fam/framework/thirdparty/jstree/_demo/_inc/class._database_i.php"' in ...../fam/framework/core/manifest/ClassManifest.php:396 Stack trace: #0 [internal function]: SS_ClassManifest-&gt;handleFile('class._database...', '/customers/0/5/...', 5) #1 /fam/framework/filesystem/FileFinder.php(158): call_user_func(Array, 'class._database...', '/customers/0/5/...', 5) #2 ......./fam/framework/core/manifest/ClassManifest.php(311): SS_FileFinder-&gt;find('/customers/0/5/...') #3 ..../fam/framework/core/manifest/ClassManifest.php(135): SS_ClassManifest-&gt;regenerate(true) #4 ...../fam/framework/core/Core.php(100): SS_ClassManife in ...../fam/framework/core/manifest/ClassManifest.php on line 396</p><p>My provider states that the problem indicates a php error concerning :<br>There are two files containing the "_database" class fam/framework/thirdparty/jstree/_demo/_inc/class._database.php fam/framework/thirdparty/jstree/_demo/_inc/class._database_i.php</p><p>So i am stuck with a not completed installation</p> <br> <p data-swiftype-index="false">Posted to: Upgrading from Silverstripe 3.1 to 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687#post412977" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111687" class="replyLink">Post Reply</a></p> Tue, 01 Mar 2016 19:47:33 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687#post412977 Re: Upgrading from Silverstripe 3.1 to 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687#post412975 <p>You should really be testing this upgrade on a localhost development environment before upgrading live. </p><p>On another note I did write up a blog post a while back about 3.1 -&gt; 3.2 upgrade that might come in handy: <a href="http://www.silverstripe.org/blog/leveling-up-your-silverstripe-cms-website/">http://www.silverstripe.org/blog/leveling-up-your-silverstripe-cms-website/</a></p> <br /> <p data-swiftype-index="false">Posted to: Upgrading from Silverstripe 3.1 to 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687#post412975" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111687" class="replyLink">Post Reply</a></p> Tue, 01 Mar 2016 13:30:39 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687#post412975 Upgrading from Silverstripe 3.1 to 3.3 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687 <p>Hi I am unable to upgrade on a live database. On top off the install screen i get the message ' Warning: Invalid argument supplied for foreach() in ..../framework/dev/install/MySQLDatabaseConfigurationHelper.php on line 71'. Install complains about a non existing database. Version 3.1 worked perfect.</p> <br /> <p data-swiftype-index="false">Posted to: Upgrading from Silverstripe 3.1 to 3.3 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111687" class="replyLink">Post Reply</a></p> Sun, 28 Feb 2016 23:49:58 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111687 Re: Upgrade SilverStripe 2.4.5 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412845 <p>Hi Bekkevos, </p><p>You can get more information on internal server errors from your PHP Error logs. <br />Also try adding "?isDev=1" to the address in the address bar and reload the page. </p><p>Lastly you could look at the network tab in chrome or firebug, you should see the error in there. </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade SilverStripe 2.4.5 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412845" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111498" class="replyLink">Post Reply</a></p> Tue, 16 Feb 2016 08:37:45 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412845 Re: Upgrade SilverStripe 2.4.5 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412837 <p>I am still in the process of migrating this website. Some page types on the test environment are giving a 'Internal Server Error' inside the CMS. </p><p>Regards, Marc</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade SilverStripe 2.4.5 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412837" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111498" class="replyLink">Post Reply</a></p> Mon, 15 Feb 2016 23:33:49 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412837 Re: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post412815 <p>Hi Helen,</p><p>thank you for your reply. I'm definitely not loading these images to a grid field. The error occurs when the default asset management of the CMS gets called. There is no custom code in it as far as I can see. The class <em>Image</em> is the one provided by the framework.</p><p>Here's stack trace I receive:</p><p>[User Error] Uncaught Exception: Object-&gt;__call(): the method 'numchildfolders' does not exist on 'Image'<br>Line 739 in /htdocs/diakonischeswerk-3.2.1/framework/core/Object.php<br><strong>Source</strong><br></p><div class="codesnippet"><p>730             default :<br>731                throw new Exception (<br>732                   "Object-&gt;__call(): extra method $method is invalid on $this-&gt;class:"<br>733                      . var_export($config, true)<br>734                );<br>735          }<br>736       } else {<br>737          // Please do not change the exception code number below.<br>738          $class = get_class($this);<br>739          throw new Exception("Object-&gt;__call(): the method '$method' does not exist on '$class'", 2175);<br>740       }<br>741    }<br>742 <br>743    // --------------------------------------------------------------------------------------------------------------<br>744 <br>745    /**</p></div><p><strong>Trace</strong><br>Object-&gt;__call(numChildFolders,Array) <br>Hierarchy.php:298<br>Image-&gt;numChildFolders() <br>Hierarchy.php:298<br>Hierarchy-&gt;markingFinished(numChildFolders) <br>Hierarchy.php:107<br>Hierarchy-&gt;getChildrenAsUL(,Closure,CMSPagesController,1,ChildFolders,numChildFolders,30,Closure) <br>call_user_func_array(Array,Array) <br>Object.php:707<br>Object-&gt;__call(getChildrenAsUL,Array) <br>LeftAndMain.php:916<br>Folder-&gt;getChildrenAsUL(,Closure,CMSPagesController,1,ChildFolders,numChildFolders,30,Closure) <br>LeftAndMain.php:916<br>LeftAndMain-&gt;getSiteTreeFor(Folder,,ChildFolders,numChildFolders,,30) <br>AssetAdmin.php:538<br>AssetAdmin-&gt;getSiteTreeFor(Folder,,ChildFolders,numChildFolders) <br>AssetAdmin.php:546<br>AssetAdmin-&gt;SiteTreeAsUL() <br>AssetAdmin.php:287<br>AssetAdmin-&gt;getEditForm() <br>LeftAndMain.php:1189<br>LeftAndMain-&gt;EditForm() <br>ViewableData.php:402<br>ViewableData-&gt;obj(EditForm,,1,,) <br>SSViewer.php:91<br>SSViewer_Scope-&gt;getObj(EditForm,,1,,) <br>SSViewer.php:525<br>SSViewer_DataPresenter-&gt;getObj(EditForm,,1,,) <br>SSViewer.php:111<br>SSViewer_Scope-&gt;obj(EditForm,,1) <br>.cache.cms.templates.Includes.AssetAdmin_Content.ss:9<br>include(/homepages/25/d106632873/htdocs/diakonischeswerk-3.2.1/silverstripe-cache/u36684509/.cache.cms.templates.Includes.AssetAdmin_Content.ss) <br>SSViewer.php:1059<br>SSViewer-&gt;includeGeneratedTemplate(/homepages/25/d106632873/htdocs/diakonischeswerk-3.2.1/silverstripe-cache/u36684509/.cache.cms.templates.Includes.AssetAdmin_Content.ss,AssetAdmin,,Array,) <br>SSViewer.php:1119<br>SSViewer-&gt;process(AssetAdmin,) <br>ViewableData.php:341<br>ViewableData-&gt;renderWith(Array) <br>LeftAndMain.php:722<br>LeftAndMain-&gt;Content() <br>ViewableData.php:402<br>ViewableData-&gt;obj(Content,,,1) <br>ViewableData.php:475<br>ViewableData-&gt;XML_val(Content,,1) <br>call_user_func_array(Array,Array) <br>SSViewer.php:179<br>SSViewer_Scope-&gt;__call(XML_val,Array) <br>SSViewer.php:550<br>SSViewer_DataPresenter-&gt;__call(XML_val,Array) <br>.cache.framework.admin.templates.LeftAndMain.ss:41<br>SSViewer_DataPresenter-&gt;XML_val(Content,,1) <br>.cache.framework.admin.templates.LeftAndMain.ss:41<br>include(/homepages/25/d106632873/htdocs/diakonischeswerk-3.2.1/silverstripe-cache/u36684509/.cache.framework.admin.templates.LeftAndMain.ss) <br>SSViewer.php:1059<br>SSViewer-&gt;includeGeneratedTemplate(/homepages/25/d106632873/htdocs/diakonischeswerk-3.2.1/silverstripe-cache/u36684509/.cache.framework.admin.templates.LeftAndMain.ss,AssetAdmin,,Array,) <br>SSViewer.php:1119<br>SSViewer-&gt;process(AssetAdmin,) <br>ViewableData.php:341<br>ViewableData-&gt;renderWith(SSViewer) <br>LeftAndMain.php:599<br>LeftAndMain-&gt;{closure}() <br>call_user_func(Closure) <br>PjaxResponseNegotiator.php:82<br>PjaxResponseNegotiator-&gt;respond(SS_HTTPRequest) <br>LeftAndMain.php:505<br>LeftAndMain-&gt;index(SS_HTTPRequest) <br>RequestHandler.php:288<br>RequestHandler-&gt;handleAction(SS_HTTPRequest,index) <br>Controller.php:200<br>Controller-&gt;handleAction(SS_HTTPRequest,index) <br>RequestHandler.php:200<br>RequestHandler-&gt;handleRequest(SS_HTTPRequest,DataModel) <br>Controller.php:157<br>Controller-&gt;handleRequest(SS_HTTPRequest,DataModel) <br>LeftAndMain.php:451<br>LeftAndMain-&gt;handleRequest(SS_HTTPRequest,DataModel) <br>AdminRootController.php:93<br>AdminRootController-&gt;handleRequest(SS_HTTPRequest,DataModel) <br>Director.php:385<br>Director::handleRequest(SS_HTTPRequest,Session,DataModel) <br>Director.php:149<br>Director::direct(/admin/assets/,DataModel) <br>main.php:184</p><p>Thanks again<br>Jens</p> <br> <p data-swiftype-index="false">Posted to: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post412815" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111621" class="replyLink">Post Reply</a></p> Sat, 13 Feb 2016 03:30:39 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post412815 Re: Upgrade SilverStripe 2.4.5 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412814 <p>Can you report on any progress? </p><p>I've inherited a 2.4.5 install that I need to upgrade too. Did you encounter any gotchas?</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade SilverStripe 2.4.5 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412814" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111498" class="replyLink">Post Reply</a></p> Sat, 13 Feb 2016 02:12:28 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111498#post412814 Re: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post412800 <p>Hi Jens, </p><p>Do you have more info on the error? </p><p>I have only found one other person who has mentioned this error, it seems to be in releation to old code when upgrading. <br />Looks like something to do with loading images into/through a gridfield... Does that sound like anything? </p><p>-helenclarko</p> <br /> <p data-swiftype-index="false">Posted to: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post412800" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111621" class="replyLink">Post Reply</a></p> Tue, 09 Feb 2016 14:59:04 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621#post412800 Issue with assets admin after upgrading from 2.3.1 to 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621 <p>Hi everybody, </p><p>after I finally managed to upgrade a rather old site to 3.2.1 I'm still facing an issue with the assets admin. I always get the following error message when calling <em>/admin/assets/</em>: <br /><div class="codesnippet"><p>Error at framework/core/Object.php line 739: Uncaught Exception: Object-&gt;__call(): the method 'numchildfolders' does not exist on 'Image' (<a href="http://www.diakonischeswerk.de/admin/assets/">http://www.diakonischeswerk.de/admin/assets/</a>)</p></div> </p><p>Any ideas on that? It seems pretty obvious that an Image doesn't have child folders, but why is that method called? </p><p>Thanks in advance <br />Jens</p> <br /> <p data-swiftype-index="false">Posted to: Issue with assets admin after upgrading from 2.3.1 to 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111621" class="replyLink">Post Reply</a></p> Tue, 09 Feb 2016 08:11:50 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111621 Re: Bootstrap-forms & Userforms module broken after upgrading to SS 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412642 <p>Cheers Dave.m, To me this seems to be that the <a href="https://github.com/unclecheese/silverstripe-bootstrap-forms">https://github.com/unclecheese/silverstripe-bootstrap-forms</a> module itself doesn't (at least yet) support use with the latest version of UserForms. I'd suggest raising an issue there with the maintainer of that module (UncleCheese). You could also look to fork that module, improve it to suit your needs and then offer the fix back as a Pull Request to the original module.</p> <br /> <p data-swiftype-index="false">Posted to: Bootstrap-forms &amp; Userforms module broken after upgrading to SS 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412642" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111544" class="replyLink">Post Reply</a></p> Thu, 14 Jan 2016 17:41:22 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412642 Re: Bootstrap-forms & Userforms module broken after upgrading to SS 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412641 <p>Hey Cam, <br />Using the latest version in CWP. <br />I was using Userforms 2.0.9 / Bootstrapforms with SS 3.1.13 and upgraded to SS 3.2 and Userforms 3.1.0</p> <br /> <p data-swiftype-index="false">Posted to: Bootstrap-forms &amp; Userforms module broken after upgrading to SS 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412641" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111544" class="replyLink">Post Reply</a></p> Thu, 14 Jan 2016 17:15:25 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412641 Upgrade from 3.0.5 to 3.2.1 - Call to a member function databaseExists() on null https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111558 <p>Hi <br />When upgrading from 3.0.5 to 3.2.1 I get the error below after uploading the cms, framework, reports and siteconfig folders. I'm unable to run /dev/build/?flush=1 due to the error. </p><p>Fatal error: Call to a member function databaseExists() on null in /public_html/framework/model/connect/Database.php on line 633</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade from 3.0.5 to 3.2.1 - Call to a member function databaseExists() on null | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111558" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111558" class="replyLink">Post Reply</a></p> Thu, 14 Jan 2016 13:48:30 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111558 Re: Bootstrap-forms & Userforms module broken after upgrading to SS 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412637 <p>Hey Dave, do you know which version of the bootstrap forms module you are using? Perhaps paste in your composer.json requirements (if you are using composer?) so someone can test and confirm.</p> <br /> <p data-swiftype-index="false">Posted to: Bootstrap-forms &amp; Userforms module broken after upgrading to SS 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412637" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111544" class="replyLink">Post Reply</a></p> Thu, 14 Jan 2016 09:44:25 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544#post412637 Bootstrap-forms & Userforms module broken after upgrading to SS 3.2.1 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544 <p>After upgrading to SS 3.2.1 with Userforms 3.1.0 and Bootstrap-forms none of the Bootstrap classes get output to form elements - anyone else have this combination working? </p><p>TIA <br />Dave</p> <br /> <p data-swiftype-index="false">Posted to: Bootstrap-forms &amp; Userforms module broken after upgrading to SS 3.2.1 | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/upgrading-silverstripe/reply/111544" class="replyLink">Post Reply</a></p> Fri, 08 Jan 2016 03:44:30 +1300 https://www.silverstripe.org/community/forums/upgrading-silverstripe/show/111544