Error: set_magic_quotes_runtime() is deprecated

  • veritas
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 8 months ago #7187 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:
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.

More
13 years 8 months ago - 13 years 8 months ago #7188 by pirossi
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:

set_magic_quotes_runtime(0);

with:

if(get_magic_quotes_runtime()){
set_magic_quotes_runtime(0);
}

Last edit: 13 years 8 months ago by pirossi.

Please Log in to join the conversation.

  • veritas
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 8 months ago #7190 by veritas
Thank you, Pirossi.

No, it doesn't work. I continue to have the same error.

Alonso

Please Log in to join the conversation.

  • veritas
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 8 months ago - 13 years 8 months ago #7191 by veritas
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

File Attachment:

File Name: tcpdf.zip
File Size:51 KB
Attachments:
Last edit: 13 years 8 months ago by veritas.

Please Log in to join the conversation.

Time to create page: 0.152 seconds
Powered by Kunena Forum