Problem by Theme change

Phoca Gallery - image gallery extension
Orion
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 15 Mar 2009, 18:47

Problem by Theme change

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem by Theme change

Post by Jan »

Hi, seems like you have some permissions or ownership problem - with accessing the file and folder system. Try to check it.

Jan
If you find Phoca extensions useful, please support the project
space_wind
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Mar 2010, 11:58
Location: Netherlands
Contact:

Re: Problem by Theme change

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem by Theme change

Post 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:
If you find Phoca extensions useful, please support the project
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: Problem by Theme change

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem by Theme change

Post 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
If you find Phoca extensions useful, please support the project
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: Problem by Theme change

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem by Theme change

Post 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
If you find Phoca extensions useful, please support the project
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: Problem by Theme change

Post 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.
GenkaiNashi
Phoca Enthusiast
Phoca Enthusiast
Posts: 84
Joined: 12 Jul 2009, 22:03

Re: Problem by Theme change

Post 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.
Post Reply