PHPTAL 4.7.0 Error [function.include-once]: failed to open stream
I had downloaded, then uploaded to my site into the Theme/Engines/phptal directory. But now every page only shows the center content and has the following error message at the top of every page.
warning: include_once(./themes/engines/phptemplate/phptemplate.engine) [function.include-once]: failed to open stream: No such file or directory in /usr/home/theradic/public_html/site/includes/theme.inc on line 78.
warning: include_once() [function.include]: Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/theradic/public_html/site/includes/theme.inc on line 78.
I have searched for this error, but could not find a solution.
Please help! I am not quite sure what to do to fix this problem.
Thank you,
desettle

HELP
I have the same problem, but there are no comments on this problem? What should we do? By the way the problem appeared after several weeks of using Drupal.
Saludos,
Daniel
PS: the warning
* warning: include_once(./themes/engines/phptemplate/phptemplate.engine) [function.include-once]: failed to open stream: No such file or directory in C:\Archivos de programa\xampp\htdocs\drupal\includes\theme.inc on line 78.
* warning: include_once() [function.include]: Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.;C:\Archivos de programa\xampp\php\pear\') in C:\Archivos de programa\xampp\htdocs\drupal\includes\theme.inc on line 78.
I don't have a solution to
I don't have a solution to this, but I just downloaded a fresh copy 4.7.4 from CVS and had the same problem. I did an install of the 5.0RC1 and did not have any install problems.
Two errors I'm getting:
* warning: init_theme(./them es/engines/phptemplate/phptemplate.engine) [function.init-theme]: failed to open stream: No such file or directory in /home/.iscariot/myusername/mydomain.com/drupal/includes/theme.inc on line 78.* warning: init_theme() [function.include]: Failed opening './them es/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/usr/local/lib/php') in /home/.iscariot/myusername/mydomain.com/drupal/includes/theme.inc on line 78.
If you notice right after the
init_theme(.my them es has a space, so does the next error. I'm assuming this is the problem. The issue is I can't figure out where it comes from in the theme.inc file.The 78th line is:
include_once './' . $themes[$theme]->description;I can't see to see where the space would come from in the them es
Maybe from the system table
Maybe from the system table in the database.
I found the solution
I erase a not needed theme for the themes order. I put them back into the order and everything worked well.
Saludos,
Daniel
i had this problem, too and
i had this problem, too and i discovered that my 'engines' directory (inside 'themes' directory) had been mysteriously renamed to 'themes'. i changed it back to 'engines' and the problem disappeared.
I have the same error
I have the same error message but no directory has been renamed on my system. Other thoughts on this?
Solution (?)
I believe that this problem has been solved in my situation. I believe it had nothing to do with Drupal and everything to do with the company that hosts the site: There were too many open files! Upon my request, they increased the limit from 1024 to 2048, and the problem seems to have gone away. (Knock wood, keep fingers crossed.)
Hope this (possible) solution helps somebody in the future.
UPDATE: Well, now I'm actually quite certain that it was the "Devel" module that caused the original problem in my situation. When that module is enabled, the problem occurs. When that module is turned off, the problem disappears. This is 100% repeatable (now that the host has increased the number of open files).
Could you provide more
Could you provide more details, Daniel? Thanks!
Do not delete 'engines' directory
The error is because you have deleted 'engines' subdirectory from 'themes' directory. Put it back and all will work fine.
Szy.
Not so fast... I am having
Not so fast...
I am having the exact same error, but I most definitely have not deleted the engines directory.
I only get the error when I visit admin/logs/settings, not when I visit the hundreds of other parts of my site.
Thoughts?
See above
See http://drupal.org/node/86323#comment-789569 (above) for what seems to have fixed it in my situation.
Looks like this type of error has occurred many times for many people, and there are at least three or four different possible causes (and thus solutions).