Hello,
after i upgraded my Drupal to 6.16 i get errors like this when i enable Devel with Theme developer:
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/html/drupal6/modules/devel/devel_themer.module on line 382.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/drupal6/modules/devel/devel_themer.module on line 382.

# warning: include_once(filefield_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/html/drupal6/modules/devel/devel_themer.module on line 382.
# warning: include_once() [function.include]: Failed opening 'filefield_formatter.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/drupal6/modules/devel/devel_themer.module on line 382.

I suspect there was something changed in Drupal 6.16 that messed Devel's file inclusion.

Regards.

Comments

lordzik’s picture

ps errors are gone when i rollback to Drupal 6.15 or disable Theme developer

stephenhendry’s picture

I can recreate this problem with a clean install of Drupal 6.16 and the latest stable release Theme Developer.

FreddieK’s picture

+1 one for that.

szazo82’s picture

subscribing

Cousken’s picture

I have the same issue. As far as i have noticed this does not disturb the sites functionality.

moshe weitzman’s picture

Project: Devel » Theme developer
Version: 6.x-1.18 » 6.x-1.x-dev
Component: devel » Code

no longer part of devel.

shiva7663’s picture

subscribing

tim.plunkett’s picture

Status: Active » Needs review
StatusFileSize
new719 bytes

It seems that when certain files don't have $info['path'], they do happen to have a valid $info['theme path'].
I added a check which seems to solve the problem.

tim.plunkett’s picture

After further research, I think #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme is what caused this error, or more accurately, exposed a pre-existing error.

I don't fully understand the implications of the changes to _theme_process_registry(), but my guess is that my patch is a convenient hack, not a real solution.

Anyone care to weigh in on this one?

DigitalWheelie’s picture

I get this:
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 394.

(I'm on a Mac, if that matters, and I'm new to patches...)

omcateer’s picture

subscribing

Jerome F’s picture

subscribing

jimmi61’s picture

subscribing

eelkeblok’s picture

@#9: This does seem to be the issue. I created another report on this issue, also unaware of the fact that theme developer is a separate project. #732996: Warnings about failed includes after updating to Drupal 6.16

Here's my initial report:

After updating to Drupal 6.16, devel_themer is throwing warnings about calls to include_once on line 380:

# warning: include_once(ad_image.module) [function.include-once]: failed to open stream: No such file or directory in C:\Data\Project\mscn4\code\sites\all\modules\devel\devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'ad_image.module' for inclusion (include_path='.;C:\Program Files\PHP\pear') in C:\Data\Project\mscn4\code\sites\all\modules\devel\devel_themer.module on line 380.

and

# warning: include_once(imagefield_formatter.inc) [function.include-once]: failed to open stream: No such file or directory in C:\Data\Project\mscn4\code\sites\all\modules\devel\devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'imagefield_formatter.inc' for inclusion (include_path='.;C:\Program Files\PHP\pear') in C:\Data\Project\mscn4\code\sites\all\modules\devel\devel_themer.module on line 380.

It appears this is because hooks defined in these modules do not include the path item in the hook info, while the reported line 380 in devel_themer.module does an include_once does an include on either a contatenation of the path item and the file item (in case the path item is present) or just the file item. Prior to Drupal 6.16, this worked because _theme_process_registry was altering the file item so that it would include the complete path after _theme_process_registry was called. Since 6.16, this is no longer the case, causing devel_themer.module to try and do an include_once on just the file item, resulting in the mentioned warnings.

Maybe I'm overlooking something, and I am unsure if devel_themer is at fault here or not. Curious to hear what the experts say.

Evariste-1’s picture

subscribing

aleksey.tk’s picture

