Closed (fixed)
Project:
Photoframe
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2007 at 02:56 UTC
Updated:
14 Dec 2007 at 06:25 UTC
* warning: fopen(modules/photoframe/initialize.js) [function.fopen]: failed to open stream: Permission denied in /home/pojack1/public_html/nyclightwave/modules/photoframe/photoframe.module on line 158.
* warning: fwrite(): supplied argument is not a valid stream resource in /home/pojack1/public_html/nyclightwave/modules/photoframe/photoframe.module on line 159.
* warning: fclose(): supplied argument is not a valid stream resource in /home/pojack1/public_html/nyclightwave/modules/photoframe/photoframe.module on line 160.
Any ideas. I did not see a initialize.js file in the zip file. Maybe it is created when the photoframe.js is called?
Antonio
Comments
Comment #1
cgdigitaltreats commentedwww.nyclightwave.com
If you inspect the css I wrapped the photoframe div id's around some elements. Nothing happens though.
Antonio
Comment #2
chrisshattuck commentedThe initialize.js file is created after you select what photoframes to install in the settings page. It looks like the script doesn't have permission to create the file. You might need to create it manually and then let the settings page edit it.
I see that you have added some of the css styles to your page, but I don't see any of the photoframe css files or js files included. This says to me that possibly you have not enabled the module? If you have enabled it, perhaps you haven't gone to the settings page and set which photoframes to load?
Comment #3
chrisshattuck commentedComment #4
cgdigitaltreats commentedHI,
The module was off. I do have another site that I will leave it enabled on.
http://productionsecrets.com/ I also upgraded that site to drupal 5.3 so I am wondering if that might have something to do with it.(nope, 5.3 was not the problem) Ok. seems to work on that site,(had to delete initialize.js and chmod the parent folder, (thanks that tip worked) Production secrets does not use all the plugins I'm using on nyclightwave.com So i'm going to see if I can update nyclightwave.com to 5.3. I think the problem might be jquery. Not sure. Great....http://learntheinternet.com/youcan/ works. I fixed that with the tip you gave me...Awesome. Thanks.
Thanks for the info. Another weird thing happened. I talked to a friend on a mac. He was using firefox, and the frames showed up for him (when testing nyclightwave), but the width was not the same for every node. (I changed the css in photoframe.css in the module.
.photoframe-tablewas 0% changed it to 100%.Ok got it to work on nyclightwave.com Your tip fixed all the problems I was having. Thanks. (I replicated the tip on the other sites, and it works great.)
As of dec 2007 I got it all working, You may close the error call. (Your tip worked great.) I think nyclightwave.com files in the module folder had gotten corrupted. I re-uploaded the module and all of a sudden it started to work. (I of course deleted the initialize.js file and let the module create a new one.)
This is a really nice plugin.
Hmmm, do you know where I would wrap the photoframe-drop-shadow class for the image gallery? Would I have to create an override file in the theme?
VitoVonAntwon
Comment #5
chrisshattuck commentedI'm not able to look into the image gallery to see where you'd put it. It is likely a .tpl file or phptemplate_ function that gets called for each image. You can also copy the jquery function and apply it to whatever class the image gallery uses.
Comment #6
cgdigitaltreats commentedHi
I got it working, your suggestions worked.
Thanks.
ANtonio