Config error

Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Thu, 2005-09-01 21:42

This is what I get when trying to access the Gallery

Warning: mkdir(/var/www/html/gallery/albums/.users): No such file or directory in \\nas23ent\domains\d\dailly-parish.co.uk\user\htdocs\gallery\classes\gallery\UserDB.php on line 43
Error: Unable to create dir: /var/www/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...
Fatal error: Call to a member function on a non-object in \\nas23ent\domains\d\dailly-parish.co.uk\user\htdocs\gallery\classes\gallery\UserDB.php on line 337

http://www.dailly-parish.co.uk
Gallery 1.5Pl1
I have no idea of Apache
PHP version. Doesn't give me any number
Window XP or Window 2003 on server
Outlook
This is all a bit technical for me so I hope you can help me sort this out. I did use the Gallery with another Host but he done all the hard work

Be gentle with me :)

Thanking you in advance
Berenice

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Thu, 2005-09-01 21:45

opps Internet Explorer 6

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-09-01 22:04

Your host probably moved your files from one location to another. It seems like you had your files in /var/www/html/gallery/albums/ but now it's probably moved to \\nas23ent\domains\d\dailly-parish.co.uk\user\htdocs\gallery\classes\gallery\albums

You'll need to edit config.php by hand and update the paths, or get your host to help you fix it.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 16:34

thank you.
My previous host did do this form me but I hae downloadedthis myself with a new host so.............I think I am going to have to upload all the photos again!! The trouble is that I have text on old school pics which I don't want to type again, if I kept the info. this is a community website.
thanks again for trying to help me
Regards
Berenice

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 16:43

Just thought H0bbel
If I copy the new dir.
\\nas23ent\domains\d\dailly-parish.co.uk\user\htdocs\gallery\classes\gallery\albums

into where the old dir.
/var/www/html/gallery/albums/

That should work shouldn't it?

Berenice, thinking aloud

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-09-03 21:02

Berenice17, as long as the paths are correct, and the permissions are correct as well, you should be fine.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 21:18

Nope I am not going to manage this. Where are permissions? do I change that line in just the config.php? If I can't manage this I will have to give up. it is just too hard for this old lady,lol.The community will have to go without their album :(

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-09-03 21:22

Berenice17, change the line in config.php, then open your gallery. You might get errors, but they can most likely be resolved by following FAQ Gallery:c.15

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 21:44

Think I got that. Now I have to log in!! I don't know hwat password etc to use. Host or the one for here? I have mad a blank file as instructed called resetadmin.php and put it in the setup folder but nothing!
Can you help again please;)
Berenice nearly there!!!

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-09-03 21:48

Berenice17, the resetadmin file is not in the correct directory ( \\nas23ent\domains\d\dailly-parish.co.uk\user\htdocs\gallery/setup ) it seems.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 22:11

ooooooooh i feel terrible asking you again. the first part of the code must be right for me to get a log on page, yes? and it tells me to put resetadmin in the setup folder? so why am I not getting instructions. If I make a blank file. How will it give me instructions?
A confused old woman ;)

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-09-03 22:17

Put an empty file there, and open the setup page in the browser. Further instructions will be given on that page, if you put the file in the correct place. :-)

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 23:01

Ok H0bbel, I got all that andset up pages but it gave me this error in the code. I have been around the FAQ but can't find what I want. Here is the code I got:

// Error: zipinfo: /usr/bin/zipinfo must be a valid file (not a directory)! // Error: unzip: /usr/bin/unzip must be a valid file (not a directory)!
As this isn't on my site yet (I presume) how can I correct this please. :oops:

Your soon to be penpal
Berenice in Scotland

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2005-09-03 23:17

Berenice17, just remove the zip path from the settings, in the Gallery Configuration Wizard: Step 2 -> Optional Tools tab.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Sat, 2005-09-03 23:38

Hurrah............. I done it.
Here it is
phew, never thought I would get that done with all that code
Thank you sooooooooooo much.
I will dontate tomorrow when I see our administrater. I am so glad that I did not have to rely on a host to do it as before.
Here it is
http://www.dailly-parish.co.uk/gallery/
Again thank you, thank you :lol: :roll:

Berenice

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sun, 2005-09-04 05:43

Great!! :)

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Mon, 2005-09-05 21:21

oh H0bbel
I am back again
I have been tweaking all day to see if I can get the problem of uploading photos sorted to no avail.
I have put in Imagemagick and the config says all is well . Can you give me any tips please. I am so near. All the files that I had on the old gallery are there on the new. Mind you I can't get some highlighted but.........
Any help would be gratefully recieved
Thanking you

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2005-09-05 21:24

Now, enable debug mode ( FAQ Gallery:c.31 ) try an upload, and post the debug results.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Mon, 2005-09-05 21:38

Is that the whole code you want?

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2005-09-05 21:43

I want the results of what happens with debug mode on.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Mon, 2005-09-05 21:47

Done that and it still says 'Page cannot be found'

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Mon, 2005-09-05 21:53

I have just gone around the gallery again and now the 'album actions' are not working at all!

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Mon, 2005-09-05 22:09

The small window says' it is not closing as it is in debug mode' The 'album actions, are working. I didn't realise that is was on the bottom toolbar

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2005-09-05 22:14

There is more in the small window though, right?

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Mon, 2005-09-05 22:26

Page cannot be found when I try to upload photos.
all the other commands seem to be ok

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Mon, 2005-09-05 22:41

Berenice17, in that case, only the system administrator can help you. We can diagnose the problem if you don't get any error output.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Tue, 2005-09-06 07:56

do you mean my host? :)

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-09-06 08:05

Yes I do. :)

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Tue, 2005-09-06 08:19

Thank you H0bbel
I got in touch with my host (this is a new host) and they told me that I don't have Apache. I have 11s6 !! Would this make a difference. I am getting back in touch with them to see if they can sort this out for me.
I will let you know how I get on

Thank you again for our time and help :)

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Tue, 2005-09-06 08:44

Hi
I just got this

> - Look back at the error message returned by your scripts
> - See if it points a specific line of code or a component
> - Check any documentation notes you may have

it must the the link on the 'Add some photos' to get to the window to add them. Do you know where I can find this page to look please

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-09-06 09:13

You don't get an error message, it crashes before one is output to you. I'm sorry to be the bearer of bad news, but IIS6 is not supported by Gallery, especially not in a hosted environment.

You could try to point your host to the IIS docs at http://gallery.sf.net/docs.php - and ask them to pay attention to the user contributed notes regarding IIS6. Good luck!

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Tue, 2005-09-06 12:11

ohhhhhhhh
But why has it uploaded files from my directory that were on the old gallery? There isn't a way I could add photos in DreamweaverXP either I expect? I really want to use this program.
I have emailed the link to my server so see what they say. As I didn't really know much about Apache and never even heard of IIs6 I am annoyed with myself. Just never thought to looked when I went with them!!

You might see me back again. lol
Thanks again for your time and patience
Regards
Berenice

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-09-06 13:55

Berenice17, you cannot use dreamweaver to add stuff to Gallery, in fact you would probably break it if you did.

The old stuff got transferred, because it was generated on the old host. That will still work, but new uploads won't.

 
Berenice17

Joined: 2005-09-01
Posts: 23
Posted: Tue, 2005-09-06 14:35

ok. Thanks again for your help. MIght have to give up:(
I'll let you know.

Regards
Berenice in a HOT Scotland