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"
Problem by Theme change
-
Orion
- Phoca Newbie

- Posts: 3
- Joined: 15 Mar 2009, 18:47
Problem by Theme change
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?
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"
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem by Theme change
Hi, seems like you have some permissions or ownership problem - with accessing the file and folder system. Try to check it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
space_wind
- Phoca Newbie

- Posts: 2
- Joined: 10 Mar 2010, 11:58
- Location: Netherlands
- Contact:
Re: Problem by Theme change
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:
Is there an other solution for this problem?
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:
I have translated the massage with Google Translate so sorry for the bad English.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).
Is there an other solution for this problem?
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem by Theme change
Hi, then you can make it e.g. on your localhost and try to upload newly created background images via ftp e.g. 
If you find Phoca extensions useful, please support the project
-
GenkaiNashi
- Phoca Enthusiast

- Posts: 84
- Joined: 12 Jul 2009, 22:03
Re: Problem by Theme change
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?
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?
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem by Theme change
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
Jan
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
Jan
If you find Phoca extensions useful, please support the project
-
GenkaiNashi
- Phoca Enthusiast

- Posts: 84
- Joined: 12 Jul 2009, 22:03
Re: Problem by Theme change
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.
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.
- Jan
- Phoca Hero

- Posts: 49299
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Problem by Theme change
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
Jan
images/phocagallery
maybe try to download them and delete them after on the server and then to upload with ftp permissions
Jan
If you find Phoca extensions useful, please support the project
-
GenkaiNashi
- Phoca Enthusiast

- Posts: 84
- Joined: 12 Jul 2009, 22:03
Re: Problem by Theme change
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.
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.
-
GenkaiNashi
- Phoca Enthusiast

- Posts: 84
- Joined: 12 Jul 2009, 22:03
Re: Problem by Theme change
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.