it gives 500 internal server error on putting this script.

I checked all configurations on my server but cant able to rectify the
issue. Please help.

On Mon, Jun 22, 2015 at 2:28 PM, Ankit Bhardwaj <
ankitbhardwaj244...@gmail.com> wrote:

> it seems my server have some problem, on my friends server its running
> fine.
>
> Thanks
>
> On Mon, Jun 22, 2015 at 1:40 PM, José Lorenzo <jose....@gmail.com> wrote:
>
>> Are you the same person I tried to help in the IRC? If not, please save
>> this code in a file in your server an try to execute it, let me know if
>> there are any errors:
>>
>>
>> <?php
>>
>> trait Foo {
>>
>>     private static $conf;
>>
>>     public static function config($a) {
>>         static::$conf = $a;
>>     }
>> }
>>
>> class Bar {
>>
>>
>>     use Foo {
>>         config as protected _config;
>>     }
>>
>>     public static function config($a) {
>>         static::_config($a);
>>     }
>> }
>>
>> Bar::config(['a']);
>>
>> ?>
>>
>>
>> On Monday, June 22, 2015 at 7:09:00 AM UTC+2, Ankit Bhardwaj wrote:
>>>
>>> PHP Version 5.4.41
>>>
>>> On Sun, Jun 21, 2015 at 11:42 PM, José Lorenzo <jose....@gmail.com>
>>> wrote:
>>>
>>>> What version oh PHP do you have?
>>>>
>>>>
>>>> On Saturday, June 20, 2015 at 9:17:07 AM UTC+2, Ankit Bhardwaj wrote:
>>>>>
>>>>> it doesnot run on server..  shows this errors..
>>>>>
>>>>>
>>>>> *Fatal error*: Call to undefined method
>>>>> Cake\Datasource\ConnectionManager::_config() in
>>>>> */home/myceous/public_html/myceo/vendor/cakephp/cakephp/src/Datasource/ConnectionManager.php*
>>>>> on line *80*
>>>>>
>>>>> *Fatal error*: Call to undefined method
>>>>> Cake\View\StringTemplate::get() in
>>>>> */home/myceous/public_html/myceo/vendor/cakephp/cakephp/src/View/StringTemplate.php*
>>>>> on line
>>>>>
>>>>> *176*
>>>>> On Monday, 15 June 2015 08:24:09 UTC+5:30, mark_story wrote:
>>>>>>
>>>>>> The CakePHP core team is happy to announce the immediate availability
>>>>>> of CakePHP 3.0.7. 3.0.7 is a maintenance release for the 3.0 release 
>>>>>> series.
>>>>>>
>>>>>> Bug Fixes in 3.0.7
>>>>>> --------------
>>>>>>
>>>>>> * Time validation rules now accept 12:15pm.
>>>>>> * Table names with .'s to access tables in other databases in MySQL,
>>>>>> now  correctly generate foreignKeys using conventions.
>>>>>> * `Collection::sumOf()` uses an identity function by default.
>>>>>> * Overlapping irregular inflections are now handled correctly.
>>>>>> * IntegrationTestCase::assertTemplate() now works when a view renders
>>>>>> one or more cells.
>>>>>> * Custom fields used in pagination will not be auto-prefixed. This
>>>>>> was  a regression introduced in 3.0.6.
>>>>>> * Fixed incorrect `ORDER BY` clauses on SQLServer. Older versions of
>>>>>> SQLServer  require that `ORDER BY` expressions not be constant 
>>>>>> expression.
>>>>>> * Where conditions for columns in belongsToMany junction tables are
>>>>>> now properly  type cast to their statement representations.
>>>>>> * Parameter typehints in function expressions are now set correctly.
>>>>>> * `EventManager::off()` can now disable all events of a single type
>>>>>> as documented.
>>>>>> * MySQL schema generation for unconventional tables has been improved.
>>>>>> * Radio button sets now always include the hidden field as long as
>>>>>> the option is  enabled. This prevents blackholed requests when the 
>>>>>> current
>>>>>> value is outside  of the radio input options.
>>>>>> * Identifier quoting in `ORDER BY` and `IS NULL` and `IS NOT NULL`
>>>>>> expressions  is now correct.
>>>>>> * TreeBehavior now aliases the fields used to sort.
>>>>>>
>>>>>> Improvements in 3.0.7
>>>>>> ---------------------
>>>>>>
>>>>>> * AssetFilter now supports a `cacheTime` option to control the cache
>>>>>> headers.
>>>>>> * RulesChecker features for the ORM were separated into a trait. This
>>>>>> makes  rules easier to reuse in other datasources.
>>>>>> * `EventDispatcherInterface` was added. This lets you use
>>>>>> `instanceof`  instead of `method_exists` when testing if an object 
>>>>>> supports
>>>>>> events.
>>>>>> * A console output test stub class has been added to help making
>>>>>> testing console  applications easier.
>>>>>> * `Collection::extract()` now supports the `{*}` wildcard when
>>>>>> extracting  properties.
>>>>>> * Console commands and tasks now support the ability to overwrite all
>>>>>> files,  removing the need to answer `y` to each file.
>>>>>> * All tests pass on PHP7.
>>>>>>
>>>>>> As always, a huge thanks to all the community members that helped
>>>>>> make thisrelease happen by reporting issues, writing documentation and
>>>>>> sending pull requests.
>>>>>>
>>>>>> Download a [packaged release on github]
>>>>>> (https://github.com/cakephp/cakephp/releases).
>>>>>>
>>>>>>  --
>>>> Like Us on FaceBook https://www.facebook.com/CakePHP
>>>> Find us on Twitter http://twitter.com/CakePHP
>>>>
>>>> ---
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "CakePHP" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/cake-php/H87HcsD3Idk/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> cake-php+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to cake-php@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/cake-php.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Ankit Bhardwaj
>>>
>>  --
>> Like Us on FaceBook https://www.facebook.com/CakePHP
>> Find us on Twitter http://twitter.com/CakePHP
>>
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "CakePHP" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/cake-php/H87HcsD3Idk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> cake-php+unsubscr...@googlegroups.com.
>> To post to this group, send email to cake-php@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Ankit Bhardwaj
>



-- 
Ankit Bhardwaj

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to