I installed the latest Shadowbox update, and at the same time replaced the version of the Shadowbox plugin I am using, as per the notes in the issue thread related to the Sizzle.js etc. issues.

Since then I am unable to have Shadowbox active without errors. I have completely cleaned my database and manually uninstalled Shadowbox and even now with a fresh install am unable to get Shadowbox to work any more. Any attempt to enable it causes access errors in the admin side of my Drupal install, and produces this error in the Logs :

require_once(modules/shadowbox/shadowbox.install) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /var/www/vhosts/MYSITE.COM/subdomains/games/httpdocs/engine/includes/install.inc on line 718.

Any help appreciated.

(Note : I have added a comment about this in the Sizzle.js issue thread also - sry for the noise, but I am not sure if it's related to that or a separate issue so though I would flag it in both.)

Comments

scratt’s picture

I just noticed that some of the files in the recent module update don't have read permissions on them.
I changed this with a chmod 644 * and it seems to have fixed the problem.
Is this a valid fix?

maulwuff’s picture

Title: Problem with latest Shadowbox update.. » Installation failure
Category: support » bug
Priority: Critical » Normal
Status: Active » Reviewed & tested by the community

chmod 644 *
solved the issue for me on a fresh drupal installation with shadowbox 6.3.2

original ls -l gives:

-rw-r----- 1 maulwurf maulwurf  1300 2009-09-17 23:48 INSTALL.txt
-rw-r--r-- 1 maulwurf maulwurf 14940 2006-04-23 11:54 LICENSE.txt
-rw-r----- 1 maulwurf maulwurf   941 2009-08-20 19:28 README.txt
-rw-r----- 1 maulwurf maulwurf 25329 2009-08-20 17:49 sample.png
-rw-r----- 1 maulwurf maulwurf 21641 2009-10-19 13:34 shadowbox.admin.inc
-rw-r----- 1 maulwurf maulwurf   642 2009-09-18 01:57 shadowbox_auto.js
-rw-r----- 1 maulwurf maulwurf   414 2009-08-20 19:34 shadowbox.css
-rw-r--r-- 1 maulwurf maulwurf   340 2009-11-04 16:33 shadowbox.info
-rw-r----- 1 maulwurf maulwurf  2498 2009-09-18 01:13 shadowbox.install
-rw-r----- 1 maulwurf maulwurf 24961 2009-11-04 16:22 shadowbox.module
-rw-r----- 1 maulwurf maulwurf  2067 2009-09-18 01:49 TROUBLESHOOTING.txt
-rw-r----- 1 maulwurf maulwurf   666 2009-09-18 01:45 USAGE.txt

which fails to install the module.

after chmod 644 *

-rw-r--r-- 1 maulwurf maulwurf  1300 2009-09-17 23:48 INSTALL.txt
-rw-r--r-- 1 maulwurf maulwurf 14940 2006-04-23 11:54 LICENSE.txt
-rw-r--r-- 1 maulwurf maulwurf   941 2009-08-20 19:28 README.txt
-rw-r--r-- 1 maulwurf maulwurf 25329 2009-08-20 17:49 sample.png
-rw-r--r-- 1 maulwurf maulwurf 21641 2009-10-19 13:34 shadowbox.admin.inc
-rw-r--r-- 1 maulwurf maulwurf   642 2009-09-18 01:57 shadowbox_auto.js
-rw-r--r-- 1 maulwurf maulwurf   414 2009-08-20 19:34 shadowbox.css
-rw-r--r-- 1 maulwurf maulwurf   340 2009-11-04 16:33 shadowbox.info
-rw-r--r-- 1 maulwurf maulwurf  2498 2009-09-18 01:13 shadowbox.install
-rw-r--r-- 1 maulwurf maulwurf 24961 2009-11-04 16:22 shadowbox.module
-rw-r--r-- 1 maulwurf maulwurf  2067 2009-09-18 01:49 TROUBLESHOOTING.txt
-rw-r--r-- 1 maulwurf maulwurf   666 2009-09-18 01:45 USAGE.txt
psynaptic’s picture

Status: Reviewed & tested by the community » Closed (fixed)

I'm not seeing this problem. I get:

Macbook-Pro-3: /Users/rich/htdocs/shadowbox6/sites/all/modules/shadowbox> ls -l
total 224
drwxr-xr-x  6 rich  _www    204  2 Jan 09:46 CVS
-rw-r--r--  1 rich  _www   1308 12 Nov 02:31 INSTALL.txt
-rw-r--r--  1 rich  _www    941 20 Aug 18:28 README.txt
-rw-r--r--  1 rich  _www   2067 18 Sep 00:49 TROUBLESHOOTING.txt
-rw-r--r--  1 rich  _www    666 18 Sep 00:45 USAGE.txt
-rw-r--r--  1 rich  _www  25329 20 Aug 16:49 sample.png
-rw-r--r--  1 rich  _www  21643 12 Nov 02:31 shadowbox.admin.inc
-rw-r--r--  1 rich  _www    437 10 Dec 10:58 shadowbox.css
-rw-r--r--  1 rich  _www    193  9 Feb  2009 shadowbox.info
-rw-r--r--  1 rich  _www   2480 10 Dec 14:15 shadowbox.install
-rw-r--r--  1 rich  _www    405 10 Dec 13:41 shadowbox.make
-rw-r--r--  1 rich  _www  24456 18 Dec 09:10 shadowbox.module
-rw-r--r--  1 rich  _www    642 18 Sep 00:57 shadowbox_auto.js

This is by doing a checkout from CVS.

Does anyone else have this problem with the latest releases? Feel free to reopen if so.