cakephp tag

88 questions


1 answers
290 views
0
Is it possible to use a combination of Apache 2.4.51 and PHP 5.4 or less?

Apache 2.2.17+PHP 5.2.1+CakePHP 1.1.14, created DB-related webs a long time ago.Due to a vulnerability in Apache, we would like to upgrade to Apache 2.4.51.I've seen how Apache 2.4.51 works with PHP 5...

1 weeks ago

1 answers
201 views
0
Learn how to write SQL directly

Hello.When running SQL statements directly, the Cookbook says:What does this 'assoc' mean?$sql='select * from Users';$results=$connection->execute($sql)->fetchAll('assoc');

2 weeks ago

1 answers
7 views
0
CakePHP Cannot Start with 500 Error

I'm having trouble starting CakePHP.The error log contains the following:[22-Oct-2019 07:39:11 Asia/Tokyo] PHP Fatal error: Uncaught Error: Class'Cake\Http\Server'not found in/Applications/MAMP/htdocs...

2 months ago

2 answers
8 views
0
I want to create a CSV with UTF-8, but ANSI outputs it.

I would like to create a CSV with the character code UTF-8 in PHP 5.4 (Cakephp2 environment), but when I look at the character code I printed in Notepad, it looks like ANSI.How can I fix it?Thank you ...

2 months ago

1 answers
6 views
0
Error: Fatal Error (1): Class 'AppShell' not found in when testing the cake2.x shell with PHPUnit

I created the shell program app/Console/Command/TestShell.php in cakephp2.x.The shell itself works, but when I launch the PHPUnit test code from my browser, it turns white and error.log shows the foll...

2 months ago

1 answers
8 views
0
CakePHP Fixure Does Not Generate Tables

UnitTest with CakePHPv2.5.5.configurationdatabases.phppublic$xxxx=array( // ...);public$test_xxxx=array( 'datasource' = > 'Database/MysqlExportDb', 'persistent' = > false, 'host' = > 'localho...

2 months ago

2 answers
9 views
0
I would like to introduce cakephp with XAMPP."I can't find intl" appears.

I am using XAMPP 7.1.10/PHP 7.1.10 in OS 10.12.6 to deploy cakePHP3.We are building the environment according to the book Introduction to PHP Framework CakePHP3.First, we added extension=php_intl.so i...

2 months ago

1 answers
12 views
0
I want to display the notice and warning logs on the web.

I would like to display notices and warning logs on the web in a development environment using CakePHP, but it doesn't work.Run EnvironmentCakePHP 2.2PHP 5.3 confirmed, executed·Check with phpinfoThe ...

2 months ago

1 answers
7 views
0
Understanding Security Feature Relationships in CakePHP 3.x

Thank you for your help.Development using CakePHP 3.0 or later requires a security investigation.For CakePHP 3.0, I'm asking because I want to know what functions to use.1. Escape processing for SQL i...

2 months ago

2 answers
10 views
0
About htaccess in the project route of cakePHP 3.4.5

We introduced cakePHP to Sakura VPS using composer.However, it doesn't show up no matter how you do it.InternalServerErrorRequest exceeded the limit of 10 internal redirects due to provable configurat...

2 months ago
- 1 - »

© 2022 OneMinuteCode. All rights reserved.