- Posts: 17
- Thank you received: 0
Error: set_magic_quotes_runtime() is deprecated
14 years 7 months ago #7187
by veritas
Error: set_magic_quotes_runtime() is deprecated was created by veritas
Hello,
I used “hot_skies_hotstart” for instalattion and I get this error when I try to create a pdf with the pdf button:
any solution?
Thank you,
Alonso
I used “hot_skies_hotstart” for instalattion and I get this error when I try to create a pdf with the pdf button:
Code:
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/takizy/libraries/tcpdf/tcpdf.php on line 2814
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/takizy/libraries/tcpdf/tcpdf.php on line 2833
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/takizy/libraries/tcpdf/tcpdf.php on line 2814
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/takizy/libraries/tcpdf/tcpdf.php on line 2833
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/takizy/libraries/tcpdf/tcpdf.php on line 3236
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/www/users/takizy/libraries/tcpdf/tcpdf.php on line 3274
any solution?
Thank you,
Alonso
Please Log in to join the conversation.
14 years 7 months ago - 14 years 7 months ago #7188
by pirossi
Replied by pirossi on topic Re: Error: set_magic_quotes_runtime() is deprecated
It is not the issue with our template.
It's a Joomla bug.
But you could try this:
1)backup \libraries\tcpdf\tcpdf.php
2) inside that file, replace line:
It's a Joomla bug.
But you could try this:
1)backup \libraries\tcpdf\tcpdf.php
2) inside that file, replace line:
with:set_magic_quotes_runtime(0);
if(get_magic_quotes_runtime()){
set_magic_quotes_runtime(0);
}
Last edit: 14 years 7 months ago by pirossi.
Please Log in to join the conversation.
14 years 7 months ago #7190
by veritas
Replied by veritas on topic Re: Error: set_magic_quotes_runtime() is deprecated
Thank you, Pirossi.
No, it doesn't work. I continue to have the same error.
Alonso
No, it doesn't work. I continue to have the same error.
Alonso
Please Log in to join the conversation.
14 years 7 months ago - 14 years 7 months ago #7191
by veritas
Replied by veritas on topic Re: Error: set_magic_quotes_runtime() is deprecated
I got the attached php file from the joomla site and now it works.
It seems that it was a bit more to it because the attached file is a bit bigger than the one I had.
Thanks.
Alonso
It seems that it was a bit more to it because the attached file is a bit bigger than the one I had.
Thanks.
Alonso
Last edit: 14 years 7 months ago by veritas.
Please Log in to join the conversation.
Time to create page: 0.329 seconds