PHP CI Framework Erection Error--only variable references should be returned by reference

Source: Internet
Author: User

Solution Reference

http://www.rafalinux.com/

La Búsqueda fue bastante infructuosa, y hasta hace un par de días, nadie respondióa un llamamiento en los foros de ellisl AB (el equipo creador de CodeIgniter). Varias soluciones se habían propuesto, pero ninguna era efectiva. Este pequeño arreglo es lo que he utilizado, de modo que ahora puedo continuar usando mi instalación de lighhtpd, PHP y My SQL, Proporcionadas por Debian.

El error SE refiere a la línea 257 del archivo/system/core/common.php, Que dice esto:

return $_config[0] =& $config;

Lo que hay que hacer es sustitutirla por:

$_config[0] =& $config; return $_config[0];

Después de Esto, la aplicación funciona correctamente.

Guess what it means:

The 257-row

return $_config[0] =& $config;
Change to:
$_config[0] =& $config; return $_config[0];

PHP CI Framework Erection Error--only variable references should be returned by reference

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.