when i enabled "Optimize JavaScript files", i receive this error with lightbox2.

"warning: file_get_contents(sites/all/modules/lightbox2-6.x-1.9/lightbox2/js/lightbox.js) [function.file-get-contents]: failed to open stream: No such file or directory in C:\AppServ\www\includes\common.inc on line 2359."

but not all the time receive this error message. Someone pls show me how to fix this, thanks a lot.

Comments

stella’s picture

Category: bug » support

this isn't a lightbox2 bug. It looks more like an installation issue on your machine. Does the lightbox.js file exist in that location? Because the error is basically saying it doesn't. If it does, then it may have incorrect permissions. Why do you have a lightbox2-6.x-1.9 directory with another lightbox2 directory within it?

stella’s picture

Status: Active » Closed (won't fix)

Marking as won't fix as no more information forthcoming.