• Resolved carlosalcala

    (@carlosalcala)


    Hola, soy nuevo en wordpress y tengo un problema al instalar:
    Al introducir en el navegador la dirección que indica la instalación:

    http://grupoproyekta.com/wp-admin/install.php

    Me sale este error:

    Parse error: syntax error, unexpected ”); ‘ (T_CONSTANT_ENCAPSED_STRING) in /var/www/vhost/grupoproyekta.com/home/html/wp-config.php on line 31

    La linea 31 es:

    /** Codificación de caracteres para la base de datos. */
    define(‘DB_CHARSET’, ‘utf8’);

    Gracias!!

    [google translate]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    These are English language forums, so please use English. Alternatively, use a href=”http://codex.wordpress.org/WordPress_in_Your_Language”>WP support forum in your language.

    Looking at the error message – Parse error: syntax error, unexpected…:
    – A syntax error means that you have made a mistake while creating your PHP structure. You could, for example, be;
    – Missing a ; at the end of an individual line.
    – Using curly quotation marks.
    – Missing a curly bracket.
    When this error appears it will tell you which file the error appears in (e.g., functions.php) and approximately which line (it may not always be the exact line so be sure to check just before and just after) in the code.
    Try:
    – switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.
    – resetting the plugins folder by FTP or phpMyAdmin.

    Thread Starter carlosalcala

    (@carlosalcala)

    Thank You Tara!

    Sorry, I didn,t realice it was only in english.

    I found the mistake and now appears:

    Warning: require_once(/var/www/vhost/grupoproyekta.com/home/html/wp-includes/wp-db.php): failed to open stream: No such file or directory in /var/www/vhost/grupoproyekta.com/home/html/wp-includes/load.php on line 327

    Fatal error: require_once(): Failed opening required ‘/var/www/vhost/grupoproyekta.com/home/html/wp-includes/wp-db.php’ (include_path=’.:/opt/rh/php54/root/usr/share/pear:/opt/rh/php54/root/usr/share/php’) in /var/www/vhost/grupoproyekta.com/home/html/wp-includes/load.php on line 327

    Moderator keesiemeijer

    (@keesiemeijer)

    Try:
    – re-uploading all files & folders – except the wp-content folder from a fresh download of WordPress. by using FTP or whatever file management application your host provides. You may need to delete the wp-admin and wp-includes folders first on your server. Read the Manual Update first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parse error: syntax error, unexpected ''); ' (T_CONSTANT_ENCAPSED_STRING)’ is closed to new replies.