ahh, what version of PHP is available to you on that VPS?
php5 --version
My VM experiment didn't go well at the office. I may try again tonight at home.
ok, what files do i need to edit? they are different from the video
@astropos I think this question is for you.
Yo, I stepped through an install of 4.0.0e on Ubuntu Server 14.04 LTS (15.04 LAMP will likely be unchanged)
Download latest from userspice.org
Upload zip to remote host
SSH to remote host
cd /path/to/your/apache/root
unzipped filename
chmod -R 777 ./core
Created MySQL user and DB
Open installer
Step1 OK
Step2 installation is in root of the live host so I enter / in both fields OK
Step3 DB installation details entered, tested OK
Step4 Copied the example keys and a value in the copyright field OK
Step5 OK
Follow the link to UserSpice -> Parse error: syntax error, unexpected 'DOCUMENT_ROOT' (T_STRING) in /var/www/vhosts/myhostname/core/init.php on line 10
At Line 7 find:
return $_SERVER['DOCUMENT_ROOT'].'
Change to:
return $_SERVER['DOCUMENT_ROOT'].
OK
Now CHMOD ./core/init.php to something safe like 0644
everything has gone good, but i get this error
Parse error: syntax error, unexpected 'var' (T_VAR) in /var/www/html/core/init.php on line 8
Parse error: syntax error, unexpected ''else{ ' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /var/www/html/core/init.php on line 29
now this
Parse error: syntax error, unexpected 'var' (T_VAR) in /var/www/html/core/init.php on line 8
back to this
There is at least one extra ' in your init.
Approx Line 8 find:
return $_SERVER[‘DOCUMENT_ROOT’].’
Change to:
return $_SERVER[‘DOCUMENT_ROOT’].
Check to see if this error is repeated further down the file too.