Originally created by: ovrdrvn
Running latest pull from here with:
Apache | 2.2.34
PHP | 7.0.33
MySQL | 5.6.41-84.1
Perl | 5.26.0
Get these errors at login page:
Warning: Declaration of AssignmentForm::render($options) should be compatible with Form::render($staff = true, $title = false, $options = Array) in /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php on line 4401
Warning: Declaration of TransferForm::render($options) should be compatible with Form::render($staff = true, $title = false, $options = Array) in /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php on line 4521
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php:4401) in /home2/pcninon3/public_html/helpdesk/osTicket/include/class.ostsession.php on line 86
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php:4401) in /home2/pcninon3/public_html/helpdesk/osTicket/include/class.ostsession.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php:4401) in /home2/pcninon3/public_html/helpdesk/osTicket/include/client/header.inc.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php:4401) in /home2/pcninon3/public_html/helpdesk/osTicket/include/client/header.inc.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at /home2/pcninon3/public_html/helpdesk/osTicket/include/class.forms.php:4401) in /home2/pcninon3/public_html/helpdesk/osTicket/include/client/header.inc.php on line 13
Originally posted by: JediKev
@ovrdrvn
Yea you using the wrong branch or something...what branch did you pull from?
Also, what version of osTicket are you using?
Cheers.
Originally posted by: ovrdrvn
I ran this:
git clone https://github.com/osTicket/osTicket
Originally posted by: JediKev
@ovrdrvn
So by default you'll be using
developbranch which is the1.10.xseries which supports up to PHP 7 but some installs of PHP 7 throw those warnings. The latest stable release is v1.11 which is thedevelop-nextbranch with up to PHP 7.2 support which do not throw those errors.I would suggest using the package from our website as our branches are different than most repos. I would also suggest using v1.11 if you're going to use PHP 7+.
Cheers.
Originally posted by: ovrdrvn
@JediKev I was able to download it locally and upload it to the server. As I can't run setup, I suspect there is a permissions issue but can't find what the permission of the directory/files needs to be. I get a 403 permission denied error upon trying to browse setup.
Originally posted by: ntozier
Check the file permissions on the files in the web dir. Make sure they are owned by the correct user, and have good permissions.
Originally posted by: JediKev
@ovrdrvn
I've mentioned this on many, many, many threads but I'll mention it here, again.
We have a bug/issue with our website where the permissions are removed on the files (but strangely not the directories) in the download. All you need to do is run the following commands and you should be fine:
Cheers.
Originally posted by: ntozier
As a side note... the www-data.www-data should be customized for your installation. While this is the standard user an some OSes it is not the standard for all. (especially if you have a hosted site then it would likely be username.username).
Originally posted by: ovrdrvn
Awesome! That issue is solved but now I have a 500 error when running: osTicket/setup/install.php
Originally posted by: JediKev
@ovrdrvn
Need errors from Apache/PHP error logs.
Cheers.
Originally posted by: ovrdrvn
i was able to get it going. Other than the 2 performance extensions (asked the host and waiting to see if they will install them as they claim to support osTicket via one click install). Thank you for the guidance!
Originally posted by: ovrdrvn
@JediKev So far loving this. As we installed it in our domain in the default osTicket directory so this is the base installation, if we take the entire contents of that folder and put it in the directory above and set our URL to https://ourdomain.com should we be able to avoid the current https://ourdomain.com/osTicket?
Originally posted by: JediKev
@ovrdrvn
Yes, precisely.
Cheers.