Configure issues

starhorsepax

Joined: 2010-08-17
Posts: 8
Posted: Tue, 2010-08-17 18:45

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):http://192.168.1.100/~terri2/site_3/photo_albums/gallery (not on all the time, it's my macbook.)
Gallery version: /* Version */
$gallery->app->config_version = '97';

Apache version:2.2
PHP version (don't just say PHP 4, please):5.2.12
Graphics Toolkit:netpbm (note: it could not find imageMagick even when given the proper path.)
Operating system:Mac OS X Leopard 10.5.8
Web browser/version (if applicable): Safari 5, Firefox 3.6.6

I can't seem to get this thing configured. I had it up error free: until I loaded the pictures. It said it was successful and the pictures showed up in the folders but not in the album. I tried redoing the path, I tried moving or copying and relocating the albums. I tried redoing it completely and it gave me a user directory error and told me to check the config file, so I moved the album back in. That solved the user part. But once back in it gives me this:
Directory /users/terri2/site_3/photo_albums/gallery/album/albums does not exist. Please create it. I've gotten the same when I tried http://192.168.1.100/~terri2/site_3/photo_albums/gallery/album. Meanwhile I am staring right at the file, which the mac thinks is not there - except for that .user file hidden somewhere inside it which it is obviously using to have even gotten that far.

When I try and go back to the page where the gallery was now I get this:
Fatal error: Call to undefined function _() in /Users/terri2/Sites/Site_3/photo_albums/gallery/lib/lang.php on line 64

It's also locked me out of the password several times, claiming it was wrong even though I had just put it in, I knew I had it right and kept doing it even when I changed it.

I picked Gallery 1 by the way, because I don't have MYSQL installed yet on the mac and I needed to install too much as it was. However eventually I'd like to have a copy on my web class website (I know that web host has Gallery 2)
No experience in PHP or the like whatsoever (that comes later in my web class. I didn't think I'd need it just to install.)

Somehow the most aggavating thing is being able to see the file and knowing the computer saw it 5 minutes ago but for some mysterious reason can't see it now....:(

AttachmentSize
GalleryConfiguration.pdf117.34 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-08-17 19:12

Did you create this directory:
/users/terri2/site_3/photo_albums/gallery/album/albums

And set it's permissions to 777?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2010-08-17 19:29

Honestly you ought to just bite the bullet install MAMP(Mac, Apache, MySQL, PHP) and be done with it. It's really easy and sounds like you'll need it anyways.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
starhorsepax

Joined: 2010-08-17
Posts: 8
Posted: Wed, 2010-08-18 12:54

It's in there. The trouble is it suddenly stops recognizing there is a directory there. Which is really weird given that there is something in it. Right now I'm stalled because it's stopped recognizing gallery. Thought of starting over but I think the problem is partly the hidden files. If I try and start over it demands something in there I haven't yet figured out how to copy since it's hidden (the .user file I think). My old terminal commands aren't working (I learned them under Panther and according to the apple site some have changed under Leopard.)

Also I'm getting this in console: File does not exist: /Library/WebServer/Documents/albums, referer: http://192.168.1.100/~terri2/site_3/photo_albums/gallery/albums.php
Now why on earth it's looking over in library for the albums I have no idea. It's certainly not the path I have specified.
Now I've got the config working again but the photos are still not showing up. It must somehow be looking for them in the wrong place....but if so it's not what I specified in config setup. It looks like it's looking under <a id="photo_url" href="http://192.168.1.100/albums/album01/road_mountain.jpg" ></a> But even when I stick it in the place it still doesn't find it.

As to Mamp: I may end up going that way eventually. The trouble is, I could only afford an older macbook and as someone whose worked with an outdated g3 for years I know very well what'll happen if I combine only so much RAM with a hard drive I'm rapidly filling with no room left for the virtual memory to work. (I still have a Snow Leopard upgrade to install and I need the adobe stuff . Basically, it'll grind to a halt. Anyway, I figure it's educational at the very least to figure this stuff out.)

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-08-18 15:47
Quote:
It's certainly not the path I have specified.

Yes, you did somewhere. Either in config.php (or is that configure.php in G1) or you have a symlink to that directory.

Double check config.php and verify the paths are correct.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
starhorsepax

Joined: 2010-08-17
Posts: 8
Posted: Wed, 2010-08-18 17:46

I've tried starting over from scratch and I've still got the same problem. The images just aren't displaying for some reason. I looked in the Safari developer mode and found the copy image address link. Pasted into Firefox and opened the directory. At first, it listed the pictures but when I clicked on them it couldn't find them. Then I refreshed it and they popped up. But they still won't show up in the gallery itself. But the gallery is trying to load from that spot: I copied it straight out of the developer mode that checks the page I'm loading and shows all the data. I even went into debug mode in the configuration, there were a few weird PHP comments.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-08-18 17:51

I don't know Mac, but is it case sensitive like other other *nix based systems?

If so:
/users/terri2/...

is different than
/Users/terri2/....

Note the capital U for your Users directory

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
starhorsepax

Joined: 2010-08-17
Posts: 8
Posted: Wed, 2010-08-18 17:52

I HAVE A Picture. Please stay picture...now what did I do?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2010-08-18 17:59

huh?

When you're looking at your /users/terri2/... directory in Finder (or what ever Mac calls it) does it look like:
/Users/terri2/

or
/users/terri2/

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here