I think this issue is fixed but there may be problems in the future (the one in this post may be linked?)
| Project: | Garland BIDI |
| Version: | 5.x-1.0 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | foldedpaper |
| Status: | closed |
Hi
I have just duplicated by site on the same server with a different mysql and am having problems when I try to change the colour of the chosen theme (garland). The errors below are mentioned and I dont know why! Changing the colour on the original site is fine but there if a problem with the duplicated site. Any help would be great. I am learning drupla and trying to create a community site (just like veryone else) but one that donates 100% net profit to charity www.freehug.org
also feel free to check out www.traidmark.org www.whymandesign.com www.emptymyshed.com
Thanks for any help as I am stuck
I tried to change the color.module permission to 777 but that did not change the permission denial problem.
I can also log into each of the two sites independantly so I understand that they are now independant.
* warning: mkdir(files/color/garland-a5955235) [function.mkdir]: Permission denied in /home/fpaper/public_html/drupal/modules/color/color.module on line 234.
* warning: copy(files/color/garland-a5955235/menu-collapsed.gif) [function.copy]: failed to open stream: No such file or directory in /home/fpaper/public_html/drupal/modules/color/color.module on line 251.
* warning: copy(files/color/garland-a5955235/menu-expanded.gif) [function.copy]: failed to open stream: No such file or directory in /home/fpaper/public_html/drupal/modules/color/color.module on line 251.
* warning: copy(files/color/garland-a5955235/menu-leaf.gif) [function.copy]: failed to open stream: No such file or directory in /home/fpaper/public_html/drupal/modules/color/color.module on line 251.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/body.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-bar.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-bar-white.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-tab.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-navigation.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-content-left.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-content-right.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-content.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-navigation-item.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/bg-navigation-item-hover.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/gradient-inner.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/logo.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: imagepng() [function.imagepng]: Unable to open 'files/color/garland-a5955235/screenshot.png' for writing in /home/fpaper/public_html/drupal/modules/color/color.module on line 400.
* warning: fopen(files/color/garland-a5955235/style.css) [function.fopen]: failed to open stream: No such file or directory in /home/fpaper/public_html/drupal/modules/color/color.module on line 337.
* warning: fwrite(): supplied argument is not a valid stream resource in /home/fpaper/public_html/drupal/modules/color/color.module on line 338.
* warning: fclose(): supplied argument is not a valid stream resource in /home/fpaper/public_html/drupal/modules/color/color.module on line 339.

#1
Hi
I am still stuck on this having spent all yesterday and today trying to work it out!!!
I have just found that on the original install the garland-number is always the same
however
in the duplicated install the galrand-number in the site folder does not change but the error message that comes up always has a different garland-number so they two never match. This may be the problem. If anyone knows how to solve this I would be very gratefull. I am now urgently needing to solve this:)
for example just now the error message is
warning: mkdir(files/color/garland-1841ec42) [function.mkdir]: Permission denied in /home/fpaper/public_html/drupal/modules/color/color.module on line 234.
when the garland number is garland-e0ca6850
If I change the garland number of leave it the same the error message now becomes
warning: mkdir(files/color/garland-7207e41f) [function.mkdir]: Permission denied in /home/fpaper/public_html/drupal/modules/color/color.module on line 234.
and so on to eternity
I hope this is something that is easy to fix if you have the knowledge.
#2
Is the directory files writable by the user that runs drupal? e.g. apache or nobody?
#3
Hello GR singleton
Thanks for the reply
I have just checked what you said and have found the solution thanks.
I found that in
drupal/admin/logs/status
File system Not writable
The directory files is not writable. You may need to set the correct directory at the file system settings page or change the current directory's permissions so that it is writable.
so then clicked on the link
then used my ftp software to make sure the 'files' file was totally open 777 with all tick boxes ticked then...
saved my /drupal/admin/settings/file-system configuration and am now able to change the garland colours as Ilike. Hopefully this action means that the duplicate website is fully funcitoning on its own. I am now going to develop the site and hope to be able to duplicate it once again when new features have been added. If anyone has experience of this or can tell me that it will (hopefully) or wont (unhopefully) work that would be great. Any experienced people who want to collaborate on this project would be greatfully recieved and random free artwork gifts will be sent to you anywhere in the world if you can offer your time and/or experience. thanks drupal for the inspiration and platform. remember traidmark.org and freehug.org
#4
I have posted this as a seperate issue but wanted to put it here just encase it is of use)...
Just attached Organic Groups to my drupal site and have this warning problem modules/node/node.module on line 504. I installed the full version of Organic Groups and Og galleries into the full version of drupal 5. Any help would be great. I am learning drupla and trying to create a community site (just like veryone else) but one that donates 100% net profit to charity www.freehug.org
also feel free to check out www.traidmark.org www.whymandesign.com www.emptymyshed.com
Thanks for any help as I am stuck
the full warning is below
* warning: Invalid argument supplied for foreach() in /home/fpaper/public_html/drupal5/modules/node/node.module on line 504.
//what does this part mean?
* warning: implode() [function.implode]: Bad arguments. in /home/fpaper/public_html/drupal5/modules/node/node.module on line 508.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/fpaper/public_html/drupal5/includes/database.mysql.inc on line 167.
thanks again for any help
#5
#6
I've got this same error:
warning: copy(files/color/garland-673d64ff/menu-collapsed.gif) [function.copy]: failed to open stream: Permission denied in /home/betting/public_html/modules/color/color.module on line 251.
warning: copy(files/color/garland-673d64ff/menu-expanded.gif) [function.copy]: failed to open stream: Permission denied in /home/betting/public_html/modules/color/color.module on line 251.
etc etc etc etc etc etc etc etc etc etc etc etc etc etc etc
Nothing can be accessed in this folder:
/files/color/garland-f694be5f/screenshot.png
#7
Screen shot attached: