• Estimados buenas tardes, saludos a todos. Por favor quisiera que me apoyaran en la resolución de este error el día de hoy 06/03/2018 he realizado una migración de mi sitio web que tenia en localhost a mi hosting todo lo realice correctamente pero al momento de ingresar a https://www.redsysweb.com.ve me genera el siguiente error: Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/u169543763/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1

    Agradezco su valiosa colaboración y soporte.

    Saludos cordiales

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • From Google translate:

    Dear good afternoon, greetings to all. Please, I would like you to support me in the resolution of this error today 06/03/2018 I have made a migration from my website that I had in localhost to my hosting everything done correctly but when entering http: // https://www.redsysweb.com.ve generates the following error: Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/u169543763/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1

    I appreciate your valuable collaboration and support.

    Best regards

    Suggest that you look at the file:
    /home/u169543763/public_html/wp-content/themes/zerif-lite/inc/jetpack.php
    And compare it with the same file on your localhost.

    Thread Starter jsjmeliezer

    (@jsjmeliezer)

    Estimado gracias por prestarme atención, he comparado y ambos tienen este código:

    <?php

    /**
    * Jetpack Compatibility File
    * Add theme support for Infinite Scroll.
    * See: https://jetpack.me/support/infinite-scroll/
    */

    function zerif_jetpack_setup() {

    add_theme_support( ‘infinite-scroll’, array(

    ‘container’ => ‘main’,

    ‘footer’ => ‘page’,

    ) );

    }

    add_action( ‘after_setup_theme’, ‘zerif_jetpack_setup’ );

    Thread Starter jsjmeliezer

    (@jsjmeliezer)

    Estimados creo haber solucionado el inconveniente, los códigos de los archivos estaban desorganizados… ?Pero, por qué sucede eso? se desorganizaron todos los archivos localizados en /home/u169543763/public_html/wp-content/themes/zerif-lite/inc/; no funcionaba sobrescribiendolo de localhost, tuve que realizarlo manualmente, por ahora ya puedo acceder al panel al momento de migrar de localhost todo se desorganizó. tengo que volver a organizar mi web?

    Saludos

    From google translate:

    Dear I think I have solved the problem, the codes of the files were disorganized …
    But, why does that happen? all the files located in
    / home / u169543763 / public_html / wp-content / themes / zerif-lite / inc /
    were unorganized; it did not work overwriting it from localhost,
    I had to do it manually, for now I can access the panel at the time of
    migrating from localhost everything got messed up.
    I have to re-organize my website?

    regards

    It happens sometimes that FTP does not over write files properly.
    In detailed upgrade instructions:
    https://codex.www.ads-software.com/Upgrading_WordPress_-_Extended_Instructions#Step_7:_Delete_the_old_WordPress_files
    Detailed instructions on which files to delete and which to keep.
    Then upload the new files.

    • This reply was modified 6 years, 7 months ago by RossMitchell.
    • This reply was modified 6 years, 7 months ago by RossMitchell.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.