Page 1 of 2

Problem by Theme change

Posted: 19 Dec 2009, 06:17
by Orion
Hi, all!
I use Phoca Gallery 2.6.1. and got a problem by changing default Theme. After enter all new parameters and key "Make new background image" I see a message "ErrorWriteFile" :( . What can be a reason?

Re: Problem by Theme change

Posted: 23 Dec 2009, 01:03
by Jan
Hi, seems like you have some permissions or ownership problem - with accessing the file and folder system. Try to check it.

Jan

Re: Problem by Theme change

Posted: 10 Mar 2010, 12:23
by space_wind
Hello,

I have the same problem. When I try to make a new background image for the thumbnails. I have contacted my hosting provider to see if the problem is a ownership problem. I have tried to edit the file/map permissions according to the http://help.dutchjoomla.org/documentati ... n-15-.html.
This was not working. Joomla is the owner of the files so thats also not the problem. My hosting provider checked it also and this was there response:
Unfortunately, this is not working. Also you are not get an error back in the error log of apache, so it seems that the script does not function properly. He performs not an action which ensures that there is actually a php error occurs. I could not find configuration file for this module which I can trace the paths he used (for further research).
I have translated the massage with Google Translate so sorry for the bad English.
Is there an other solution for this problem?

Re: Problem by Theme change

Posted: 10 Mar 2010, 23:20
by Jan
Hi, then you can make it e.g. on your localhost and try to upload newly created background images via ftp e.g. :idea:

Re: Problem by Theme change

Posted: 03 Apr 2010, 06:00
by GenkaiNashi
Hey, actually I have this problem too and can't figure out how to solve it. It's really annoying now. I need to be able to change the background. What sort of question do I ask my service provider to see if I have ownership etc? If I do have ownership and I still get the "ErrorWriteFile," might it be a problem with something else? I've checked all the permissions etc. They are all set to 0755. I've enabled/disabled FTP layer and uninstalled/reinstalled Phoca, but I still cannot change the theme settings and create a new image. Please help, thank you.

Update: It seems I can create an image on another installation of Joomla on the same server... but this version of Joomla is 1.5.14 not the latest one. Is there some sort of clash between the .15 version and Phoca Gallery?

Re: Problem by Theme change

Posted: 03 Apr 2010, 13:48
by Jan
Hi, I think not :-(

Mostly the problem is with the ownership. E.g. you install the component without ftp layer then the owner is php script which may have no rights to write. if you install it with ftp layer the owner is ftp and e.g. you have rights to write to 0755.

You can change the permissions to 777, maybe it can help then, but this is not secure so then it should be set back to 755 after creating the background.

The last option is to create the background on localhost and then copy the created image to the server and overwrite the installed one :idea:

Jan

Re: Problem by Theme change

Posted: 04 Apr 2010, 06:10
by GenkaiNashi
Hey Jan,

So I would have to uninstall the component, disable FTP layer, and reinstall it with FTP layer off? Also, if I must do it manually, what is the directory for the images? Thank you.

Re: Problem by Theme change

Posted: 04 Apr 2010, 13:39
by Jan
try to not uninstall first, the directory of images is:

images/phocagallery

maybe try to download them and delete them after on the server and then to upload with ftp permissions :idea:

Jan

Re: Problem by Theme change

Posted: 06 Apr 2010, 09:13
by GenkaiNashi
Hey Jan,

Sorry, I meant the theme images - not the pictures I've uploaded myself. I'm having trouble editing the theme since it gives me the write error. Where are the theme images stored? Every time I try to create an image in the theme's section it gives me an error so you say upload them manually - but I need to know where to upload them once I've created them. Thank you.

Re: Problem by Theme change

Posted: 08 Apr 2010, 08:33
by GenkaiNashi
Actually, I managed to get it working by upgrading the PHP from 4 to 5 on my server... I guess that must've reset the ownership for all the folder.