Error: Unable to create dir: /home/strichar/public_html/Gallery/albums/.users

rharkey

Joined: 2007-10-23
Posts: 4
Posted: Sun, 2008-02-17 22:47

I have moved the gallery from one website to another. I am getting this error message:

Error: Unable to create dir: /home/strichar/public_html/Gallery/albums/.users

When I look the files are there. Do you have any suggestions.

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-02-18 06:22

Sure it is a different warning but the solution should be the same.

FAQ: Warning: fopen(".../albums/team/album.dat.lock","a+")

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
rharkey

Joined: 2007-10-23
Posts: 4
Posted: Mon, 2008-02-18 15:52

I have chmod 777 to the directory and I am still getting:

Error: Unable to create dir: /home/strichar/public_html/Gallery/albums/.users
Upgrading Users
The user database in your gallery was created with an older version of the software and is out of date. This is not a problem! We will upgrade it. This may take some time. Your data will not be harmed in any way by this process. Rest assured, that if this process takes a long time now, it's going to make your gallery run more efficiently in the future.
If you get an error, and only some users are upgraded, try refreshing the page to upgrade remaining users.

Please Wait...

and I wait and I wait.

Any other suggestions?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-02-18 20:35

Does
/home/strichar/public_html/Gallery/albums/.users
exist?
PM me your site and login info and I will have a look.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
lisanne

Joined: 2008-02-14
Posts: 5
Posted: Mon, 2008-02-18 20:56

I was experiencing the same problem (http://gallery.menalto.com/node/74565) and discovered it was because my hosting company had moved me to a new server and I had to update my config.php with the new path of where the albums/ was.

Maybe give your hosting company a call and see if they have been doing any work to the servers.

 
kathe0

Joined: 2010-02-11
Posts: 3
Posted: Thu, 2010-02-11 19:35

Can anyone help me? I was using an old version of Gallery (1.3.2 perhaps?) but my web host provider started moving things around on servers and now my Gallery won't work. : (

If I go to the path that I used to login through (<path>/v-web/gallery), I get the error...
Error: Unable to create dir: <path>/albums/.users

If I go to <path>/v-web/gallery/albums I get the error....
(On Foxfire) The page isn't redirecting properly.
(On IE) Internet Explorer cannot display the webpage.

* I checked my files and there doesn't seem to be a .users folder under albums (don't know if there was one before this whole thing started).
* I checked and the albums folder is set to 777 permissions so that should be ok.
* The paths in the config.php seems to look ok too.
* In the web host provider's file manager, I tried creating a .users folder and it says 'Invalid directory name'.

I am pretty sure this issue stems from the web host provider settings but I don't know what to tell them to do besides try to restore everything that used to be there before they started moving things around. Any idea why .users would be an invalid directory name?

Thanks for any assistance!

 
kathe0

Joined: 2010-02-11
Posts: 3
Posted: Thu, 2010-02-11 19:57

Just a few updates...

* I created a "albums/users" folder using the web host provider's file manager
* Made sure the users folder was set to 777 permissions
* I changed the userDir path in the config.php to point to "albums/users"
* I copied the files from my backup to the new users folder: .htaccess, userdb.dat, userdb.dat.bak, userdb.dat.lock, 1066436347
* Then I noticed that using WS_FTP I can see that a .users directory does actually exist on the server

Gallery still doesn't work (and strangely, still getting the error "Unable to create dir: <path>/albums/users"; at least the directory name has been updated!).

Any ideas? I'm stumped.

 
kathe0

Joined: 2010-02-11
Posts: 3
Posted: Thu, 2010-02-11 20:06

Problem solved! The path before /public_html/ had changed with the new server and needed to be updated in the config.php.