Who can help me with this ?
Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /home3/geertjep/public_html/includes/framework.php:21 Stack trace: #0 /home3/geertjep/public_html/index.php(22): require_once() #1 {main} thrown in /home3/geertjep/public_html/includes/framework.php on line 21
help with fatal error 'undefined function set_magic_quotes_runtime()' Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Mar 09, 2018 9:57 am
help with fatal error 'undefined function set_magic_quotes_runtime()'
Last edited by toivo on Fri Mar 16, 2018 5:39 pm, edited 1 time in total.
Reason: mod note: split from someone else's topic - please create your own topics in the future
Reason: mod note: split from someone else's topic - please create your own topics in the future
- toivo
- Joomla! Master
- Posts: 17424
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Sydney, Australia
Re: help with fatal error 'undefined function set_magic_quotes_runtime()'
Did your host upgrade PHP to version 7? The function set_magic_quotes_runtime was deprecated in PHP 5.3 and removed in PHP 7. Ref. http://php.net/manual/en/function.set-m ... untime.php
Joomla 1.5 had its EOL (End of Life) in 2012 and its third party extensions may also be vulnerable. Therefore it is best to start planning a migration to a supported version or rebuild the site using the latest, supported version of Joomla.
Joomla 1.5 had its EOL (End of Life) in 2012 and its third party extensions may also be vulnerable. Therefore it is best to start planning a migration to a supported version or rebuild the site using the latest, supported version of Joomla.
Toivo Talikka, Global Moderator
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Jun 26, 2019 5:52 am
Re: help with fatal error 'undefined function set_magic_quotes_runtime()'
Hello,
Hello I found this and wanted to see if there was a solution to get my site (Joomla 1.5) back online so I can start to transition to current version of Joomla. Error_log shows this:
PHP Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /xxxx/xxx/public_html/includes/framework.php:21 Stack trace: #0 /xxxx/xxx/public_html/index.php(22): require_once() #1 {main} thrown in /xxxx/xxxx/public_html/includes/framework.php on line 21
Line 21: @set_magic_quotes_runtime( 0 );
Line 22: require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
If anyone has a fix I would greatly appreciate it.
Thank you!
Hello I found this and wanted to see if there was a solution to get my site (Joomla 1.5) back online so I can start to transition to current version of Joomla. Error_log shows this:
PHP Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /xxxx/xxx/public_html/includes/framework.php:21 Stack trace: #0 /xxxx/xxx/public_html/index.php(22): require_once() #1 {main} thrown in /xxxx/xxxx/public_html/includes/framework.php on line 21
Line 21: @set_magic_quotes_runtime( 0 );
Line 22: require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' );
If anyone has a fix I would greatly appreciate it.
Thank you!
Last edited by phantomplayer on Wed Jun 26, 2019 7:06 am, edited 1 time in total.
- pe7er
- Joomla! Master
- Posts: 24974
- Joined: Thu Aug 18, 2005 8:55 pm
- Location: Nijmegen, Netherlands
- Contact:
Re: help with fatal error 'undefined function set_magic_quotes_runtime()'
Did your hosting company update the PHP version from 5.6 (or lower) to PHP 7.0 (or higher)?phantomplayer wrote: ↑Wed Jun 26, 2019 6:04 amPHP Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in /home4/xxx/public_html/includes/framework.php:21 Stack trace: #0 /xxxx/xxx/public_html/index.php(22): require_once() #1 {main} thrown in /xxxx/xxxx/public_html/includes/framework.php on line 21
Joomla 1.5 used the function set_magic_quotes_runtime, which is not available anymore in PHP 7.0 or higher.
Workaround: ask your hosting company to (temporary) switch the server to PHP 5.6.
Or install a webserver environment on your local server (using LAMP / XAMP / WAMP / MAMP or something else),
use FTP to copy the files from your server to the local enviroment,
and phpMyAdmin to create an SQL dump that you install in the database of your local enviroment,
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com
-
- Joomla! Fledgling
- Posts: 2
- Joined: Wed Jun 26, 2019 5:52 am
Re: help with fatal error 'undefined function set_magic_quotes_runtime()'
Hi pe7er,
I moved server to 5.6 and site is back now, but I'll start migrating over to current version of Joomla — Thank you!!
I moved server to 5.6 and site is back now, but I'll start migrating over to current version of Joomla — Thank you!!