Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Depracated Magic Quotes keeping app from #546

Closed
masantiago-wpi opened this issue Sep 7, 2020 · 4 comments · Fixed by #578
Closed

Depracated Magic Quotes keeping app from #546

masantiago-wpi opened this issue Sep 7, 2020 · 4 comments · Fixed by #578
Assignees
Milestone

Comments

@masantiago-wpi
Copy link

Users in Canvas trying to access our UDOIT install are now getting this:
Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/www/html/UDOIT-2.2.0/lib/ims-blti/OAuth.php on line 230

I've been googling around this morning and at least one of the simpler to understand solutions (comment out any reference to the function) does not make things any better. This was working fine at this version and there hasn't been any changes to our php version (which is soon coming since we're on 7.1.3). Basically it worked at the end of spring term and now it's giving us this.

I'm sure it's something basic i've missed. i'll keep looking but as i'm getting questions now, i figured i'd post this to see if anyone else recognizes.

@bagofarms
Copy link
Member

I'm thinking your server has been upgraded to PHP 7.4, because this function wasn't deprecated until 7.4.0. Could you confirm your server's PHP version?

@masantiago-wpi
Copy link
Author

Hi, yes you're exactly right. I ended up finding that last night. It's a shared server and looks like it had been updated. This was also one of those things where the error the users saw on screen wasn't what was fully breaking the tool. I ended up needing to install a few missing php extensions after it was upgraded. It's working now. Will that deprecated function be an issue? Because of the shared space, i'm not sure i can downgrade to 7.3.

@bagofarms
Copy link
Member

Glad to hear you got to the bottom of it! The deprecated function won't be a problem for now, but I'm aiming for PHP 7.4 support before CanvasCon, so you shouldn't have to worry about it for too long.

@bagofarms bagofarms added this to the v2.7.0 milestone Sep 8, 2020
@bagofarms bagofarms modified the milestones: v2.7.0, v2.7.1, v2.8.0 Oct 16, 2020
@bagofarms
Copy link
Member

Related to #526

@AlanFCMV AlanFCMV linked a pull request May 27, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants