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

Error Call undefined method TCPDF::SetAllowLocalFiles() #39

Open
SilvaFernando opened this issue Feb 1, 2023 · 12 comments
Open

Error Call undefined method TCPDF::SetAllowLocalFiles() #39

SilvaFernando opened this issue Feb 1, 2023 · 12 comments
Assignees
Labels
question Further information is requested

Comments

@SilvaFernando
Copy link

Hi, i'm using version 2.0.1, when i try print pdf this error occurred:
image

I'm using php 7.4 and GLPI 9.5.3, can you help-me, please?

@yllen
Copy link
Owner

yllen commented Feb 2, 2023

Is Tcpdf already present in your glpi?
This method is defined in the file glpi/vendor/tecnickcom/tcpdf/tcpdf.php

@yllen yllen self-assigned this Feb 2, 2023
@yllen yllen added the question Further information is requested label Feb 2, 2023
@sutyagin81
Copy link

Hello. Installed GLPI 10.0.6 plugin does not work. The plugin is installed but it is not displayed on the tab for printing. Help me please.

@yllen
Copy link
Owner

yllen commented Feb 13, 2023

@sutyagin81 it's not the same problem. Open your own issue

@SilvaFernando
Copy link
Author

@yllen, yes glpi/vendor/tecnickcom/tcpdf/tcpdf.php is on my environment:
image

@yllen
Copy link
Owner

yllen commented Mar 7, 2023

the owner of the tcpdf directory is not correct.
Only files directory must have apache as owner

@SilvaFernando
Copy link
Author

Hi @yllen.

What owner must on this folder?

@yllen
Copy link
Owner

yllen commented Mar 15, 2023

Same owner as other files in GLPI directory

@SilvaFernando
Copy link
Author

Hi @yllen.

Owner GLPI directory are same apache too.

@yllen
Copy link
Owner

yllen commented Mar 17, 2023

can you past result of df command glpi directory (recursively)?

@yllen
Copy link
Owner

yllen commented Mar 17, 2023

in file glpi/vendor/tecnickcom/tcpdf/tcpdf.php have you the function SetAllowLocalFiles (line 2975)?
I don't have the same version of Tcpdf as you

@SilvaFernando
Copy link
Author

Hi @yllen.

I will verify, what version do you use? Can you send me, please?

BR.
Fernando Dias

@yllen
Copy link
Owner

yllen commented Nov 7, 2023

I have the lastest version of 9.5 with tcpdf version 6.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants