CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Español

 Error al generar el proyecto

Print topic Send  topic

Author Message
adorni

Posts: 120
Posted: 10/24/2009, 6:01 PM

No entiendo mucho de PHPO, pero cuando genero el proyecto me tira este error el PHP:

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 75

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 76

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 77

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 78

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 333

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 334

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 335

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 502

Deprecated: Assigning the return value of new by reference is deprecated in C:\WAMP\www\MAPEMFI\NewPage1.php on line 503

Que puede ser???

Gracias
View profile  Send private message
lvalverdeb

Posts: 299
Posted: 10/26/2009, 9:48 AM

que version de php usas? Creo que el problema es que tu instalación de php no soporta la compatibilidad con php 4 y/ esta funcionando en modo E_STRICT.

A partir de php 5.3 pasar explicitamente (& new tuclase();) el valor de una variable por referencia ya no es necesario. El código generado por CCS es diseñado para ejecutarse con php4 y php5

Si quieres eliminar la advertencia utiliza el comando en tu codigo (al inicio del Common.php):
si usas php >=5.3
  
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);  
si usas php < 5.3
  
error_reporting(E_ALL & ~E_NOTICE);  



_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.