• Resolved jeagan

    (@jeagan)


    Hi,
    I am uploading my wp files manually in hostgator. The problem is two uploaded files are hundred bits smaller than two local files. When I delete the remote file and upload it again, it shows the same file size at first. But after a couple of seconds, its file size get smaller again.
    The file names are license.txt and wp-config.phg. When I try load https://www.mydomain.net/blog, it shows a error sign. It reads:
    “Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/jeagan/public_html/blog/wp-config.php on line 51”

    How can I fix the problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • what is on line 51, or the preceeding few lines of your wp-config.php?

    I wouldn’t worry about the file size difference.

    Thread Starter jeagan

    (@jeagan)

    Lines 45 through 52 are about “define ….” section. It’s about define Auth Keym etc. Out of eight entries, four of them were automatically created and the remaining four were manually entered.

    When I downloaded the remote file into local computer and compared between the two files, I couldn’t find any difference between them except for the file size. The license.txt files are exactly the same.
    But the local file size is 15,410 whereas the remote file size is 15,129.

    I think you are missing a single or double quote – check from line 51 and go upwards until you find it.

    Thread Starter jeagan

    (@jeagan)

    Great, Rich!!

    You are my HERO!!

    Actually I didn’t touch anything except for the entries to be made. However, as I study the line 51, I inadvertantly entered several ‘s and ;s as I was making randum characters like ” ;;;. That makes the hostgator confused. Problem solved!

    Thanks again and
    Good night, Rich!

    excellent, glad it’s fixed.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File size shrinks after upload, and install fails’ is closed to new replies.