devcustom ?



  • Bonjour Eolia,
    J'espère que vous avez passé de bonnes vacances !
    Je suis toujours à la recherche de la cause de cette foutue suppression d'images, qui est très casse-pied (des fois que 3-4, des fois plus, j'ai l'impression que cela dépend du nombre de produits mis à jour dans la même période).
    J'ai découvert un ficher curl.log qui faisait mention de devcustom.net et en référence l'url du site de dev.
    J'ai donc fait une recherche pour voir d'où cela venait et le script me donne ceci comme réponse :

    /home/paje2876/public_html/admin16234fe/cleaner.php >>> devcustom.net /home/paje2876/public_html/js/admin.js >>> devcustom.net /home/paje2876/public_html/cami_findcurl.php >>> curl.log /home/paje2876/public_html/cami_findcurl.php >>> devcustom.net /home/paje2876/public_html/cami_findcurl.php >>> dl.php?f=autoupgrade /home/paje2876/public_html/modules/paypal/log/20241128.log >>> devcustom.net /home/paje2876/public_html/modules/paypal/api/paypal_connect.php >>> curl.log /home/paje2876/public_html/modules/autoupgrade/classes/Upgrader.php >>> devcustom.net /home/paje2876/public_html/modules/autoupgrade/AdminSelfUpgrade.php >>> devcustom.net /home/paje2876/public_html/modules/autoupgrade/AdminSelfUpgrade.php >>> dl.php?f=autoupgrade /home/paje2876/public_html/classes/Media.php.log >>> devcustom.net /home/paje2876/public_html/config/defines_uri.inc.php >>> devcustom.net /home/paje2876/public_html/docs/changelog-Eolia.en.txt >>> devcustom.net /home/paje2876/public_html/docs/changelog-Eolia.fr.txt >>> devcustom.net /home/paje2876/public_html/log/curllog.log >>> devcustom.net /home/paje2876/public_html/log/curllog.log >>> dl.php?f=autoupgrade
    

    Comme il y a votre nom, je voulais savoir si c'était normal. A première vue le fichier log n'a plus été mis à jour depuis le transfert du site de dev sur le serveur final. Sur le site de dev, à la racine, il y a un fichier acinclude.m4. A-t-il un lien ?
    Merci d'avance pour vos lumières et bonne journée



  • devcustom.net est un des serveurs statiques de Phenix et Cleaner.
    curl.log enregistre les dernier appels effectués en curl à de fins de debug au cas où.
    Le fichier acinclude.m4 n'est pas un fichier natif, que contient-il ?



  • Voici le contenu du .m4

    #***************************************************************************
    #                                  _   _ ____  _
    #  Project                     ___| | | |  _ \| |
    #                             / __| | | | |_) | |
    #                            | (__| |_| |  _ <| |___
    #                             \___|\___/|_| \_\_____|
    #
    # Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
    #
    # This software is licensed as described in the file COPYING, which
    # you should have received as part of this distribution. The terms
    # are also available at https://curl.se/docs/copyright.html.
    #
    # You may opt to use, copy, modify, merge, publish, distribute and/or sell
    # copies of the Software, and permit persons to whom the Software is
    # furnished to do so, under the terms of the COPYING file.
    #
    # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
    # KIND, either express or implied.
    #
    # SPDX-License-Identifier: curl
    #
    #***************************************************************************
    
    dnl CURL_CHECK_DEF (SYMBOL, [INCLUDES], [SILENT])
    dnl -------------------------------------------------
    dnl Use the C preprocessor to find out if the given object-style symbol
    dnl is defined and get its expansion. This macro will not use default
    dnl includes even if no INCLUDES argument is given. This macro will run
    dnl silently when invoked with three arguments. If the expansion would
    dnl result in a set of double-quoted strings the returned expansion will
    dnl actually be a single double-quoted string concatenating all them.
    
    AC_DEFUN([CURL_CHECK_DEF], [
      AC_REQUIRE([CURL_CPP_P])dnl
      OLDCPPFLAGS=$CPPFLAGS
      # CPPPFLAG comes from CURL_CPP_P
      CPPFLAGS="$CPPFLAGS $CPPPFLAG"
      AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl
      AS_VAR_PUSHDEF([ac_Def], [curl_cv_def_$1])dnl
      if test -z "$SED"; then
        AC_MSG_ERROR([SED not set. Cannot continue without SED being set.])
      fi
      if test -z "$GREP"; then
        AC_MSG_ERROR([GREP not set. Cannot continue without GREP being set.])
      fi
      ifelse($3,,[AC_MSG_CHECKING([for preprocessor definition of $1])])
      tmp_exp=""
      AC_PREPROC_IFELSE([
        AC_LANG_SOURCE(
    ifelse($2,,,[$2])[[
          #ifdef $1
          CURL_DEF_TOKEN $1
          #endif
        ]])
      ],[
        tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
          "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
          "$SED" 's/.*CURL_DEF_TOKEN[[ ]][[ ]]*//' 2>/dev/null | \
          "$SED" 's/[["]][[ ]]*[["]]//g' 2>/dev/null`
        if test -z "$tmp_exp" || test "$tmp_exp" = "$1"; then
          tmp_exp=""
        fi
      ])
      if test -z "$tmp_exp"; then
        AS_VAR_SET(ac_HaveDef, no)
        ifelse($3,,[AC_MSG_RESULT([no])])
      else
        AS_VAR_SET(ac_HaveDef, yes)
        AS_VAR_SET(ac_Def, $tmp_exp)
        ifelse($3,,[AC_MSG_RESULT([$tmp_exp])])
      fi
      AS_VAR_POPDEF([ac_Def])dnl
      AS_VAR_POPDEF([ac_HaveDef])dnl
      CPPFLAGS=$OLDCPPFLAGS
    ])
    
    
    dnl CURL_CHECK_DEF_CC (SYMBOL, [INCLUDES], [SILENT])
    dnl -------------------------------------------------
    dnl Use the C compiler to find out only if the given symbol is defined
    dnl or not, this can not find out its expansion. This macro will not use
    dnl default includes even if no INCLUDES argument is given. This macro
    dnl will run silently when invoked with three arguments.
    
    AC_DEFUN([CURL_CHECK_DEF_CC], [
      AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl
      ifelse($3,,[AC_MSG_CHECKING([for compiler definition of $1])])
      AC_COMPILE_IFELSE([
        AC_LANG_SOURCE(
    ifelse($2,,,[$2])[[
          int main(void)
          {
          #ifdef $1
            return 0;
          #else
            #error force compilation error
          #endif
          }
        ]])
      ],[
        tst_symbol_defined="yes"
      ],[
        tst_symbol_defined="no"
      ])
      if test "$tst_symbol_defined" = "yes"; then
        AS_VAR_SET(ac_HaveDef, yes)
        ifelse($3,,[AC_MSG_RESULT([yes])])
      else
        AS_VAR_SET(ac_HaveDef, no)
        ifelse($3,,[AC_MSG_RESULT([no])])
      fi
      AS_VAR_POPDEF([ac_HaveDef])dnl
    ])
    
    
    dnl CURL_CHECK_LIB_XNET
    dnl -------------------------------------------------
    dnl Verify if X/Open network library is required.
    
    AC_DEFUN([CURL_CHECK_LIB_XNET], [
      AC_MSG_CHECKING([if X/Open network library is required])
      tst_lib_xnet_required="no"
      AC_COMPILE_IFELSE([
        AC_LANG_SOURCE([[
          int main(void)
          {
          #if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
            return 0;
          #elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
            return 0;
          #else
            #error force compilation error
          #endif
          }
        ]])
      ],[
        tst_lib_xnet_required="yes"
        LIBS="-lxnet $LIBS"
      ])
      AC_MSG_RESULT([$tst_lib_xnet_required])
    ])
    
    
    dnl CURL_CHECK_AIX_ALL_SOURCE
    dnl -------------------------------------------------
    dnl Provides a replacement of traditional AC_AIX with
    dnl an uniform behavior across all autoconf versions,
    dnl and with our own placement rules.
    
    AC_DEFUN([CURL_CHECK_AIX_ALL_SOURCE], [
      AH_VERBATIM([_ALL_SOURCE],
        [/* Define to 1 if OS is AIX. */
    #ifndef _ALL_SOURCE
    #  undef _ALL_SOURCE
    #endif])
      AC_BEFORE([$0], [AC_SYS_LARGEFILE])dnl
      AC_BEFORE([$0], [CURL_CONFIGURE_REENTRANT])dnl
      AC_MSG_CHECKING([if OS is AIX (to define _ALL_SOURCE)])
      AC_EGREP_CPP([yes_this_is_aix],[
    #ifdef _AIX
       yes_this_is_aix
    #endif
      ],[
        AC_MSG_RESULT([yes])
        AC_DEFINE(_ALL_SOURCE)
      ],[
        AC_MSG_RESULT([no])
      ])
    ])
    
    
    dnl CURL_CHECK_NATIVE_WINDOWS
    dnl -------------------------------------------------
    dnl Check if building a native Windows target
    
    AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [
      AC_CACHE_CHECK([whether build target is a native Windows one], [curl_cv_native_windows], [
        AC_COMPILE_IFELSE([
          AC_LANG_PROGRAM([[
          ]],[[
            #ifdef _WIN32
              int dummy=1;
            #else
              #error Not a native Windows build target.
            #endif
          ]])
        ],[
          curl_cv_native_windows="yes"
        ],[
          curl_cv_native_windows="no"
        ])
      ])
      AM_CONDITIONAL(DOING_NATIVE_WINDOWS, test "x$curl_cv_native_windows" = xyes)
    ])
    
    
    dnl CURL_CHECK_HEADER_LBER
    dnl -------------------------------------------------
    dnl Check for compilable and valid lber.h header,
    dnl and check if it is needed even with ldap.h
    
    AC_DEFUN([CURL_CHECK_HEADER_LBER], [
      AC_REQUIRE([CURL_CHECK_NATIVE_WINDOWS])dnl
      AC_CACHE_CHECK([for lber.h], [curl_cv_header_lber_h], [
        AC_COMPILE_IFELSE([
          AC_LANG_PROGRAM([[
            #undef inline
            #ifdef _WIN32
            #ifndef WIN32_LEAN_AND_MEAN
            #define WIN32_LEAN_AND_MEAN
            #endif
            #include <windows.h>
            #else
            #ifdef HAVE_SYS_TYPES_H
            #include <sys/types.h>
            #endif
            #endif
            #ifndef NULL
            #define NULL (void *)0
            #endif
            #include <lber.h>
          ]],[[
            BerValue *bvp = NULL;
            BerElement *bep = ber_init(bvp);
            ber_free(bep, 1);
          ]])
        ],[
          curl_cv_header_lber_h="yes"
        ],[
          curl_cv_header_lber_h="no"
        ])
      ])
      if test "$curl_cv_header_lber_h" = "yes"; then
        AC_DEFINE_UNQUOTED(HAVE_LBER_H, 1,
          [Define to 1 if you have the lber.h header file.])
        #
        AC_COMPILE_IFELSE([
          AC_LANG_PROGRAM([[
            #undef inline
            #ifdef _WIN32
            #ifndef WIN32_LEAN_AND_MEAN
            #define WIN32_LEAN_AND_MEAN
            #endif
            #include <windows.h>
            #else
            #ifdef HAVE_SYS_TYPES_H
            #include <sys/types.h>
            #endif
            #endif
            #ifndef NULL
            #define NULL (void *)0
            #endif
            #ifndef LDAP_DEPRECATED
            #define LDAP_DEPRECATED 1
            #endif
            #include <ldap.h>
          ]],[[
            BerValue *bvp = NULL;
            BerElement *bep = ber_init(bvp);
            ber_free(bep, 1);
          ]])
        ],[
          curl_cv_need_header_lber_h="no"
        ],[
          curl_cv_need_header_lber_h="yes"
        ])
        #
        case "$curl_cv_need_header_lber_h" in
          yes)
            AC_DEFINE_UNQUOTED(NEED_LBER_H, 1,
              [Define to 1 if you need the lber.h header file even with ldap.h])
            ;;
        esac
      fi
    ])
    
    
    dnl CURL_CHECK_HEADER_LDAP
    dnl -------------------------------------------------
    dnl Check for compilable and valid ldap.h header
    
    AC_DEFUN([CURL_CHECK_HEADER_LDAP], [
      AC_REQUIRE([CURL_CHECK_HEADER_LBER])dnl
      AC_CACHE_CHECK([for ldap.h], [curl_cv_header_ldap_h], [
        AC_COMPILE_IFELSE([
          AC_LANG_PROGRAM([[
            #undef inline
            #ifdef _WIN32
            #ifndef WIN32_LEAN_AND_MEAN
            #define WIN32_LEAN_AND_MEAN
            #endif
            #include <windows.h>
            #else
            #ifdef HAVE_SYS_TYPES_H
            #include <sys/types.h>
            #endif
            #endif
            #ifndef LDAP_DEPRECATED
            #define LDAP_DEPRECATED 1
            #endif
            #ifdef NEED_LBER_H
            #include <lber.h>
            #endif
            #include <ldap.h>
          ]],[[
            LDAP *ldp = ldap_init("0.0.0.0", LDAP_PORT);
            int res = ldap_unbind(ldp);
          ]])
        ],[
          curl_cv_header_ldap_h="yes"
        ],[
          curl_cv_header_ldap_h="no"
        ])
      ])
      case "$curl_cv_header_ldap_h" in
        yes)
          AC_DEFINE_UNQUOTED(HAVE_LDAP_H, 1,
            [Define to 1 if you have the ldap.h header file.])
          ;;
      esac
    ])
    
    
    
    
    

    Dans le dossier log, il y a un fichier curl_last.log, à première vue lié à l'API Prestashop, et mis à jour aujourd'hui. Et un fichier curllog.log, lié à devcustom, mais avec comme referent l'url du site de dev, et date de dernière modification qui doit être celle du jour où j'ai envoyé un clone du dev sur le serveur où il devait remplacer l'ancien site.

    J'ai dû tronquer le contenu du fichier .m4, sinon impossible d'envoyer ce message car trop long