same for me, what an unexpected behaviour :(

VincentBlouin’s picture

subscribing

tim.plunkett’s picture

@slowx I'm on a mac as well. are you sure you're using 6.x-1.x-dev? and that you're patching against devel_themer, not devel?

@eelkeblok did you try the patch?

vosechu’s picture

Patch worked for me on my mac. Using dev version.

tribe_of_dan’s picture

Subscribing. This happened to me also after the upgrade to 6.16.

I thought installing the seperate Theme Developer module would help but no. No the problem is on line 397 for me.

So how does one apply a patch? Did it work for anyone? I'm on a Mac but host is dreamhost.

tim.plunkett’s picture

@tribe_of_dan if you're at all familiar with the command line, then it's relatively simple. ssh into your server, cd into sites/all/modules/devel_themer, wget http://drupal.org/files/issues/devel_themer_732420.patch, then patch -p0 < devel_themer_732420.patch.
if you're doing this over ftp, then i guess you could apply the patch in terminal locally and upload it?

To get the thread back on track, can anyone speak to the validity of my patch? Obviously it works, but it seems like there is a bigger underlying issue here, namely that _theme_process_registry() should probably provide proper paths, and not force contrib modules to check for both $info['path'] AND $info['theme path']...

rfay’s picture

You asked people from #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme to visit here...

Had you looked at #23 over there? It looks to me like it's probably the same issue. The theme registry is recreated in devel, so needs that fix.

tocamelo’s picture

Subscribing.

Patch worked, also on a Mac.

Devel 6.x-1.18
Drupal 6.16

tribe_of_dan’s picture

Thanks so much Tim, it worked! :)

Bobuido’s picture

Subscribing

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.43 KB

I knew my patch was a cheap hack!
Thanks to sp3boy, here is (afaics) the correct way to solve this issue.
This is his patch, just rerolled against devel_themer instead of devel.

(to anyone who applied my previous patch, reverse that one first, then apply this new one.)

sp3boy’s picture

Status: Reviewed & tested by the community » Needs review

Having been involved with #591804: Theme registry build bug: External file with template_preprocess is not loaded if tpl.php is copied into theme I raised #731252: Theme registry build bug: apply fix similar to that done to theme.inc with a tested patch for this issue. Please see that issue and hopefully the patch will bring devel_themer into line with core D6.16.

Apologies if #731252: Theme registry build bug: apply fix similar to that done to theme.inc wasn't available at the time this issue was raised.

[Edit] Ah, I've been beaten to the punch as it were. Thanks and possibly more apologies.

sp3boy’s picture

Status: Needs review » Reviewed & tested by the community

Darn, I didn't realise my last comment would revert the status. As you were!

I guess #731252: Theme registry build bug: apply fix similar to that done to theme.inc could be marked as a duplicate?

mths’s picture

patch #26 worked for me. Thanks, tim.plunkett
subscribe

jejk’s picture

subscribe

rgracia’s picture

Subscribe.

ahimsauzi’s picture

subscribing

Cousken’s picture

The first hack/patch worked for me. Is there any need for me to reinstal Themer and apply the 'proper' patch, do you think?

carsonblack’s picture

subscribing

lancesmithdesign’s picture

subscribing

ldvldv’s picture

Sorry I am a little new, how do I apply the patch to the devel_themer.module?

jimmi61’s picture

Patch 26 did not worked. After applying is there anything else to do?

Thanks

chocopop’s picture

Patch #26 did not work at first. I had not installed the separate Theme Developer module, so here is my experience.

I patched the devel_themer.module file in sites/all/modules/devel/ but it did not work. I had not downloaded the Theme Developer module, which is now a separate project.

So I reinstalled both modules: Devel 6-x 1.18 and Theme Developer 6x-1.x dev. As both directories contain a devel_themer.module file, I patched both files.

I don't think it's the best way (the differences between the two modules and the way Drupal uses them is not clear to me), but it works.

@ldvldv :some useful documents:
- how to apply a patch : http://drupal.org/node/620014
- how to reverse a patch if necessary : http://drupal.org/patch/reverse
- how to install CYGwin software to apply patches : http://drupal.org/node/181837 (video tutorial)

drupjab’s picture

subscribing

fpr’s picture

Just patched both files like #38.

