Monday, August 30, 2010

Re: SimpleTest: opening test.php results in weird deprecated warnings

OK, this helps me with the deprecation warnings. But still SimpleTest
doesn't run for me. What about

"> You need a new test.php. Try this one: cake\console\libs\templates\skel
> \webroot\test.php"?

Thanks.

On Fri, Aug 27, 2010 at 10:27 PM, Graham Weldon <predominant@gmail.com> wrote:
> CakePHP 1.x still has support for PHP 4. Some if this support requires returns to be assigned by reference. Of you are using a newer version of PHP and have deprecation warnings enabled, this is the sort of output you will see.
>
> You can disable deprecation notices in your PHP config.
>
>
> On 28/08/2010, at 12:29 AM, psybear83 <psybear83@gmail.com> wrote:
>
>> Hi all
>>
>> I want to test my CakePHP app, and so I downloaded SimpleTest and
>> extracted it to vendors. But when pointing my browser to ...myapp/
>> test.php, it only shows me the following errors:
>>
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\basics.php on line
>> 1101
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\inflector.php on
>> line 67
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\configure.php on
>> line 124
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\configure.php on
>> line 214
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\configure.php on
>> line 889
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\configure.php on
>> line 929
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\file.php on line
>> 90
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\cache.php on
>> line 68
>>
>> Deprecated: Assigning the return value of new by reference is
>> deprecated in C:\xampp\htdocs\josh\ziviapps\cake\libs\cache.php on
>> line 151
>> You need a new test.php. Try this one: cake\console\libs\templates\skel
>> \webroot\test.php
>>
>> Does this make sense to anybody of you?
>>
>> Thanks a lot
>> Josh
>>
>> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>>
>> You received this message because you are subscribed to the Google Groups "CakePHP" group.
>> To post to this group, send email to cake-php@googlegroups.com
>> To unsubscribe from this group, send email to
>> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: