Hello,
I am currently running version osTicket v.1.10.4.:
osTicket Version v1.10.4 (035fd0a) — Up to date
Web Server Software Apache
MySQL Version 5.7.24
PHP Version 5.6.38-2+ubuntu16.04.1+deb.sury.org+1
I have built a separate server running osTicket v1.11.0-rc1:
osTicket Version v1.11.0-rc1 (e321982) — Up to date
Web Server Software Apache/2.4.18 (Ubuntu)
MySQL Version 5.7.24
PHP Version 5.6.39-1+ubuntu16.04.1+deb.sury.org+1
I have a bunch of 'Forms' built and need to migrate them to the new osTicket v1.11.0-rc1 server.
I've attempted to migrate the following tables:
- ost_form
- ost_form_entry
- ost_form_field
- ost_help_topic_form
- ost_list
- ost_list_items
After importing those, when I navigate to my osTicket website I get a "Error 500" from the webserver.
I check the logs and am confronted with the following error:
[Wed Jan 23 10:16:20.090339 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP Fatal error: Class name must be a valid object or a string in /var/www/html/osticket/upload/include/class.forms.php on line 1088, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090368 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP Stack trace:, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090377 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 1. {main}() /var/www/html/osticket/upload/scp/index.php:0, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090384 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 2. require() /var/www/html/osticket/upload/scp/index.php:17, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090391 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 3. CustomQueue->getQuery() /var/www/html/osticket/upload/scp/tickets.php:531, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090398 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 4. CustomQueue->getBasicQuery() /var/www/html/osticket/upload/include/class.queue.php:832, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090406 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 5. CustomQueue->mangleQuerySet() /var/www/html/osticket/upload/include/class.queue.php:819, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090413 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 6. CustomQueue->getSupportedMatches() /var/www/html/osticket/upload/include/class.queue.php:884, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090420 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 7. CustomQueue::getSearchableFields() /var/www/html/osticket/upload/include/class.queue.php:309, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090428 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 8. DynamicFormField->getImpl() /var/www/html/osticket/upload/include/class.queue.php:362, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090435 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 9. DynamicFormField->__call() /var/www/html/osticket/upload/include/class.queue.php:362, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090443 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 10. call_user_func_array:{/var/www/html/osticket/upload/include/class.dynamic_forms.php:600}() /var/www/html/osticket/upload/include/class.dynamic_forms.php:600, referer: http://ops.nhsocal.com/scp/forms.php?id=15
[Wed Jan 23 10:16:20.090450 2019] [:error] [pid 10557] [client 10.2.10.102:57986] PHP 11. FormField->getImpl() /var/www/html/osticket/upload/include/class.dynamic_forms.php:600, referer: http://ops.nhsocal.com/scp/forms.php?id=15
Not sure if this is due to code differences between the versions, or table naming schema differences.
Any help would be appreciated or any tips in importing "Form" related tables into the new database.