After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ... \wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
Was this entriely new installation? Is it live somewhere? Can you describe what you did (I do not mean "I've installed it" but step by step)? Can you reproduce this problem doing the same things again?
This report isn't helpful in any way and nobody can help you using information from it. Error message can be helpful but complete :).
Best, Martin Urbanec
ne 11. 12. 2016 v 13:57 odesílatel Bri dev@rlyehable.com napsal:
After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ... \wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
This was an update to a previous version of the MediaWiki files.
I downloaded the update, and extracted it.
I FTP'ed the files to the webhost (all except the images directory). Making sure the LocalSetting.php remained intact.
I then went to http://rlyeahble.com/w5/mw-config/index.php to run the update. As stated before this gave the error message I stated.
My PHP version is 5.5.9
-Bri
On 2016-12-11 08:04, Martin Urbanec wrote:
Was this entriely new installation? Is it live somewhere? Can you describe what you did (I do not mean "I've installed it" but step by step)? Can you reproduce this problem doing the same things again?
This report isn't helpful in any way and nobody can help you using information from it. Error message can be helpful but complete :).
Best, Martin Urbanec
ne 11. 12. 2016 v 13:57 odesílatel Bri dev@rlyehable.com napsal:
After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ... \wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Are you 100% sure your version is 5.5.9.
This error message is usually caused by using php 5.3 or earlier.
On Sun, Dec 11, 2016 at 3:49 PM, Bri dev@rlyehable.com wrote:
This was an update to a previous version of the MediaWiki files.
I downloaded the update, and extracted it.
I FTP'ed the files to the webhost (all except the images directory). Making sure the LocalSetting.php remained intact.
I then went to http://rlyeahble.com/w5/mw-config/index.php to run the update. As stated before this gave the error message I stated.
My PHP version is 5.5.9
-Bri
On 2016-12-11 08:04, Martin Urbanec wrote:
Was this entriely new installation? Is it live somewhere? Can you describe what you did (I do not mean "I've installed it" but step by step)? Can you reproduce this problem doing the same things again?
This report isn't helpful in any way and nobody can help you using information from it. Error message can be helpful but complete :).
Best, Martin Urbanec
ne 11. 12. 2016 v 13:57 odesílatel Bri dev@rlyehable.com napsal:
After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ... \wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
My host updated to 5.5.9 in July. I am on a shared host, so do not have root access. I am double-checking with my host to make sure it did not reverted to an earlier version during a server migration last month. Thank you for the info. I will update when I have a reply from my host.
-Bri
On 2016-12-11 12:37, Brian Wolff wrote:
Are you 100% sure your version is 5.5.9.
This error message is usually caused by using php 5.3 or earlier.
On Sun, Dec 11, 2016 at 3:49 PM, Bri dev@rlyehable.com wrote:
This was an update to a previous version of the MediaWiki files.
I downloaded the update, and extracted it.
I FTP'ed the files to the webhost (all except the images directory). Making sure the LocalSetting.php remained intact.
I then went to http://rlyeahble.com/w5/mw-config/index.php to run the update. As stated before this gave the error message I stated.
My PHP version is 5.5.9
-Bri
On 2016-12-11 08:04, Martin Urbanec wrote:
Was this entriely new installation? Is it live somewhere? Can you describe what you did (I do not mean "I've installed it" but step by step)? Can you reproduce this problem doing the same things again?
This report isn't helpful in any way and nobody can help you using information from it. Error message can be helpful but complete :).
Best, Martin Urbanec
ne 11. 12. 2016 v 13:57 odesílatel Bri dev@rlyehable.com napsal:
After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ... \wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You can check your php version yourself. Upload info.php file to the server with the following content.
<?php phpinfo();
Then navigate to yourdomain.com/info.php and at the begin you'll see something like PHP Version 5.6.28-pl0-gentoo. According to this output I use 5.6.28.
Martin
ne 11. 12. 2016 v 19:34 odesílatel Bri dev@rlyehable.com napsal:
My host updated to 5.5.9 in July. I am on a shared host, so do not have root access. I am double-checking with my host to make sure it did not reverted to an earlier version during a server migration last month. Thank you for the info. I will update when I have a reply from my host.
-Bri
On 2016-12-11 12:37, Brian Wolff wrote:
Are you 100% sure your version is 5.5.9.
This error message is usually caused by using php 5.3 or earlier.
On Sun, Dec 11, 2016 at 3:49 PM, Bri dev@rlyehable.com wrote:
This was an update to a previous version of the MediaWiki files.
I downloaded the update, and extracted it.
I FTP'ed the files to the webhost (all except the images directory).
Making
sure the LocalSetting.php remained intact.
I then went to http://rlyeahble.com/w5/mw-config/index.php to run the update. As stated before this gave the error message I stated.
My PHP version is 5.5.9
-Bri
On 2016-12-11 08:04, Martin Urbanec wrote:
Was this entriely new installation? Is it live somewhere? Can you
describe
what you did (I do not mean "I've installed it" but step by step)? Can
you
reproduce this problem doing the same things again?
This report isn't helpful in any way and nobody can help you using information from it. Error message can be helpful but complete :).
Best, Martin Urbanec
ne 11. 12. 2016 v 13:57 odesílatel Bri dev@rlyehable.com napsal:
After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ... \wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
What version of php? Can you verify that you have a high enough version of php?
Can you double check that mw-config/index.php has not been corrupted (e.g. make sure the file looks exactly like the version from the tarball).
-- Brian
On Sunday, December 11, 2016, Bri dev@rlyehable.com wrote:
After I installed MediWiki 1.28 I am getting the following error:
*Parse error*: syntax error, unexpected '[' in *E: ...
\wwwroot\w5\mw-config\index.php* on line *63*
Please help
- Bri
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
You're almost certainly actually running PHP 5.3 or older.
You should, however, get a nice error message explaining the problem rather than a syntax error. This is a bug, I submitted a patch to fix it: https://gerrit.wikimedia.org/r/326364
Maybe your host enabled upgrade to newer version in your customer preferences.
Martin
Dne ne 11. pro 2016 21:31 uživatel Bartosz Dziewoński matma.rex@gmail.com napsal:
You're almost certainly actually running PHP 5.3 or older.
You should, however, get a nice error message explaining the problem rather than a syntax error. This is a bug, I submitted a patch to fix it: https://gerrit.wikimedia.org/r/326364
-- Bartosz Dziewoński
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org