WordPress.org

Support

Support » Installation » Parse error when trying to run install.php

Parse error when trying to run install.php

  • After uploading all the files to my site and trying to run the install.php I get this error:
    Parse error: syntax error, unexpected T_VARIABLE in /homepages/46/d92812074/htdocs/my-webiste-name/blog/wp-includes/option.php on line 225

    I only edited the wp-config.php file to set my database settings. Any ideas? Thanks for your help.

Viewing 15 replies - 1 through 15 (of 20 total)
  • T_VARIABLE declaration is usually an unclosed command i.e.'{‘
    Can you do a fresh install

    I did. This is what I got now:
    Fatal error: Call to undefined function: load_textdomain() in /homepages/46/d92812074/htdocs/my-website-name/blog/wp-admin/includes/admin.php on line 13

    Thanks for your time.

    O.K upload the admin.php and let me know if this resolves it
    Stick at it wp is brilliant when you get ‘friendly ‘ with it

    Getting same error. Any other ideas please?

    esmi

    @esmi

    Forum Moderator

    Try re-uploading all files & folders from a fresh download of WordPress. Ideally you should also delete the old files/folders before uploading the new versions.

    I have the same problem with the german version of wordpress..

    Parse error: syntax error, unexpected T_VARIABLE in /homepages/18/d299161974/htdocs/DK-Institut/wp-includes/option.php on line 225

    I downloaded the programm two times
    deletet all files
    Installed again

    I only edited the wp-config.php file to set my database settings. Any ideas? Thanks for your help.

    I met the same problem after installing a fresh copy of the WP, which I downloaded from http://wordpress.org/download/.

    esmi

    @esmi

    Forum Moderator

    People: Please post your own topics.

    I got around the problem by editing the two lines within option.php where clone was used.

    I added parens: changed
    $newvalue = clone $newvalue;
    to
    $newvalue = clone ($newvalue);

    same change for another clone around line 306.

    esmi

    @esmi

    Forum Moderator

    No, no, no! Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

    esmi, maybe you would be so kind to explain how to fix it? And how could developers miss this?

    Maybe it depends on what version of php is running on the site? Just guessing — I’m not fluent in php.

    esmi

    @esmi

    Forum Moderator

    Start by posting your own topics. We now have a bit of a jumble of different issues that may, or may not, be related to the original poster’s problem

    @nine9d What is your situation now !!

    Esmi – what do you mean different topics? It looks like these are all related issues here. Parse error upon fresh install.

    I am having the same issue upon a fresh install of WP 3.4.

    Parse error: syntax error, unexpected T_VARIABLE in /homepages/XX/XXXXXXXX/htdocs/dev/wp-includes/option.php on line 225

    I am noticing that everyone who is having this issue here has the same root structure. Are you guys by any chance hosting with 1&1? My client is hosting with them in this case – so I am going to give them a call and post back if I find anything out.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Parse error when trying to run install.php’ is closed to new replies.