Hey folks … every seen this when installing?
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /nfs/c03/h04/mnt/49211/domains/ecoist.ca/html/mysource_matrix/core/include/system_config.inc on line 39
Many thanks.
What step did this happen on?
And what is on line 39?
I have seen this many times when I am building custom assets and I make an error in the code.
Are you trying to install MySource Matrix using PHP4? If so, you need PHP5 for version 3.18.0+
nnhubbard : this happens when I am trying to do step_01.php of the installation.
Greg Sherwood : nope, I am running PHP 5 for sure.
Thanks guys for the quick replies.
Cheers
Michael
Are you trying to install it on shared hosting?
nnhubbard : yes, I am installing in on a shared server with mediatemple.
This is the file with line #39 that is in question.
[File content removed]
I tried again with a fresh install … and the same result happens. Any ideas?
Thanks again.
Cheers
Pretty sure your problem is the shared hosting. Matrix does not really easily install on shared hosting. Are you sure that you have all the requirements correct?
Also, next time you post code, please use codebox tags so that users won't have to scroll so much. 
sorry about that … noticed after the fact. :unsure:
yes, I have checked the requirements and all meet what is required. I am just wondering if it has something to do with PEAR? Mediatemple provides PEAR, but it is not installed by default, so I did that this morning, so I am wondering if that is where the break is.
[quote]sorry about that … noticed after the fact. :unsure:
yes, I have checked the requirements and all meet what is required. I am just wondering if it has something to do with PEAR? Mediatemple provides PEAR, but it is not installed by default, so I did that this morning, so I am wondering if that is where the break is.[/quote]
Do you have shell access? If so, do pear list to check that you have all that is required.
Sure thing, here it is.
Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.3 stable
Auth 1.6.1 stable
Console_Getopt 1.2.3 stable
DB 1.7.13 stable
HTML_Template_IT 1.2.1 stable
MDB2 2.4.1 stable
MDB2_Driver_mysql 1.4.1 stable
PEAR 1.8.1 stable
Structures_Graph 1.0.2 stable
XML_Util 1.2.1 stable
Cheers
Hello.
I'm getting the same error when trying to install mysource matrix on localhost.
I got postgresql running and created users and database as per instructions.
I used curl to download the latest stable version of mysource matrix.
When I run install/step_01.php I get the same.
parse error, expecting T_OLD_FUNCTION' orT_FUNCTION' or T_VAR' or'}'' in /Applications/MAMP/htdocs/mysource_matrix/core/include/system_config.inc on line 39
Has anyone had any success in finding out what causes this error and how to fix it?
[quote]
parse error, expecting T_OLD_FUNCTION' orT_FUNCTION' or T_VAR' or'}'' in /Applications/MAMP/htdocs/mysource_matrix/core/include/system_config.inc on line 39
Has anyone had any success in finding out what causes this error and how to fix it?
[/quote]
Are you trying to install Matrix on OS X?
I did this once, and it did work, but it was a HUGE pain, and took forever to get everything working. OS X is not really a supported os for Matrix, so you are going to struggle to get it working.
[quote]
Are you trying to install Matrix on OS X?
I did this once, and it did work, but it was a HUGE pain, and took forever to get everything working. OS X is not really a supported os for Matrix, so you are going to struggle to get it working.
[/quote]
Yeah I am trying to install Matrix on OS X.
I saw a few other forum post about installing on OS X, namely this one http://forums.matrix.squiz.net/index.php?showtopic=3459 and really wanted to give it a try. My development environment is OS X so I wanted a version of Matrix running locally to play around with.