HELP... I am in need of some support for this program..

kozy

Joined: 2002-08-29
Posts: 4
Posted: Thu, 2002-08-29 20:49

Basically I am a web host and really never have worked with this program, but I installed a while back for a client. We had a major server crash and lost two hard drives. So long story short we had to start our main server all over. One of the client run Gallery 1.30 or 1.31, we have tried both...

Ok we got the program loaded back on the server and the under his account we created a mysql database and the use to it. Then made sure the setup directory and the config files were protected. Then we upload the sql table files we had dumped a few days earlier and used telnet to upload the sql file.

What happens is the front main page loads up and looks fine, then you click on a picture, only one is on the main page, and then you get a 404 error looking for the thumbnal area. I know we are missing something here, what?

when you click the image it goes to:
http://ourdimainname.com/gallery/salado01 (salado01 is the ablum)

under our gallery directory we have a directory called photos and the above salsdo01 is located in there. so when you click on the main page image file it looks to be going to:
http://ourdimainname.com/gallery/salado01 when in fact I think it should be going to
http://ourdimainname.com/gallery/photos/salado01

Any ideas here. We had done pretty much teh same thing with 9 other php program and the all uploaded fine and the sql databases uploaded and everything works, this is the only program that did not work....Please if any of you have any ideas for me to check, let me know so I can make this guy happy!
Thank you! :wink:

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Fri, 2002-08-30 07:18

Well, it would have been nice if you had included a real link for us to check
with for starters.. but a few basic things to check are:

    A.) Permissions, sometimes they change, or the webserver id's are different in this
    install then on the previous install which would render the files inaccessible. Re-set
    all permissions to allow read/write by the webserver.

    B.) Configuration, check that all the path vales are pointing to the correct places,
    and the url values are correct as well.

[/]

 
kozy

Joined: 2002-08-29
Posts: 4
Posted: Fri, 2002-08-30 15:52

Sorry about that, the cleint did not want me to give out his address for whatever reason...

Update: I finally go the program to work, I had to install a newere version and when I could not get it to work many time, I decided to completely erase it all and go back to teholder version he originally had. Not sure what happend but I got it work and then dang thing works again, except.... I get this one error on all pages except for the main page, and after you have been on that page the error goes away. I know it is a small error and I will list it below, if someone could tell me what to do to resolve this, then I can be done with this guy... LOL

Warning: fopen("/home/domainname/public_html/gallery/photos/salado01/album.dat.lock", "a+") - Permission denied in /home/domainname/public_html/gallery/platform/fs_unix.php on line 53Error: Could not open lock file (/home/domainname/public_html/gallery/photos/salado01/album.dat.lock)!

I have deleteed the lock files but they come back..Any ideas? Oh and because of this I can not upload any new images as well, but I can do just about anything else...
THANKS! :grin:

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sat, 2002-08-31 08:48

That error is covered in the FAQ, you probably need to turn off 'flock'
look for it in config.php or rerun the setup and tell it not to use it.

It could also be more permissions problem, chmod -R is your friend here.

As for upgrading, not sure what version you used to have, but there are some
necessary upgrade steps you need to take or it won't work. They are listed in
the User Guide I believe. Make a copy of the setup and try going through a
proper upgrade and see what happens. (You'll have to update the current
configuration first to reflect the location of the copy first.)