• Resolved Cormie Design

    (@cormie-design)


    Im trying to create a website using WordPress, i have done a few before and don’t think i’ve done anything different but when i try to access the wp-admin/install.php it keeps showing me this message –

    Parse error: syntax error, unexpected T_VARIABLE in /homepages/40/d333408217/htdocs/legenderry/wp-includes/option.php on line 225

    Does anyone know what the problem is???

    Thanks.

Viewing 15 replies - 1 through 15 (of 17 total)
  • Try re-uploading all files & folders from a fresh download of WordPress.

    Thread Starter Cormie Design

    (@cormie-design)

    Just tried that there and its still showing the same message. Would it have anything to do with the SQL database information i am adding to the wp-cinfig.php file?

    Try deleting the wp-config.php file and allowing WP to create it as part of the install process.

    Thread Starter Cormie Design

    (@cormie-design)

    Naw, still showing the error after i deleted the wp-config.php file?????

    Did you re-upload using a fresh download of WordPress?

    Thread Starter Cormie Design

    (@cormie-design)

    yea

    Can you try another download and re-upload? We need to rule out the possibility that you have two corrupted downloads.

    Thread Starter Cormie Design

    (@cormie-design)

    Just completed the fresh download and re-install and its still showing the same error message:

    Parse error: syntax error, unexpected T_VARIABLE in /homepages/40/d333408217/htdocs/legenderry/wp-includes/option.php on line 225

    ??

    OK – bear with me. I’m going to see if I can get some more eyes on this one.

    What hosting company and package are you using? Do you know what version of PHP your hosts are running?

    Thread Starter Cormie Design

    (@cormie-design)

    Im using 1 and 1 hosting, unfortunately i don’t know about the PHP.

    Haha! We have found a culprit thanks to some other gifted forum volunteers. There is indeed a bug in 3.4 that is only triggered on hosting that runs PHP 4 and PHP 5. That’s certainly the case with 1&1. The gory details are available at https://core.trac.www.ads-software.com/ticket/21316 if anyone is interested.

    In shirt, we think that WP is trying to use PHP 4 and then erroring out when it should – instead – be generating a message along the lines of “You need PHP 5.2.4 to run WordPress”. Since you’re using 1&1, there may be a way around this. Try adding

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    an .htaccess file on your domain’s root folder. That should force PHP5, if I remember correctly.

    Thread Starter Cormie Design

    (@cormie-design)

    Happy days, thats it sorted now, thank you very much for the help Esmi
    ??

    Excellent! Glad we were able to find a fix for this. ??

    Brilliant, you just fixed my problem too. Thank you so much!

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Can Anyone Help?? – Parse error: syntax error.’ is closed to new replies.