PROYECT DEPLOYMENT

Hello everyone!!

i’m about to deploy my first proyect which is a CRM to use on my office. the problem is that as soon as i start the deployment process, following step by step the manual i get the following error when editing the database connection

Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsIntranet_libprodlibphpdevellibphpase_ini.inc.php on line 78

Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsIntranet_libprodlibphpdevellibphpase_ini.inc.php on line 79

Deprecated: Function session_is_registered() is deprecated in C:xampphtdocsIntranet_libprodlibphpdevellibphpase_ini.inc.php on line 8

Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsIntranet_libprodlibphpdevelclasspage
mPageAdminSysAllConectionsCreateWizard.class.php on line 115

Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsIntranet_libprodlibphpdevelclasspage
mPageAdminSysAllConectionsCreateWizard.class.php on line 324

Deprecated: Assigning the return value of new by reference is deprecated in C:xampphtdocsIntranet_libprodlibphpdevelclassinterface
mConnection.class.php on line 287

help pls :S

Re: PROYECT DEPLOYMENT

i tried the deployment directly on the wwwroot of scriptcase and it worked… i wonder why i get this error when trying to deploy on a server with its own mysql-apache-php installation? i have other php applications running without any problems on the server

Re: PROYECT DEPLOYMENT

when you deploy, make sure that the database has the same name. In production environment(where you deployed) the project must have the same configuration as the development environment.
and another thing, check all the folder and files permission (read/write permission).

regards

Re: PROYECT DEPLOYMENT

the database is the same since is a dump from the development database. the apache and PHP versions used are the latest. i’m using a windows server based machine for the deployment and i have set the folder permissions of W/R to everyone.

Re: PROYECT DEPLOYMENT

Things that can cause this:

-Different versions of PHP,mySQL; post versions of local/production
-Different base directory (C:xampphtdocs) vs (/var/www/); check your config
-File/DIR rights
-Deployment method: I always use ZIP, do you have access to unzip manually?
I have seen sending PHP files on FTP have actually ‘processed’ the PHP and it actually was different from the sent file. (perhaps old FTP client or not on BIN file)
-Some Shared Servers to not allow 777 for directories, if you set _lib DIR to 777 and the provider does not allow for this, you will have problems.

Use FireBug and see if you are receiving ‘file not found’ type errors under the NET tab on the files that report errors.

Regards,
Scott.

Re: PROYECT DEPLOYMENT

I’m doing the deployment on a local server so i have access to everything. i made the deployment using zip file.

I’ll check the base directory config, thanks for the info :slight_smile: