5
I’m working with PHP and I’m in the support part, but I’m not really familiar with the bug system. Is there any material I can read to help me?
My biggest problem is the following, many errors are written in the log in this way:
PHP Fatal error: require_once(): Failed opening required 'vc-icon-element.php' (include_path='.;C:\php\pear') in D:\home\site\wwwroot\wp-content\plugins\js_composer\config\conte on line 6
But it seems that the path is not complete and I do not know which file made the requisition of vc-icon-element.php
. How would I find out which file or page generated this log? It is normal not to get to a file .php
?
And that part:
in D:\home\site\wwwroot\wp-content\plugins\js_composer\config\conte on line 6
? In this case, it is this path that is incomplete?– Woss
exactly that, it shouldn’t go up a.php file??
– Kaue Alves
I believe so. This path has some special character?
– Woss
No special character
– Kaue Alves
And I don’t know if it’s my fault for not knowing how to identify the error, or if there’s something wrong with the settings of error_log
– Kaue Alves
If you have the project on your machine, you can do a search everywhere that references the
vc-icon-element.php
. But yes, it was for the log to appear complete– gmsantos
But there is no way to get the logs written with the full path ? pq this was one of the examples of errors that occur, there are others that do not even give the name of the file being requested
– Kaue Alves
@Kauealves you are reading this log as? in the terminal? in a text editor?
– Ricardo Moraleida
In a text editor, sublime.
– Kaue Alves
Not missing one between www and root? At the Ives
wwwroot
would not bewww\root
?– Neuber Oliveira
No, it’s the same folder name.
– Kaue Alves
Solvable - I’m guessing the line is Getting truncated - it shouldn’t, but Maybe there is a Setting in php.ini shoretning the default (the default should be 1024 bytes - ie, 1kB) - look here php.net/manual/en/... - junkfoodjunkie php.ini was wrong.
– Kaue Alves