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
Comments
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:
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:
I can't see to see where the space would come from in the them es
------------------------------
i do stuff
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).
My Solution
Greetings from Nigeria!
I had the same problem, I had somehow not uploaded the themes folder and when I finally uploaded it, the engines folder did not go along with the upload. So, ensure the culprit is remanded in the Themes Folder. Check your Themes/engines folder!!!.
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.
--
Znajkraj
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).
Similar but different
I just updated (to Drupal 5.16) and got the same effects as noted above with the error:
include_once(./themes/engines/phptemplate/engines/phptemplate/phptemplate.engine) [function.include-once]: failed to open stream: No such file or directory in [sitename]/public_html/includes/theme.inc on line 79.
In my case, there was the repetition of folders within folders like Russian dolls: engines/phptemplate/engines/phptemplate.
So I created a new folder phptemplate within a new engines folder within the existing folder phptemplate and dumped a copy of phptemplate.engine in that sub-sub-sub-folder.
The problem has disappeared.
And if you accidentally
And if you accidentally delete the engines folder and put it back, you need to flush all caches for the page errors to go away (in 6.x, anyway)
THE SOLUTION IN DETAILS
Ladys and Gentleman I got the solution.
On the messages that appears, check it out the path of missing file and put it from your computer (localhost, back up, etc)
In my case I did an update of view module after that appears that advertices, so I just return that files from my computer and all work again.
I was very scared. Thanks