Search…

X3 Photo Gallery Support Forums

Search…
 
ebiont
Topic Author
Posts: 12
Joined: 10 Jan 2009, 09:20

UPDATE: error: Can't write to file content/folderdata.xml

10 Jan 2009, 09:26

I concsistently get two errors at the main page of my gallery it's twice:

>Can't write to file content/folderdata.xml<
>Can't write to file content/folderdata.xml<

AND on the admin page

>Can't write to file config/users.php<

As I understand the users.php is created upon change of admin password. BUT this is not possible as well because as I change it, those chamngements won't be saved.

I strongly suspect the settings of the permissions to be the cause. BUT I checked several times. I also deleted all content uploaded via ftp again, set the chmod permissions, etc. But all these errors persist... (I have not yet uploaded the gallery so its really from scrach

please see youself: www.villiger-meier.ch

HELP!!!

and thank you ver much!

Update: chmod works and I realised that the file folderdata.xml was missing in the content folder (not in the subfolders though). when I was including one (I copied the one from the mp3 folder) the error disappears.

But: The errors at the admin page are still there and I'm not able to save things as admin although chmod was ste correctly...
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

11 Jan 2009, 02:34

Well it's obviously a permissions issue. Files are missing yes, to let us create them you need to chmod directory.

Ie. for content/folderdata.xml to appear you have to chmod content/ etc

After you copied folderdata from somewhere and chmodding it you let php write to already created file.

So, to resolve your issue, chmod config/ and subdirs.

(If it won't help - create zero length users.php and chmod the file instead. But it should work with chmodding dir only, we use that directory to store other config data and it has to be writable. If it won't work with chdomming directorly - you need to ask your hosting provider about users/group permissions.)
firedev.com
 
ebiont
Topic Author
Posts: 12
Joined: 10 Jan 2009, 09:20

11 Jan 2009, 04:20

Pain: Thank you.

As I wrote earlier I suspect the permissions to be set incorrectly too. Just for my understanding (and the hosting provider beeing not accessible at weekends): the permissions look ok when checking with different ftp clients (filezilla, cyberduck and dreamweaver). but when I check the at admins page the permissions are indicated as not beeing set correctly. Is this possible???

br
Chris

you may have a look yourself at www.villiger-meier.ch/imagevue ...... admin/admin
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

11 Jan 2009, 07:04

You right, everything is unwritable :( try to chmod files and folders using ftp, some clients have [x] Set permissions for files and folders separately checkbox.
firedev.com
 
ebiont
Topic Author
Posts: 12
Joined: 10 Jan 2009, 09:20

11 Jan 2009, 08:02

I alread made chmod 777 on all files and folder within content-folder as well in imagevue/config. When I check the permission with ftp they are set correct but when I look at the admin page 'diagnostic' everything is unwritable. Is this possible?

br
Chris
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

11 Jan 2009, 08:45

Just a stab in the dark here but I had this problem a while back (not with imagvue). Turns out it was the ftp client, all permissions were set correctly but like you turns out they were not.
I tried another ftp client (coreftp) and as if by magic after I set the permissions all was good
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

12 Jan 2009, 03:08

Strange, and what was the name of the other one, with problems?
firedev.com
 
ebiont
Topic Author
Posts: 12
Joined: 10 Jan 2009, 09:20

12 Jan 2009, 07:20

just wanted to post that after a phone call with the hosting provider everything is ok. the issue was that a central setting at the provider was faulty.

Thanks for everone who tried to help me out!

and of course I've changed the admin login now... :wink:
 
User avatar
carter2
Experienced
Posts: 206
Joined: 13 Oct 2008, 13:00

12 Jan 2009, 12:11

pain wrote:Strange, and what was the name of the other one, with problems?
Good question, it was a while ago but I think it might have been ws-ftp, it also would not show hidden folders on a linux server.