The following warnings occurred: | ||||||||||||||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Fresh userspice install - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Documentation (https://userspice.com/forums/forumdisplay.php?fid=30) +--- Thread: Fresh userspice install (/showthread.php?tid=109) |
Fresh userspice install - astropos - 03-30-2016 ahh, what version of PHP is available to you on that VPS? php5 --version Fresh userspice install - mudmin - 03-30-2016 My VM experiment didn't go well at the office. I may try again tonight at home. Fresh userspice install - rbfritz - 03-30-2016 ok, what files do i need to edit? they are different from the video Fresh userspice install - mudmin - 04-01-2016 @astropos I think this question is for you. Fresh userspice install - astropos - 04-01-2016 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 Fresh userspice install - rbfritz - 04-02-2016 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 Fresh userspice install - rbfritz - 04-02-2016 Parse error: syntax error, unexpected ''else{ ' (T_CONSTANT_ENCAPSED_STRING), expecting ')' in /var/www/html/core/init.php on line 29 now this Fresh userspice install - rbfritz - 04-02-2016 Parse error: syntax error, unexpected 'var' (T_VAR) in /var/www/html/core/init.php on line 8 back to this Fresh userspice install - rbfritz - 04-02-2016 <pre> Code: <?php Fresh userspice install - astropos - 04-02-2016 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. |