https://www.silverstripe.org/community/forums/rss Friendly URLs Install Error 4.0.0 Beta 3 https://www.silverstripe.org/community/forums/installing-silverstripe/show/122292 <p>I'm just installing SilverStripe. I had 3.6.2 working on a Windows 2016 server, PHP 7.1 and Apache 2.4. I decided to try out 4.0.0 Beta 3, so I deleted 3.6.2 and started from scratch, same directory name, everything else the same. The install script for the beta said that friendly urls weren't working, check mod_rewrite and so on. I re-checked, and it was still setup properly in Apache. So I deleted the beta and reinstalled 3.6.2 from scratch again, same directory, and it works fine. I don't think I'll continue with the beta, but just wanted to let someone know.</p> <br /> <p data-swiftype-index="false">Posted to: Friendly URLs Install Error 4.0.0 Beta 3 | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/122292" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/122292" class="replyLink">Post Reply</a></p> Fri, 29 Sep 2017 06:50:59 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/122292 Re: Silverstripe 4.0.0 Beta 3, Post install warning https://www.silverstripe.org/community/forums/installing-silverstripe/show/122095#post424543 <p>Ok, got it! </p><p>System tries to chmod "assets/.htaccess" to 0600. <br />In fact it is already 0600 but the owner of this (and all other) files of the installation <br />is owned by a "hosting user" != www-data. <br />I could fix it as root user... </p><p>@developers: please take into account, other installations may not have root rights on their hostings...</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4.0.0 Beta 3, Post install warning | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/122095#post424543" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/122095" class="replyLink">Post Reply</a></p> Mon, 25 Sep 2017 20:26:05 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/122095#post424543 Silverstripe 4.0.0 Beta 3, Post install warning https://www.silverstripe.org/community/forums/installing-silverstripe/show/122095 <p>Hi all!<br>Today I did a test install of Silverstripe 4.0.0 Beta 3.<br>Installtion works fine, but afterwarts I get this warning:</p><p>[Warning] chmod(): Operation not permitted<br>GET /<br>Line 349 in /var/www/silver40.beta3/vendor/league/flysystem/src/Adapter/Local.php</p><p>All files and directories of my installation are:<br>- owned by www-user:www-user<br>- rights are set to 0664 for files<br>- rights are set to 0777 for all dirs</p><p>This warning comes up on all pages and backend too.</p><p>What is wrong here?<br>Thank yout!</p> <br> <p data-swiftype-index="false">Posted to: Silverstripe 4.0.0 Beta 3, Post install warning | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/122095" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/122095" class="replyLink">Post Reply</a></p> Fri, 22 Sep 2017 01:06:05 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/122095 Re: Date.Timezone - Will Not Accept Any value https://www.silverstripe.org/community/forums/installing-silverstripe/show/121850#post424121 <p>Some additional info. I found that my WAMP install will accept a date.timezone = "UTC" but my Debian Linux version won't accept it or anything else. I also have another Linux box that has the date.timezone commented out and it accepted the install.</p> <br /> <p data-swiftype-index="false">Posted to: Date.Timezone - Will Not Accept Any value | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121850#post424121" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121850" class="replyLink">Post Reply</a></p> Thu, 07 Sep 2017 02:26:16 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121850#post424121 Date.Timezone - Will Not Accept Any value https://www.silverstripe.org/community/forums/installing-silverstripe/show/121850 <p>I am trying to install Silverstripe on a existing server and everything works until I get to the validation and it keeps giving the message "date.timezone option in php.ini must be set correctly." I have tried every valid date setting for west coast America including "America/Los_Angeles", "America/Denver" and "America/Vancouver". None of them work. It is very frustrating because I have no Idea what it wants. I have tried it with double quotes, single quotes, no quotes. Every attempt fails. Any ideas on what to do. I am on php5.6.30</p> <br /> <p data-swiftype-index="false">Posted to: Date.Timezone - Will Not Accept Any value | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121850" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121850" class="replyLink">Post Reply</a></p> Wed, 06 Sep 2017 11:07:27 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121850 Re: Notice: 3.0 tar.gz archives broken on Windows https://www.silverstripe.org/community/forums/installing-silverstripe/show/21633#post424025 <p>like duytran, <br />I am unable to install 3.0 version on wndows 10 after upgrade from 8.1</p> <br /> <p data-swiftype-index="false">Posted to: Notice: 3.0 tar.gz archives broken on Windows | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/21633#post424025" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/21633" class="replyLink">Post Reply</a></p> Sun, 27 Aug 2017 20:22:51 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/21633#post424025 Re: SilverStripe 3.6.1 unable to load TinyMCE https://www.silverstripe.org/community/forums/installing-silverstripe/show/121735#post423999 <p>Question answered on Stackoverflow: <a href="https://stackoverflow.com/questions/45658301/silverstripe-3-6-1-unable-to-load-tinymce">https://stackoverflow.com/questions/45658301/silverstripe-3-6-1-unable-to-load-tinymce</a> </p><p>The gzip was the problem.</p> <br /> <p data-swiftype-index="false">Posted to: SilverStripe 3.6.1 unable to load TinyMCE | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121735#post423999" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121735" class="replyLink">Post Reply</a></p> Tue, 15 Aug 2017 18:04:55 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121735#post423999 Re: Question on HowTo Create an Affiliate site with SilverStripe https://www.silverstripe.org/community/forums/installing-silverstripe/show/121736#post423995 <p>I think that this somehow also would involve configuring a wildcard subdomain setup such as *.primarydomain.tld. Can anyone give me some things to look into on this?</p> <br /> <p data-swiftype-index="false">Posted to: Question on HowTo Create an Affiliate site with SilverStripe | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121736#post423995" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121736" class="replyLink">Post Reply</a></p> Mon, 14 Aug 2017 09:02:58 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121736#post423995 Question on HowTo Create an Affiliate site with SilverStripe https://www.silverstripe.org/community/forums/installing-silverstripe/show/121736 <p>I am working on several projects that I want to build affiliate sites from. Each new affiliate would have the same content and look, but the content would be customized for that affiliate from their configuration settings. I would like each affiliate to be able to have an assigned sub-domain that would access their customized promotional content, lead tracking, etc etc. </p><p>So, to be clear, this is what I want to create. The main domain would be the same site that would be customized (but not cloned) for each affiliate. Bob's sub-domain (bob.maindomain.tld) would be a window to his affiliate marketing details, presenting links associated to his affiliate account (<a href="http://bob.maindomain.tld/signup">http://bob.maindomain.tld/signup</a>, .../invite-others, .../links, .../bobs-profile, etc). The affiliate sub-domain would then be able to have all sub-domain based interactions tracked separately and all traffic sent to that affiliate's sub-domain would stay theirs (they wouldn't loose the traffic that they worked hard to get to other affiliates). </p><p>So now that you know what I am looking to accomplish. How would I work with sub-domains, .htaccess files, and silverstripe to serve up the templates and primary content from the maindomain.tld but then fill in appropriate sub-domain based content from the affiliate's data stored in their personal login? </p><p>I welcome ideas, code samples, .htaccess file samples, and best practices for running this all with https:// SSL, tracking cookies, etc </p><p>My first and greatest focus with this question is working with sub-domains, .htaccess and serving up the same template with custom content on a per sub-domain basis. Please let me know if any of this needs further clarification. </p><p>Thank you in advance for your expertise, your time, your consideration and care for a fellow developer. I appreciate all of you wonderful people who spend hours and hours helping others to become more knowledgeable and make better software and client solutions. You are the best! ;-)</p> <br /> <p data-swiftype-index="false">Posted to: Question on HowTo Create an Affiliate site with SilverStripe | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121736" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121736" class="replyLink">Post Reply</a></p> Mon, 14 Aug 2017 07:00:35 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121736 SilverStripe 3.6.1 unable to load TinyMCE https://www.silverstripe.org/community/forums/installing-silverstripe/show/121735 <p>A fresh installation of SilverStripe is not able to load TinyMCE correctly because the path to some files is not correct, see screenshot: <a href="https://www.imgpaste.net/image/Ds9Ve">https://www.imgpaste.net/image/Ds9Ve</a> </p><p>Does anyone know what I'm missing?</p> <br /> <p data-swiftype-index="false">Posted to: SilverStripe 3.6.1 unable to load TinyMCE | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121735" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121735" class="replyLink">Post Reply</a></p> Sun, 13 Aug 2017 20:16:05 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121735 Re: [SOLVED] SS3 installation error: [Warning] is_readable(): open_basedir restriction in effect https://www.silverstripe.org/community/forums/installing-silverstripe/show/20224?start=16#post423528 <p>Still a valid working solution. Just want to say thanks. This fixed my issue too.</p> <br> <p data-swiftype-index="false">Posted to: [SOLVED] SS3 installation error: [Warning] is_readable(): open_basedir restriction in effect | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/20224?start=16#post423528" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/20224" class="replyLink">Post Reply</a></p> Thu, 20 Jul 2017 15:48:44 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/20224?start=16#post423528 Re: Silverstripe 4.0.0 Beta 1 Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273#post423512 <p>Thanks for the link, looks like they fixed it</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4.0.0 Beta 1 Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273#post423512" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121273" class="replyLink">Post Reply</a></p> Tue, 11 Jul 2017 09:54:31 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273#post423512 internal server error https://www.silverstripe.org/community/forums/installing-silverstripe/show/121277 <p>i have uploaded a user forms module to my silverstripe. <br />When i select pages then new user define form i get a warning internal server error/ </p><p>Any advice </p><p>Thanks</p> <br /> <p data-swiftype-index="false">Posted to: internal server error | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121277" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121277" class="replyLink">Post Reply</a></p> Mon, 10 Jul 2017 00:58:34 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121277 php file info support https://www.silverstripe.org/community/forums/installing-silverstripe/show/121276 <p>Hello there, i am totally new to all this haven't got a clue what to do. I have just downloaded silverstripe 3 to my laptop and then ftp it to my server. when i run install the first warning is php configuration file info support ... fileinfo should be enabled in PHP. SilverStripe uses it for MIME type detection of files. SilverStripe will still operate, but email attachments and sending files to browser (e.g. export data to CSV) may not work correctly without finfo. </p><p>All gobbledy Gook to me what do i do ? <br />I know its probs something simple but really need advice please guys</p> <br /> <p data-swiftype-index="false">Posted to: php file info support | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121276" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121276" class="replyLink">Post Reply</a></p> Sun, 09 Jul 2017 20:32:50 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121276 Re: Silverstripe 4.0.0 Beta 1 Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273#post423498 <p>Ok, it's a real bug. Waiting for the fix. </p><p><a href="https://github.com/silverstripe/silverstripe-framework/issues/7124">https://github.com/silverstripe/silverstripe-framework/issues/7124</a></p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4.0.0 Beta 1 Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273#post423498" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121273" class="replyLink">Post Reply</a></p> Thu, 06 Jul 2017 12:59:54 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273#post423498 Silverstripe 4.0.0 Beta 1 Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273 <p>Before to open a ticket, because maybe the problem is mine...</p><p>[ SS4 beta 1, wamp server (local), php 7 ]</p><p>The instalation crash with</p><p></p><div class="codesnippet"><p>Setting up 'mysite/_config.php'...<br>Setting up C:\wamp64\www\Silverstripe4/mysite/_config.php<br>Setting up 'mysite/_config/config.yml'<br>Setting up C:\wamp64\www\Silverstripe4/mysite/_config/config.yml<br>Setting up '.htaccess' file...<br>Setting up C:\wamp64\www\Silverstripe4/.htaccess<br>Building database schema...<br>[Warning] Creating default object from empty value<br>POST /Silverstripe4/install.php</p><p>Line 233 in C:\wamp64\<a href="http://www\Silverstripe4\framework\src\Dev\Install\Installer.php/">www\Silverstripe4\framework\src\Dev\Install\Installer.php</a></p><p>Source</p><p>224 $dbAdmin = new DatabaseAdmin();<br>225 $dbAdmin-&gt;setRequest($request);<br>226 $dbAdmin-&gt;pushCurrent();<br>227 $dbAdmin-&gt;doInit();<br>228 $dbAdmin-&gt;doBuild(true);<br>229 <br>230 // Create default administrator user and group in database<br>231 // (not using Security::setDefaultAdmin())<br>232 $adminMember = DefaultAdminService::singleton()-&gt;findOrCreateDefaultAdmin();<br>233 $adminMember-&gt;Email = $config['admin']['username'];<br>234 $adminMember-&gt;Password = $config['admin']['password'];<br>235 $adminMember-&gt;PasswordEncryption = Security::config()-&gt;get('encryption_algorithm');<br>236 <br>237 try {<br>238 $this-&gt;statusMessage('Creating default CMS admin account...');<br>239 $adminMember-&gt;write();<br>Trace</p><p>Monolog\ErrorHandler-&gt;handleError(2,Creating default object from empty value,C:\wamp64\<a href="http://www\Silverstripe4\framework\src\Dev\Install\Installer.php,233,Array">www\Silverstripe4\framework\src\Dev\Install\Installer.php,233,Array</a>) <br>Installer.php:233<br>SilverStripe\Dev\Install\Installer-&gt;SilverStripe\Dev\Install\{closure}(SilverStripe\Control\HTTPRequest) <br>call_user_func(Closure,SilverStripe\Control\HTTPRequest) <br>HTTPApplication.php:66<br>SilverStripe\Control\HTTPApplication-&gt;SilverStripe\Control\{closure}(SilverStripe\Control\HTTPRequest) <br>HTTPMiddlewareAware.php:65<br>SilverStripe\Control\HTTPApplication-&gt;callMiddleware(SilverStripe\Control\HTTPRequest,Closure) <br>HTTPApplication.php:67<br>SilverStripe\Control\HTTPApplication-&gt;execute(SilverStripe\Control\HTTPRequest,Closure,1) <br>Installer.php:249<br>SilverStripe\Dev\Install\Installer-&gt;install(Array) <br>install5.php:270<br>include(C:\wamp64\<a href="http://www\Silverstripe4\framework\src\Dev\Install\install5.php/">www\Silverstripe4\framework\src\Dev\Install\install5.php</a>) <br>install.php:27<br>include(C:\wamp64\<a href="http://www\Silverstripe4\framework\src\Dev\Install\install.php/">www\Silverstripe4\framework\src\Dev\Install\install.php</a>) <br>install.php:15</p></div> <br> <p data-swiftype-index="false">Posted to: Silverstripe 4.0.0 Beta 1 Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/121273" class="replyLink">Post Reply</a></p> Thu, 06 Jul 2017 01:12:25 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/121273 Re: install SS3 gives undefined function mb_http_output() https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423484 <p>@TheBnl it was/is 3.6.1</p> <br /> <p data-swiftype-index="false">Posted to: install SS3 gives undefined function mb_http_output() | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423484" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/20278" class="replyLink">Post Reply</a></p> Thu, 29 Jun 2017 05:34:05 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423484 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776?start=8#post423470 <p>Thank you infomation. </p><p>___________________________________________________________ <br /><a href="https://goo.gl/X1Z3pc">sbobet</a></p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776?start=8#post423470" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Sat, 24 Jun 2017 14:54:56 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776?start=8#post423470 Re: install SS3 gives undefined function mb_http_output() https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423469 <p>@ryanpotternz Are you running SS3 or 4 on php 7?</p> <br /> <p data-swiftype-index="false">Posted to: install SS3 gives undefined function mb_http_output() | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423469" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/20278" class="replyLink">Post Reply</a></p> Sat, 24 Jun 2017 09:07:40 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423469 Re: install SS3 gives undefined function mb_http_output() https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423445 <p>Just in-case anyone finds this issue on Google, I fixed my issue with this on Ubuntu 16 and PHP7.0 with the following: </p><p><div class="codesnippet"><p>sudo apt-get install php7.0-mbstring</p></div> </p><p>If you have installed this already, or you just installed it make sure to enable it: </p><p><div class="codesnippet"><p>phpenmod mbstring</p></div> </p><p>followed by: </p><p><div class="codesnippet"><p>apachectl graceful</p></div> </p><p>Good luck!</p> <br /> <p data-swiftype-index="false">Posted to: install SS3 gives undefined function mb_http_output() | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423445" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/20278" class="replyLink">Post Reply</a></p> Tue, 20 Jun 2017 09:34:45 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/20278#post423445 SilverStripe 3.x install not running under PHP version 7 https://www.silverstripe.org/community/forums/installing-silverstripe/show/120828 <p>I've just reacquainted myself with the SilverStripe CMS, it's been a few years since last time of use. <br />This time I had problems to install version 3.5.3 on my hosting provider, the install script stopped during the DB table setup. </p><p><div class="codesnippet"><p>Building database schema... <br />POST /install.php <br />Line 581 in /storage/content/41/&lt;site_address&gt;/public_html/framework/model/connect/DBSchemaManager.php</p></div> </p><p>It took a while to find out that the versions 3.x does not run under PHP version 7. <br />Although there is a patch! <br />Have a look at: <a href="https://github.com/wernerkrauss/silverstripe3-php7">https://github.com/wernerkrauss/silverstripe3-php7</a> </p><p>With the patch installation is working beautiful. <br />So, I'm putting this on the forum for the next in line that might have encounter the same issue. </p><p>Best of luck to you all!</p> <br /> <p data-swiftype-index="false">Posted to: SilverStripe 3.x install not running under PHP version 7 | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/120828" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/120828" class="replyLink">Post Reply</a></p> Thu, 18 May 2017 17:50:48 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/120828 Upgrade website to 4.0 https://www.silverstripe.org/community/forums/installing-silverstripe/show/120718 <p>After upgrading a website to 4.0 I get the following error: Fatal error: Class 'SiteTree' not found, in Page.php. </p><p>Or at least can someone put me on the right path of upgrading this. Couldn't really find a good tutorial or anything that says exactly what to do. <br />What I actually done was: I downloaded from GitHub the latest silverstripe 4.0 and copyied the files over the site ( excluding themes and mysite).</p> <br /> <p data-swiftype-index="false">Posted to: Upgrade website to 4.0 | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/120718" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/120718" class="replyLink">Post Reply</a></p> Wed, 19 Apr 2017 02:11:13 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/120718 Problems installing Silverstripe 4 alpha6 https://www.silverstripe.org/community/forums/installing-silverstripe/show/120692 <p>I tried adjusting the composer.json in the root folder but all it changed is that I went from missing Symfony Classes (ApcuAdapter), to missing classes for PHPUnit (PHPUnit_Framework_TestListener), and finally to missing method CachedConfigCollection::setCache(). </p><p>Has anyone been able to solve this issue?</p> <br /> <p data-swiftype-index="false">Posted to: Problems installing Silverstripe 4 alpha6 | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/120692" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/120692" class="replyLink">Post Reply</a></p> Mon, 10 Apr 2017 16:49:47 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/120692 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422042 <p>See here: <a href="https://github.com/silverstripe/silverstripe-framework/issues/6737">https://github.com/silverstripe/silverstripe-framework/issues/6737</a></p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422042" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Thu, 30 Mar 2017 08:48:19 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422042 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422041 <p>I used composer. Yooohoooo Devs, where are you?! Let's get some help here to check this out, yes?</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422041" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Thu, 30 Mar 2017 08:34:40 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422041 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422040 <p>How did you install SilverStripe? Via composer or the ZIP/TAR download? </p><p>I get: <br /><strong>Fatal error: Call to undefined method SilverStripe\Config\Collections\CachedConfigCollection::setPool() in XXX/framework/src/Core/Config/CoreConfigFactory.php on line 51</strong> <br />with a Composer install of alpha 5. </p><p>And: <br /><strong>Fatal error: Interface 'PHPUnit_Framework_TestListener' not found in /XXX/framework/src/Dev/SapphireTestReporter.php on line 46</strong> <br />when installing from the TAR.</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422040" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Thu, 30 Mar 2017 04:14:47 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422040 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422005 <p>Anyone planning on addressing this at all?</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422005" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Thu, 23 Mar 2017 06:13:30 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post422005 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421996 <p>Yep. Same problem as you Filis. Would love to try it out but: </p><p>Building database schema... </p><p>Fatal error: Uncaught exception 'MJS\TopSort\CircularDependencyException'</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421996" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Sun, 19 Mar 2017 06:51:59 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421996 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421979 <p>Hi guys, </p><p>Same problem here and no way to fix it! </p><p>Fatal error: Uncaught MJS\TopSort\CircularDependencyException: Circular dependency found: modelascontrollerroutes-&gt;mysite-&gt;modelascontrollerroutes in /var/www/user/vendor/marcj/topsort/src/CircularDependencyException.php:34 Stack trace: #0 /var/www/user/vendor/marcj/topsort</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421979" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Wed, 15 Mar 2017 09:21:32 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421979 Re: Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421859 <p>Same fatal error over here with no way out</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421859" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Wed, 08 Mar 2017 11:48:56 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776#post421859 Re: Migrate silverstripe site to an other server https://www.silverstripe.org/community/forums/installing-silverstripe/show/119790#post421853 <p>i checked the apache error log files and found an error saying <br />"/is/htdocs/wpXXXXXXXX_XXXXXXX/www/asdasdasd/assets/.htaccess: php_flag not allowed here" <br />I commented the line in the .htaccess file in assets folder and here we go, the admin page loads correctly. </p><p>The webhoster is hosteurope.de with package "webhosting basic".</p> <br /> <p data-swiftype-index="false">Posted to: Migrate silverstripe site to an other server | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119790#post421853" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119790" class="replyLink">Post Reply</a></p> Wed, 08 Mar 2017 05:46:35 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119790#post421853 Migrate silverstripe site to an other server https://www.silverstripe.org/community/forums/installing-silverstripe/show/119790 <p>I migrated a site from a local server to a webhoster (shared host) and can not log into the backend anymore. i enter my userdata in login form and get to the page showing the silverstripe logo and the phrase "create the web". Then nothing happens. </p><p>All frontend pages work fine. </p><p>All server requirements are met by the shared hosting i am migrationg to. </p><p>Login might somehow have succeeded as I am allowed to do a ?flush=true. </p><p>I manually deleted all caches and cache dirs. </p><p>When i run the install.php the database connection is said to fail. No surprise! The script tries to use a user that is not defined in the _config.php. When i enter the ones it should use, it accepts them. </p><p>cheers</p> <br /> <p data-swiftype-index="false">Posted to: Migrate silverstripe site to an other server | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119790" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119790" class="replyLink">Post Reply</a></p> Wed, 08 Mar 2017 03:30:32 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119790 Silverstripe 4 Alpha 5 Fatal Error on Install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776 <p>Installation attempt gives output: <br /><div class="codesnippet"><p>If you receive a fatal error, refresh this page to continue the installation </p><p> Setting up 'mysite/_config.php'... <br /> Setting up /var/www/SS_CMS/mysite/_config.php <br /> Setting up 'mysite/_config/config.yml' <br /> Setting up /var/www/SS_CMS/mysite/_config/config.yml <br /> Setting up '.htaccess' file... <br /> Setting up /var/www/SS_CMS/.htaccess <br /> Building database schema... </p><p> Fatal error: Interface 'PHPUnit_Framework_TestListener' not found in /var/www/SS_CMS/framework/src/Dev/SapphireTestReporter.php on line 46</p></div> </p><p>Refreshing the page does not continue the installation. I'm hoping somebody can point me in the right direction.</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe 4 Alpha 5 Fatal Error on Install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119776" class="replyLink">Post Reply</a></p> Fri, 03 Mar 2017 16:58:43 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119776 Re: [Solved 2017] Localhost Error 403 "<? php echo 'S.O.S' ?> https://www.silverstripe.org/community/forums/installing-silverstripe/show/119613#post421632 <p>I think everybody got lost, i fixed it.. please change your .htaccess into </p><p>&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;<br>&lt;FilesMatch "\.(php|php3|php4|php5|phtml|inc)$"&gt;<br>Allow from all<br>&lt;/FilesMatch&gt;<br>&gt;&gt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;&lt;</p> <br> <p data-swiftype-index="false">Posted to: [Solved 2017] Localhost Error 403 "&lt;? php echo 'S.O.S' ?&gt; | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119613#post421632" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119613" class="replyLink">Post Reply</a></p> Thu, 23 Feb 2017 06:49:53 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119613#post421632 [Solved 2017] Localhost Error 403 "<? php echo 'S.O.S' ?> https://www.silverstripe.org/community/forums/installing-silverstripe/show/119613 <p>hi there,<br>I am a newbie to SilverStripe thing and I am getting a 403 Forbidden Error when I run my "my site" folder on xampp apache server. <br>I check out these forum topics and tried the suggestions but still, I cannot run "my site" folder..<br>What should I do...<br>thank you </p><p><a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/6624">https://www.silverstripe.org/community/forums/installing-silverstripe/show/6624</a><br><a href="https://www.silverstripe.org/community/forums/general-questions/show/66998">https://www.silverstripe.org/community/forums/general-questions/show/66998</a></p> <br> <p data-swiftype-index="false">Posted to: [Solved 2017] Localhost Error 403 "&lt;? php echo 'S.O.S' ?&gt; | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119613" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119613" class="replyLink">Post Reply</a></p> Thu, 23 Feb 2017 03:30:24 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119613 Silverstripe install throws error - F:\xampp\htdocs\barrel12\framework\model\connect\DBSchemaManager.php https://www.silverstripe.org/community/forums/installing-silverstripe/show/119134 <p>I'm installing silverstripe on my localhost (XAMPP) using composer and when i try to install it throws this error - <br />DBSchemaManager-&gt;requireField(File,ClassName,Array) <br />DB.php:552 <br />DB::require_field(File,ClassName,Array) <br />Enum.php:90 <br />Enum-&gt;requireField() <br />DBSchemaManager.php:349 <br />DBSchemaManager-&gt;requireTable(File,Array,Array,1,Array,) <br />DB.php:530 <br />DB::require_table(File,Array,Array,1,Array,) <br />DataObject.php:3427 <br />DataObject-&gt;requireTable() <br />DatabaseAdmin.php:244 <br />DatabaseAdmin-&gt;{closure}() <br />DBSchemaManager.php:126 <br />DBSchemaManager-&gt;schemaUpdate(Closure) <br />DatabaseAdmin.php:246 <br />DatabaseAdmin-&gt;doBuild(1) <br />install.php5:1433 <br />Installer-&gt;install(Array) <br />install.php5:231 <br />include(F:\xampp\htdocs\barrel12\framework\dev\install\install.php5) <br />install.php:26 <br />include(F:\xampp\htdocs\barrel12\framework\dev\install\install.php) <br />install.php:13 </p><p>my database credentials - <br />host: localhost <br />username: root <br />password: <br />password is set blank. </p><p>Please let me know what am I missing. </p><p>Thanks.</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe install throws error - F:\xampp\htdocs\barrel12\framework\model\connect\DBSchemaManager.php | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119134" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119134" class="replyLink">Post Reply</a></p> Thu, 19 Jan 2017 00:13:15 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119134 Re: Setting up local environment with existing SilverStripe site https://www.silverstripe.org/community/forums/installing-silverstripe/show/119081#post420999 <p>Basically a SilverStripe can be copied and should run, as long as you have the database data correct in eithere /_ss_environment.php or /mysite/_config.php. You would not need to reïnstall in any way. The site should work even with an empty /assets folder (which will of course remove all pictures), as long as you have access to the database. </p><p>First check if /framework/main.php file actually exists </p><p>Then make sure that your .htaccess file points to the right location if, for instance, you're installing in a subdirectory. </p><p>Also, if you have a silverstripe-cache directory in your site root, You might want to empty it. If you haven't, the cache is probably setup in your tmp file. </p><p>In that case you coud add an empty silverstripe-cache directory to your site root and make it writable. Or you could try a <a href="http://www.yoursite.xx/dev/build?flush">www.yoursite.xx/dev/build?flush</a> to renew the cache. It looks like it might be a cache issue somehow. </p><p>Note that if you move a site to another server/location, you should always empty silverstripe-cache (if you have it). </p><p>Hope this helps some...</p> <br /> <p data-swiftype-index="false">Posted to: Setting up local environment with existing SilverStripe site | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119081#post420999" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119081" class="replyLink">Post Reply</a></p> Fri, 09 Dec 2016 03:14:20 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119081#post420999 Re: Codeanywhere Container install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119084#post420998 <p>Make sure your site is in dev mode (because live mode will only ever give you that 500 error). If that doesn't help, check your error logs, that may have some more info...</p> <br /> <p data-swiftype-index="false">Posted to: Codeanywhere Container install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119084#post420998" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119084" class="replyLink">Post Reply</a></p> Fri, 09 Dec 2016 03:02:35 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119084#post420998 Codeanywhere Container install https://www.silverstripe.org/community/forums/installing-silverstripe/show/119084 <p>Hi guys, I've just installed SilverStripe 3.5 into a Codeanywhere Container with a PHP Development Stack. </p><p>Had a couple of permissions issues that I fixed and a date.timezone not set that I circumvented using .htaccess as I couldn't write to php.ini. </p><p>SilverStripe is now installed but I cannot navigate to anything, just says "the page isn't working" -"...is currently unable to handle this request. HTTP ERROR 500" </p><p>Dev/build, flush, admin, nothing. </p><p>I put SS_Backtrace::backtrace(); into my config.php and get the following: <br />require_once(/home/cabox/workspace/mysite/_config.php) <br />ConfigManifest.php:141 <br />SS_ConfigManifest-&gt;activateConfig() <br />Config.php:324 <br />Config-&gt;pushConfigYamlManifest(SS_ConfigManifest) <br />Core.php:121 <br />require_once(/home/cabox/workspace/framework/core/Core.php) <br />main.php:136 <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:168 </p><p>I'm well out of my depth here but was hoping someone could shed some light on this? </p><p>Many thanks, <br />Iain</p> <br /> <p data-swiftype-index="false">Posted to: Codeanywhere Container install | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119084" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119084" class="replyLink">Post Reply</a></p> Mon, 05 Dec 2016 20:08:27 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119084 Setting up local environment with existing SilverStripe site https://www.silverstripe.org/community/forums/installing-silverstripe/show/119081 <p>I inherited a SilverStripe site which seems like it's had quite a bit of customization done to it. </p><p>The tutorials for the basic setup are great, very straight forward. Now that I've pulled the repo of the existing site, I can't seem to get it up and running on my local environment. When I go to the site i'm getting the following error: </p><p><strong>Not Found</strong> <br />The requested URL /framework/main.php was not found on this server. </p><p>I'm assuming this is because I haven't really installed SilverStripe on this project and assets are missing, but the install files were removed. Can anyone point me in the right direction to solve this error and get this site running on my local?</p> <br /> <p data-swiftype-index="false">Posted to: Setting up local environment with existing SilverStripe site | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119081" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119081" class="replyLink">Post Reply</a></p> Thu, 01 Dec 2016 11:32:41 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119081 Re: Deprecation error for custom pages https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038#post420925 <p>Thank you for your help WMK. Changing Root.Content.Main to Root.Main did the trick! :)</p> <br /> <p data-swiftype-index="false">Posted to: Deprecation error for custom pages | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038#post420925" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119038" class="replyLink">Post Reply</a></p> Tue, 22 Nov 2016 03:19:44 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038#post420925 Re: Deprecation error for custom pages https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038#post420919 <p>Seems the error reporting settings are different on your live server. Generally you want to show every error and notice while developing and hide notices and deprecation warnings on the live machine. </p><p>See: <a href="http://php.net/manual/de/function.error-reporting.php">http://php.net/manual/de/function.error-reporting.php</a> </p><p>What SilverStripe Version are you using? Can you see anything more in the error logs? </p><p>I guess, removeFieldFromTab() throws the deprecation message, as you want to remove from "Root.Content.Main" instead of "Root.Main" where you added the fields.</p> <br /> <p data-swiftype-index="false">Posted to: Deprecation error for custom pages | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038#post420919" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119038" class="replyLink">Post Reply</a></p> Thu, 17 Nov 2016 20:35:19 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038#post420919 Deprecation error for custom pages https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038 <p>Hi,</p><p>I have been working on a SS website on my desktop (Localhost - Install 3.4.0) . Everything worked perfectly fine, also the 3 additional custom pages that I created.</p><p>I just moved all the files to the webserver with a clean install. I can create a normal page, but when I want to create one of the custom pages (HomePage.php) an error appears "Notice at line 214 of /../public_html/framework/dev/Deprecation.php". </p><p>I don 't think I used any deprecated coding as I did not see any deprecation errors on my local install. Can anyone please tell me what I am doing wrong? The code that I used for the HomePage.php can be found below.</p><p>PHP version Local (Wamp server) 5.5.12<br>PHP version Web server 5.4.45</p><p>Thank you in advance</p><p></p><div class="codesnippet"><p>&lt;?php</p><p>class HomePage extends Page {<br>   <br>   private static $db = array (<br>      'FeaturedTitle' =&gt; 'Text',<br>      'FeaturedContent' =&gt; 'Text',<br>      <br>   );<br>   <br>   private static $can_be_root = true;</p><p>   public function getCMSFields() {<br>      $fields = parent::getCMSFields();<br>      $fields-&gt;addFieldToTab('Root.Main', TextField::create('FeaturedTitle','Featured Heading'),'Content');<br>      $fields-&gt;addFieldToTab('Root.Main', TextareaField::create('FeaturedContent','Featured Content'),'Content');<br>      <br>      <br>      <br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","Content");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","Title");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","LessonsTitle");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","CostsTitle");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","LessonsContent");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","CostsContent");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","AgendaTitle");<br>      $fields-&gt;removeFieldFromTab("Root.Content.Main","ContactTitle");</p><p>      return $fields;<br>   }<br>   <br>   <br>   public function getValidPerformances() <br>{<br> return FeaturedPage::get()<br> ;<br>}<br>   <br>   private static $allowed_children = array('FeaturedPage');<br>}</p><p>class HomePage_Controller extends Page_Controller {</p><p>   <br>}<br>[/code}</p></div> <br> <p data-swiftype-index="false">Posted to: Deprecation error for custom pages | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119038" class="replyLink">Post Reply</a></p> Wed, 16 Nov 2016 09:42:35 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119038 Re: I can't install! https://www.silverstripe.org/community/forums/installing-silverstripe/show/119013#post420876 <p>Sometimes I've same issue on XAMPP. As workaround - just turn off apache server, turn it on again after few seconds and open site URL - should be fine. Of course you've to wait as long as needed (unfortunately) to complete installation in background.</p> <br /> <p data-swiftype-index="false">Posted to: I can&#039;t install! | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119013#post420876" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119013" class="replyLink">Post Reply</a></p> Wed, 09 Nov 2016 01:55:47 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119013#post420876 Re: How to migrate from Windows to Linux ? https://www.silverstripe.org/community/forums/installing-silverstripe/show/118644#post420875 <p>Hello, </p><p>probably nothing special is needed. You must remember that there are some differences between Windows and/or Linux. <br />For example default MySQL/MariaDB settings. On Linux case of table names matters, on Windows not. Unfortunately default setting in XAMPP MySQL is to lower-case all database table names. Due to this it might be hard to just export/import DB. If you develop and/or host your site from Windows - try to always keep in mind that after some time it might be migrated to GNU/Linux platform. If it's apache2 in both cases - just copy/paste all files from one location to another. Unfortunately you'll have to manually adjust export of MySQL DB and take care about table name (for example "virtualpage_live" to "VirtualPage_Live"). </p><p>Following links might be useful for you: <br /><a href="https://www.silverstripe.org/community/forums/general-questions/show/11285">https://www.silverstripe.org/community/forums/general-questions/show/11285</a> <br /><a href="http://stackoverflow.com/questions/6248735/how-to-force-case-sensitive-table-names">http://stackoverflow.com/questions/6248735/how-to-force-case-sensitive-table-names</a> </p><p>Besides that it shouldn't be problematic, but it depends on settings always. <br />Good luck!</p> <br /> <p data-swiftype-index="false">Posted to: How to migrate from Windows to Linux ? | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/118644#post420875" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/118644" class="replyLink">Post Reply</a></p> Wed, 09 Nov 2016 01:38:46 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/118644#post420875 Re: Moving local install to live server https://www.silverstripe.org/community/forums/installing-silverstripe/show/118660#post420874 <p>Hello, </p><p>RewriteBase should be related to URL in your browser. For example if URL is http://localhost/myProject/ then RewriteBase should be equal to '/myProject'. <br />When you move to PROD and URL is similar to <a href="http://myproject.com/myProject/">http://myproject.com/myProject/</a> - leave RewriteBase untouched. Of course if live site URL is like <a href="http://myproject.com/">http://myproject.com/</a> - you should adjust RewriteBase to '/' - works for me. </p><p>Probably you've uploaded your project with some cache files etc. If so, log in via SSH (putty for example) and flush cache from terminal level. </p><p><div class="codesnippet"><p>cd /path/to/your/project; <br />php ./framework/cli-script.php dev/build "flush=all";</p></div> </p><p>should do the trick :)</p> <br /> <p data-swiftype-index="false">Posted to: Moving local install to live server | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/118660#post420874" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/118660" class="replyLink">Post Reply</a></p> Wed, 09 Nov 2016 01:27:06 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/118660#post420874 Building SilverStripe into PHAR file and running on livesite. https://www.silverstripe.org/community/forums/installing-silverstripe/show/119021 <p>Hello, </p><p>I've tried to do this on my own but with no big success (a lot of classloader and cache issues). I've tried also to find some module or solution here on forum also without luck. Maybe I'm blind or something - nevertheless I need your help :). </p><p>How do I build SilverStripe (could be 3.x) into PHAR file when all modules are installed etc and DB had been built already? It's not about obfuscating or anything like that - I'm also Java developer and I really prefer to have everything in one file instead of few thousands. Furthermore it's possible to protect application from various flaws by signing archive etc. It also makes update process much easier. </p><p>Probably I've to leave untouched some dirs for example upload dir, log dir and/or cache if needed/relevant. Is there any "best practice" guide out there or working module for example? Any advice? </p><p>Thank you very much in advance and sorry for my not-perfect English.</p> <br /> <p data-swiftype-index="false">Posted to: Building SilverStripe into PHAR file and running on livesite. | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119021" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119021" class="replyLink">Post Reply</a></p> Wed, 09 Nov 2016 01:19:33 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119021 I can't install! https://www.silverstripe.org/community/forums/installing-silverstripe/show/119013 <p>Hi, I tried to install SS on my win10 pc using Mamp. <br />Everything works until writes "SS is being installing , wait please..." but nothing happens. <br />I need help! <br />Thank you in advance</p> <br /> <p data-swiftype-index="false">Posted to: I can&#039;t install! | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/119013" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/119013" class="replyLink">Post Reply</a></p> Wed, 02 Nov 2016 12:12:24 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/119013 Moving local install to live server https://www.silverstripe.org/community/forums/installing-silverstripe/show/118660 <p>Hi </p><p>I have a local install on my wamp server with the path: </p><p>www/beta/abc/001 </p><p>I have moved this install to the live server with the same path structure: </p><p>/beta/abc/001 </p><p>When I browse to mydomain/beta/abc/001 , I get a 'server error' page - I can't access /admin either. Interestingly the base tag is still referencing localhost?? </p><p>The RewriteBase '/beta/abc/001' in my htaccess is still the same, so everything should work as the path is still the same. I have also created a new db and imported the data from my local db and updated the settings in mysite/_config.php </p><p>The only other way is doing a fresh install on the live server into the sub directory and start again, but I would like to avoid this if possible. </p><p>Thanks <br />Grant</p> <br /> <p data-swiftype-index="false">Posted to: Moving local install to live server | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/118660" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/118660" class="replyLink">Post Reply</a></p> Thu, 29 Sep 2016 17:44:52 +1300 https://www.silverstripe.org/community/forums/installing-silverstripe/show/118660 Silverstripe error installing https://www.silverstripe.org/community/forums/installing-silverstripe/show/118649 <p>For those like me that in the last release have difficulty in installing the CMS and do not know how to complete the installation without having to open a support ticket hosting. PHP safe mode directive has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. So if you ask to your hosting to put directive in OFF mode, thay say that the directive is no longer supported. <br />To bypass the problem you can open the file Loader.php (you find this file in FRAMEWORK/THIRDPARTY/ZEND/) and go to the line 190 <br />and comment the code as below <br />foreach (self::explodeIncludePath() as $path) { <br /> if ($path == '.') { <br /> if (is_readable($filename)) { <br /> return true; <br /> } <br /> continue; <br /> } <br /> /* COMMENT THIS CODE <br /> $file = $path . '/' . $filename; <br /> if (is_readable($file)) { <br /> return true; <br /> } <br /> END COMMENT CODE */ <br /> } </p><p>and you can install the CMS without problem. But if you are italian or of another country you can have problem with the .yml language. <br />Im my case italian language has a bug. The file of your language is in framework/lang/ directory. Italian file is it.yml during install the CMS say that there is Malformed string in yml. So you can open the file hand search Help2. It's in two different places, around about line 302 and 524 <br />with this code: </p><p>========== <br />line 302 </p><p> Help2: '&lt;div class="advanced"&gt; </p><p> &lt;h4&gt;Utilizzo avanzato&lt;/h4&gt; </p><p> &lt;ul&gt; </p><p> &lt;li&gt;Colonne consentite: &lt;em&gt;%s&lt;/em&gt;&lt;/li&gt; </p><p> &lt;li&gt;Gruppi esistenti sono individuati attraverso la proprietà univoca &lt;em&gt;Code&lt;/em&gt; e aggiornati con i nuovi valori dal file importato.&lt;/li&gt; </p><p> &lt;li&gt;Possono essere create gerarchie usando la colonna &lt;em&gt;ParentCode&lt;/em&gt;&lt;/li&gt; </p><p> &lt;li&gt;Codici di autorizzazione possono essere assegnati con la colonna &lt;em&gt;PermissionCode&lt;/em&gt;. I codici di autorizzazione preesistenti non saranno cancellati.&lt;/li&gt; </p><p> &lt;/ul&gt; </p><p> &lt;/div&gt;' </p><p>=========== </p><p>line 524 </p><p> Help2: '&lt;div class="advanced"&gt; </p><p> &lt;h4&gt;Utilizzo avanzato&lt;/h4&gt; </p><p> &lt;ul&gt; </p><p> &lt;li&gt;Colonne consentite: &lt;em&gt;%s&lt;/em&gt;&lt;/li&gt; </p><p> &lt;li&gt;Utenti esistenti sono individuati attraverso la proprietà univoca &lt;em&gt;Code&lt;/em&gt; e aggiornati con i nuovi valori dal file importato.&lt;/li&gt; </p><p> &lt;li&gt;Possono essere assegnati gruppi usando la colonna &lt;em&gt;Groups&lt;/em&gt;. I gruppi sono identificati dalla proprietà &lt;em&gt;Code&lt;/em&gt;, possono essere specificati più gruppi separandoli con la virgola. I gruppi preesistenti non saranno cancellati.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;' </p><p>you must remove all white spaces and row to formatting yaml file as below: </p><p>============== <br />line 302 </p><p>Help2: '&lt;div class="advanced"&gt;&lt;h4&gt;Utilizzo avanzato&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;Colonne consentite: &lt;em&gt;%s&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Gruppi esistenti sono individuati attraverso la proprietà univoca &lt;em&gt;Code&lt;/em&gt; e aggiornati con i nuovi valori dal file importato.&lt;/li&gt;&lt;li&gt;Possono essere create gerarchie usando la colonna &lt;em&gt;ParentCode&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Codici di autorizzazione possono essere assegnati con la colonna &lt;em&gt;PermissionCode&lt;/em&gt;. I codici di autorizzazione preesistenti non saranno cancellati.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;' </p><p>=========== <br />line 524 </p><p>Help2: '&lt;div class="advanced"&gt;&lt;h4&gt;Utilizzo avanzato&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;Colonne consentite: &lt;em&gt;%s&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Utenti esistenti sono individuati attraverso la proprietà univoca &lt;em&gt;Code&lt;/em&gt; e aggiornati con i nuovi valori dal file importato.&lt;/li&gt;&lt;li&gt;Possono essere assegnati gruppi usando la colonna &lt;em&gt;Groups&lt;/em&gt;. I gruppi sono identificati dalla proprietà &lt;em&gt;Code&lt;/em&gt;, possono essere specificati più gruppi separandoli con la virgola. I gruppi preesistenti non saranno cancellati.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;' </p><p>then save, and it's all ok. <br />Hope this help you. </p><p>Max</p> <br /> <p data-swiftype-index="false">Posted to: Silverstripe error installing | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/show/118649" class="showLink">Show Thread</a> | <a href="https://www.silverstripe.org/community/forums/installing-silverstripe/reply/118649" class="replyLink">Post Reply</a></p> Sun, 25 Sep 2016 01:38:19 +1200 https://www.silverstripe.org/community/forums/installing-silverstripe/show/118649