That`s weird - do we need 2x devel_themer.module?

blasthaus’s picture

followed #38, errors cleared. but still puzzled how Theme Developer as a separate module gets enabled since there is only one module name/checkbox which seems to be the one packaged with devel.

tim.plunkett’s picture

devel 6.x-1.x-dev does not include devel_themer

t.lan’s picture

Subscribe - #38 is working (even on the 1.18 with included Theme Developer)

drupert55’s picture

Subscribing

Hobbes-2’s picture

subscribing

webdesyne’s picture

Can someone PLEASE help me?

I've tried the patch from post #26 above, first to the module DEVEL. That didn't work.

Then, I followed, to the letter, post #38. I installed Theme Developer and a new reinstall of Devel. Patched both.

The patches didn't work this time either.

This is the error below.

I'm on a hosted site, so I'm having to go through tech support to do the patches. I was told they followed the instructions of post #38 exactly.

These are the server stats:
Linux
Apache version 2.0.63
PHP version 5.2.9
MySQL version 4.1.22-standard
Theme x3
Kernel version 2.6.9-67.0.1.ELsmp

Can someone please help? I'm in the middle of a Drupal course and the Devel module is a requirement.

Other than not being able to use this module for the training, the site is working.

Thank you very much,
elizabeth

cp3:/home/hightowe/public_html/sites/all/modules/devel_themer# ls -al total 112 drwxr-xr-x 2 hightowe hightowe 4096 Mar 10 18:59 ./ drwxr-xr-x 5 hightowe hightowe 4096 Mar 10 12:20 ../
-rw-r--r-- 1 hightowe hightowe 1462 Mar 10 12:21 devel_themer_732420-26.patch
-rw-r--r-- 1 hightowe hightowe 2957 Mar 10 12:20 devel_themer.css
-rw-r--r-- 1 hightowe hightowe 153 Mar 10 12:20 devel_themer_ie_fix.css
-rw-r--r-- 1 hightowe hightowe 385 Mar 10 12:20 devel_themer.info
-rw-r--r-- 1 hightowe hightowe 1129 Mar 10 12:20 devel_themer.install
-rw-r--r-- 1 hightowe hightowe 8776 Mar 10 12:20 devel_themer.js
-rw-r--r-- 1 root root 23797 Mar 10 18:59 devel_themer.module
-rw-r--r-- 1 hightowe hightowe 23797 Mar 10 12:20 devel_themer.module.orig
-rw-r--r-- 1 root root 1487 Mar 10 18:59 devel_themer.module.rej
-rw-r--r-- 1 hightowe hightowe 14940 Mar 10 12:20 LICENSE.txt
-rw-r--r-- 1 hightowe hightowe 283 Mar 10 12:20 themer-bar.png
cp3:/home/hightowe/public_html/sites/all/modules/devel_themer# patch -b < devel_themer_732420-26.patch patching file devel_themer.module Hunk #1 FAILED at 389.
1 out of 1 hunk FAILED -- saving rejects to file devel_themer.module.rej cp3:/home/hightowe/public_html/sites/all/modules/devel_themer[1]#

cp3:/home/hightowe/public_html/sites/all/modules/devel# ls -al total 316 drwxr-xr-x 6 hightowe hightowe 4096 Mar 10 12:21 ./ drwxr-xr-x 5 hightowe hightowe 4096 Mar 10 12:20 ../
-rw-r--r-- 1 hightowe hightowe 1328 Mar 10 12:19 devel.css
-rw-r--r-- 1 hightowe hightowe 2018 Mar 10 12:19 devel_generate_batch.inc
-rw-r--r-- 1 hightowe hightowe 4728 Mar 10 12:19 devel_generate.drush.inc
-rw-r--r-- 1 hightowe hightowe 17077 Mar 10 12:19 devel_generate.inc
-rw-r--r-- 1 hightowe hightowe 346 Mar 10 12:19 devel_generate.info
-rw-r--r-- 1 hightowe hightowe 7541 Mar 10 12:19 devel_generate.module
-rw-r--r-- 1 hightowe hightowe 355 Mar 10 12:19 devel.info
-rw-r--r-- 1 hightowe hightowe 5477 Mar 10 12:19 devel.install
-rw-r--r-- 1 hightowe hightowe 67615 Mar 10 12:19 devel.module
-rw-r--r-- 1 hightowe hightowe 371 Mar 10 12:19 devel_node_access.info
-rw-r--r-- 1 hightowe hightowe 399 Mar 10 12:19 devel_node_access.install
-rw-r--r-- 1 hightowe hightowe 37311 Mar 10 12:19 devel_node_access.module
-rw-r--r-- 1 hightowe hightowe 172 Mar 10 12:19 devel-rtl.css
-rw-r--r-- 1 hightowe hightowe 1462 Mar 10 12:21 devel_themer_732420-26.patch
-rw-r--r-- 1 hightowe hightowe 2957 Mar 10 12:19 devel_themer.css
-rw-r--r-- 1 hightowe hightowe 153 Mar 10 12:19 devel_themer_ie_fix.css
-rw-r--r-- 1 hightowe hightowe 375 Mar 10 12:19 devel_themer.info
-rw-r--r-- 1 hightowe hightowe 1101 Mar 10 12:19 devel_themer.install
-rw-r--r-- 1 hightowe hightowe 8776 Mar 10 12:19 devel_themer.js
-rw-r--r-- 1 hightowe hightowe 22299 Mar 10 12:19 devel_themer.module drwxr-xr-x 2 hightowe hightowe 4096 Mar 10 12:19 generate/ drwxr-xr-x 4 hightowe hightowe 4096 Mar 10 12:20 krumo/
-rw-r--r-- 1 hightowe hightowe 14940 Mar 10 12:20 LICENSE.txt
-rw-r--r-- 1 hightowe hightowe 673 Mar 10 12:20 loader-little.gif
drwxr-xr-x 2 hightowe hightowe 4096 Mar 10 12:20 performance/
-rw-r--r-- 1 hightowe hightowe 1919 Mar 10 12:20 README_devel_node_access.txt
-rw-r--r-- 1 hightowe hightowe 2082 Mar 10 12:20 README.txt
-rw-r--r-- 1 hightowe hightowe 283 Mar 10 12:20 themer-bar.png
drwxr-xr-x 2 hightowe hightowe 4096 Mar 10 12:20 translations/
-rw-r--r-- 1 hightowe hightowe 5450 Mar 10 12:20 ui.draggable.js
-rw-r--r-- 1 hightowe hightowe 9153 Mar 10 12:20 ui.mouse.js cp3:/home/hightowe/public_html/sites/all/modules/devel# patch -b < devel_themer_732420-26.patch patching file devel_themer.module Hunk #1 FAILED at 389.
1 out of 1 hunk FAILED -- saving rejects to file devel_themer.module.rej cp3:/home/hightowe/public_html/sites/all/modules/devel[1]#

fpr’s picture

jeff veit’s picture

I can confirm that applying #26 by hand against the current (non dev version/not head version) of devel_themer.module worked for me.

Of course the line numbers are different - start at 380 - but the code hasn't changed and this fix is localised.

SB’s picture

Subscribing

rgracia’s picture

How is all this patching business more convenient for anyone than updating the module on Drupal and making it available so we all upgrade?

drupert55’s picture

EDIT: drupert55 removed -

ibot’s picture

Thanks for the patch @ https://drupal.org/node/591804#comment-2287632 , it works for me & solves this problem.

phpberlin’s picture

subscribing

tim.plunkett’s picture

@rgracia no one said it was convenient, but it IS labeled as an unstable dev version, so patches are common until effulgentsia has time to commit it.

unless someone wants to offer to co-maintain.

ChrisRut’s picture

subscribing

rgracia’s picture

StatusFileSize
new32.72 KB

I just noticed that enabling this module after patching it introduces a bug in the display of section headers for the permissions page table - it shows code rather than rendered HTML, see image attached.

ObiWasabi’s picture

I getting: "patch unexpectedly ends in middle of line
Hunk #1 FAILED at 394." from Terminal in OSX

Would someone post a patched system.admin.inc file? Or
instructions on patching manually, as the line numbers
in the file and the numbers from patch in post #26 differ.

tim.plunkett’s picture

Status: Reviewed & tested by the community » Needs review

The patch I posted at #26 is against devel_themer.module 1.1.2.9, which is what the relevant version the module.
Which version of the module are you using?

@ObiWasabi what version are you using? if it's not the most recent version, then apply the patch yourself.
also, what does system.admin.inc have to do with it? i don't think the issue is there, and i don't hack core.

@rgracia, I haven't gotten around to checking that out, because i have no reason to be on the permissions page while devel_themer is enabled. I also have no idea how to approach that, any help?
I've seen it happen in other circumstances, and I'm not sure that it's worth holding up this patch. It seems to occur when theme() calls are inside markup.

I'm marking this back as needs review, even though all the complaints seem like people having issues with apply patches. Can someone attest to the validity of the patch?

sickhippie’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new7.22 KB

@tim.plunkett, I was just running into this issue. I turned off Theme Developer in the module list, deleted the devel_themer files from Devel (to avoid double modules), uploaded the latest devel_themer. Ran patch via new install of Cygwin without any errors and uploaded the resulting devel_themer.module. It works beautifully. There are no more errors on the admin pages.

Moving back to reviewed and tested. Also uploading the patched devel_themer.module for those who are having trouble patching. Just unzip this and upload after backing up your current file and you should be good to go.

effulgentsia’s picture

Status: Reviewed & tested by the community » Fixed

Committed #26 to CVS. Thanks!

tsssystems’s picture

@sickhippie: Thanks for the zipped file. I have problems using Cygwin to patch a lot of files, don't know why. Your zipped devel_themer.module worked perfectly.I didn't even have to turn off modules, just copied the file into the sites\all\modules\devel directory. BTW, had this problem using both theme developer included in 6.x-1.18 and the newer 6.x-1.x-dev version of theme developer on fresh install of Drupal 6.16.

sickhippie’s picture

Glad I could help - I still have issues with patch, but I don't have to use it very often. I know this is a kind of roundabout way of doing things, but here's what I did. I put devel_themer.module and devel_themer_732420-26.patch into my cygwin home directory. In cygwin bash ran patch -p0 < devel_themer_732420-26.patch. Then copied the .module file back out. Basically, I dumbed it down for myself so I couldn't screw it up! I generally try to make things needlessly complicated, so when there's trouble I simplify it back down and see if the problem is PEBKAC or not.

cjscullyca’s picture

I just downloaded and installed devel_themer-6.x-1.x-dev dated 2010-Mar-16 and devel-6.x-1.19 (2010-Mar-19).

When I activated the modules I got the following error:

* warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
* warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.

So, it doesn't seem to be completely fixed...

The module seems to work despite throwing this error.

Also, I don't know if this is related but when I navigated to the home page of the site I'm working on, I got the following error message.

warning: file_get_contents(/tmp/devel_themer_16681469494ba56aac95663) [function.file-get-contents]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 52.

rfay’s picture

@cjscullyca, I imagine you cleared your cache completely, but if you didn't, you will certainly have this. Make sure to rebuild the theme registry (and everything else).

rtandon’s picture

@sickhippie: Thanks for the patched module file in the zip. It worked for me too. So far no issues.

cjscullyca’s picture

@rfay, Yes I cleared the cache. Just did it again for good measure. Just now, after clearing the cache I go to mydomain.com/admin and get all this:

# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once(system.admin.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.
# warning: include_once() [function.include]: Failed opening 'system.admin.inc' for inclusion (include_path='/var/www/drupal/sites/all/modules/htmlpurifier/library:.:/usr/share/php:/usr/share/pear') in /var/www/drupal/sites/all/modules/devel/devel_themer.module on line 380.

When I saw that my first thought was that maybe permissions got messed up on the system module when I upgraded to 6.16 but the rest of the site is functioning correctly without throwing errors. A quick check of permissions found everything to be as it should be.

Am I correct in my understanding that since #26 was committed to CVS, I do not need to install the patch if I downloaded and installed it after that date?

sickhippie’s picture

Try using the zip I uploaded and see if your issues are still there? You seem to be throwing a LOT more errors than anyone else here had, so perhaps your issues are running deeper...

Also, be sure to delete the devel_themer module from the devel folder if it's there - devel themer was still included with that module through 6.x-1.18.

zebadix’s picture

I had similar problems and found that the version of devel I had still had themer files still in the module,

so i got the latest version of devel (which doesn't have it in) and reinstalled,

The got the themer module separate and all worked fine,

zeb

cjscullyca’s picture

OK. I see what happened, I installed the update for the latest version of the devel module without deleting the folder, which meant that the devel_themer files remained in the folder. Drupal picked up that version of devel_themer not the new one. Everything is working fine now that I deleted the devel folder and reinstalled the new one.

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bmnic’s picture

subscribe, at least until I have a chance to re-read and apply ...

eff_shaped’s picture

subscribe

_Lex’s picture

Thanks, Tim, it's work

nicl’s picture

I did this too.

In firezilla (what I use) it is very easy to upload stuff without realising deprecated files aren't automatically removed...

ikeigenwijs’s picture

subscribe