WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Parse error when trying to run install.php (21 posts)

  1. nine9d
    Member
    Posted 2 years ago #

    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.

  2. loughcorrib
    Member
    Posted 2 years ago #

    T_VARIABLE declaration is usually an unclosed command i.e.'{'
    Can you do a fresh install

  3. nine9d
    Member
    Posted 2 years ago #

    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.

  4. loughcorrib
    Member
    Posted 2 years ago #

    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

  5. nine9d
    Member
    Posted 2 years ago #

    Getting same error. Any other ideas please?

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  7. JHome
    Member
    Posted 2 years ago #

    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.

  8. mister_r
    Member
    Posted 2 years ago #

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

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    People: Please post your own topics.

  10. kcmatthews
    Member
    Posted 2 years ago #

    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.

  11. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  12. mister_r
    Member
    Posted 2 years ago #

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

  13. kcmatthews
    Member
    Posted 2 years ago #

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

  14. esmi
    Forum Moderator
    Posted 2 years ago #

    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

  15. loughcorrib
    Member
    Posted 2 years ago #

    @nine9d What is your situation now !!

  16. aarongeiser
    Member
    Posted 2 years ago #

    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.

  17. esmi
    Forum Moderator
    Posted 2 years ago #

    Are you using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme & configurations as the original poster? No? Then post a new topic.

  18. aarongeiser
    Member
    Posted 2 years ago #

    LOl - do you even know that? Have you asked? You are not a very helpful moderator.

  19. aarongeiser
    Member
    Posted 2 years ago #

    Esmi - not sure why you are deleting my replys.

    If you read the people posts above - you will notice that these are FRESH installations. There are no plugins installed.

    Also - look at the root structure. They are all exactly the same. This would imply that these are indeed on a similar environment.

    Additionally - for you information - I have just resolved this issue. This is indeed a PHP version issue for me. WP3 requires PHP 5 and this particular hosting environment was running on a lesser version. Has the host upgrade to PHP 5.2 and all appears to be working smooth.

  20. mister_r
    Member
    Posted 2 years ago #

    aarongeiser might be right.

    After I had this error on WP 3.4, I installed WP 3.3.2 and it reported

    Your server is running PHP version 4.4.9 but WordPress 3.3.2 requires at least 5.2.4.

    So probably the same problem was with WP 3.4. But it responded in such strange way.

  21. esmi
    Forum Moderator
    Posted 2 years ago #

    Your posts not deleted. They were caught in the spam filter and had to be cleared out manually. Your issue is different. Next time I suggest you check the minimum requirements for WordPress 3.4. PHP 5.2.4 has been required since 3.0.

    Personally, I try not to make assumptions when trying to assist posters.

Topic Closed

This topic has been closed to new replies.

About this Topic