Announcement

Collapse
No announcement yet.

PROYECT DEPLOYMENT

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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\_libprodlibphpdevellibphpas e_ini.inc.php on line 78

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

    Deprecated: Function session_is_registered() is deprecated in C:xampphtdocsIntranet\_libprodlibphpdevellibphpas e_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\_libprodlibphpdevelclassinte rface
    mConnection.class.php on line 287

    help pls :S

  • #2
    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

    Comment


    • #3
      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

      Comment


      • #4
        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.

        Comment


        • #5
          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.

          Comment


          • #6
            Re: PROYECT DEPLOYMENT

            [quote author=ScottMartin link=topic=5116.msg12818#msg12818 date=1312592887]
            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.
            [/quote]

            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

            Comment

            Working...
            X