Installation Error

135 views
Skip to first unread message

Shiva Shankar Mahato

unread,
May 6, 2021, 7:47:16 AM5/6/21
to SubjectsPlus
Hi All,

I am new to Subjectplus and facing issue with installation in Ubuntu 20 and PHP 8.0. 

Screen freezes after I am selecting Install.

error.log contains : [Thu May 06 14:23:20.854188 2021] [php:error] [pid 1888] [client ::1:39726] PHP Fatal error:  Uncaught Error: Call to undefined function get_magic_quotes_gpc() in /var/www/html/subjectplus/control/includes/functions.php:499\nStack trace:\n#0 /var/www/html/subjectplus/lib/SubjectsPlus/Control/Installer.php(30): scrubData()\n#1 /var/www/html/subjectplus/control/install.php(143): SubjectsPlus\\Control\\Installer->__construct()\n#2 {main}\n  thrown in /var/www/html/subjectplus/control/includes/functions.php on line 499, referer: http://localhost/subjectplus/control/install.php

Screenshot Attached.


Can someone guide me on this? 
Screenshot from 2021-05-06 14-39-17.png

charlesbr...@gmail.com

unread,
May 6, 2021, 3:04:55 PM5/6/21
to SubjectsPlus
Hello,

As of now, unfortunately, SubjectsPlus doesn't support PHP 8. We are in the process of refactoring SubjectsPlus to work with PHP 7.4. get_magic_quotes_gpc()  has been deprecated as of 7.4. It would be great if you could create a branch and factor out the offending functions. If not, I totally understand, but I cannot give you a firm timeline as to when SP will be compatible with PHP 8.

Jason Boyer

unread,
May 7, 2021, 8:42:07 AM5/7/21
to subjec...@googlegroups.com
Hi Shiva, 4.5.2 needs some patches to work properly on PHP7+ (I’m not certain it has been tested with 8 at all yet) To get past the get_magic_quotes_gpc error you need to at least apply this pull request branch from their GitHub: https://github.com/subjectsplus/SubjectsPlus/pull/1477

Jason

-- 
Jason Boyer
Senior System Administrator
Equinox Open Library Initiative
JBo...@equinoxOLI.org
+1 (877) Open-ILS (673-6457)
https://equinoxOLI.org/

--
You received this message because you are subscribed to the Google Groups "SubjectsPlus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subjectsplus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subjectsplus/1d26165c-bd04-4d4d-a1d4-647aed461dfdn%40googlegroups.com.
<Screenshot from 2021-05-06 14-39-17.png>

Reply all
Reply to author
Forward
0 new messages