Configuration Error

Mdfisher

Joined: 2002-09-17
Posts: 5
Posted: Tue, 2002-09-17 19:00

I've installed Gallery, ran through the setup/configuration scripts - everything supposedly is installed/configured correctly. Ran the diagnostics script - all okay. Read the FAQ's, read just about every post here in the "Installation and Configuration Help" forum and still at a bit of as loss. While I'm an older guy (As far as most of you are concerned) and senility has surely set in, I can't figure this one out. When I try to load gallery "http://www.mdfisher.com/mod/pgallery/index.php" I get this error message:

Warning: Failed opening 'mod//albums.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in /home/mdfisher/www/mod/pgallery/index.php on line 198

I have double and triple-checked my paths. I found one error but it made NO difference in the error message. Where has this old boy gone wrong?

Mike :???:

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2002-09-17 22:36

Hi!

Seems like it may be a path problem, since it refers to mod//albums.php
(note the double slash!)

It might also be a problem with your php install. php.ini includes a setting that defines which directories as allowed as include paths. (include_path='.:/usr/local/share/pear:/usr/local/lib/php')

I'm guessing you may have left a trailing slash somewhere in your setup.

 
Mdfisher

Joined: 2002-09-17
Posts: 5
Posted: Tue, 2002-09-17 23:46

I RE-checked all my pathing and still coming up empty. I myself have no access to my web-hosts PHP config info, so I'll kick a message off to them (phpWebHosting) as they've always been very quick and thourough with their tech support. Let's cross our fingers they know what the heck I'm talking about! :lol:

Mike

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2002-09-18 08:45
Quote:
I've installed Gallery, ran through the setup/configuration scripts - everything supposedly is installed/configured correctly. Ran the diagnostics script - all okay. Read the FAQ's, read just about every post here in the "Installation and Configuration Help" forum and still at a bit of as loss. While I'm an older guy (As far as most of you are concerned) and senility has surely set in, I can't figure this one out. When I try to load gallery "http://www.mdfisher.com/mod/pgallery/index.php" I get this error message:

Warning: Failed opening 'mod//albums.php' for inclusion (include_path='.:/usr/local/share/pear:/usr/local/lib/php') in /home/mdfisher/www/mod/pgallery/index.php on line 198

What version of Gallery are you using? The "index.php" file in v1.3.1 only has 115 lines in it, so I don't exactly see how it's winding up with an error on line 198!

 
Mdfisher

Joined: 2002-09-17
Posts: 5
Posted: Wed, 2002-09-18 22:48
Quote:
What version of Gallery are you using? The "index.php" file in v1.3.1 only has 115 lines in it, so I don't exactly see how it's winding up with an error on line 198!

DOH! I had somehow gotten a "Hacked" version of Gallery. No, I didn't download it from the "Official" D/L site. As soon as I saw your message, Bharat, I ran and check my file sizes. Egads.. I downloaded Gallery from the "Official" site and it's already up and running and error-free.

I want to apologize to you and hObbel for wasting your time. However, I sincerely appreciate your efforts. I'll be hanging around here and hopefully I can help someone else in the future. I doubt it, but a guy can hope, eh?

Mike

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2002-09-18 23:10

No problem. But just out of curiosity, where did that version of the gallery come from?

-.h0bbel.-

 
Mdfisher

Joined: 2002-09-17
Posts: 5
Posted: Thu, 2002-09-19 06:04
Quote:
No problem. But just out of curiosity, where did that version of the gallery come from?

-.h0bbel.-

Aw, shucks. it was my goof, not his... I got it from Muggles' web site. I had D/L'd it a few weeks ago and forgot it WASN'T the official release. It was a mod that would (should?) have allowed someone to add Gallery as a phpWebSite module. I'm feeling dumber and dumber here, man! :???:

Thanks again for your try at helping me!

Mike

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Wed, 2002-09-25 09:14

Mdfidher, do you know if Gallery can work as a phpwebsite 0.8x addon/module?