I upgraded from v4.3 to v4.4 and when updating the database I received the error:
Fatal error: require_once(): Failed opening required '/home/example/public_html/sites/all/themes/omega/omega/omega/panels/layouts/grid-3/grid-3.inc' (include_path='.:/usr/share/pear:/usr/share/php') in /home/example/public_html/sites/all/modules/ctools/includes/plugins.inc on line 475

The whole site is then just a white screen.

I installed v.4.3 back over the failed install, which makes the site functional again.

Going through the error and files it looks as though the path is incorrect.
On my site: public_html/sites/all/themes/omega/omega/panels/layouts/grid-3/grid-3.inc
In the error: public_html/sites/all/themes/omega/omega/omega/panels/layouts/grid-3/grid-3.inc'

Does anyone have a suggestion on how I should proceed? Do others receive this error?

Comments

fubhy’s picture

Hmm.. Seems that you have downloaded the theme incorrectly somehow? There is no /omega/omega/omega folder in this theme (check http://cgit.drupalcode.org/omega/tree/). Download it again and make sure the folder structure is correct.

serg2’s picture

When I first did the update I was using the '/modules/update' page. I went from 4.3 to 4.4.
When I did the roll-back I used Drush 8.0-dev .

Using drush dl omega --select and selecting 4.4 installs without issue.

I have some other installs on 4.3 so will report back.

Thanks for the help, and great to see you updating your project again.

serg2’s picture

I tried updating from 4.3 to 4.4 using the update page on another site and had similar problems:
Warning: require_once(/home/v2ap/public_html/sites/all/themes/omega/omega/omega/omega/panels/layouts/grid-3/grid-3.inc): failed to open stream: No such file or directory in ctools_plugin_load_includes() (line 475 of /home/EXAMPLE/public_html/sites/all/modules/ctools/includes/plugins.inc).

This time when I tried to use Drush to rollback it failed. Clearing Caches(including OPcache), installing other versions, updating the database did not work. I rebuilt the registry(drush RR) , then cleared cache and got it back to 4.3.

I did update other modules on the same sites without issue but have also read about other modules having similar sorts of issues when updating.

This error has '/omega/omega/omega/omega/' which is even more wrong than before.... Not sure what is going.
I guess wait and see if others report issues, or if it is just bad configuration somewhere on my side.

fubhy’s picture

Honestly, I've never used the Update Manager page. I consider it a broken concept and, if it works, also a proof that the server / htdocs root is misconfigured (if configured correctly, php would not even have access to write to the modules/themes directory at all). Please update using Drush or by manually downloading the theme. I can see how there might be a bug in the Update Manager that causes it to write to the wrong directory if the PROJECTNAME.info file is not in the root of the project directory. That's probably the reason. Please just don't use the Update Manager page (I'd advise against using it in any case anyways!).

fubhy’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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