Author Topic: Trouble with Album65 Fresh install  (Read 3731 times)

0 Members and 1 Guest are viewing this topic.

Offline markc

  • album.pl User
  • *
  • Posts: 13
  • Karma: +1/-0
  • I forgot to change the default text
Trouble with Album65 Fresh install
« on: September 29, 2004, 22:32:11 »
Hi Mike.

First off, this is running on IIS on a 2000 advanced server.

Had a hard drive crash and I figured I'd upgrade to the latest version of Album.  For starters, I'm getting this message:

Software error:
Can't locate album_display.pm in @INC (@INC contains: ./Modules D:/Perl/lib D:/Perl/site/lib .) at d:\inetpub\wwwroot\cgi-bin\album.pl line 1857.

So, I added this line to album.pl:

unshift(@INC, "D:/Inetpub/wwwroot/cgi-bin/Modules");

now I get this (when running debug, also):

Error: Line 8022 ()
(album.cfg).
d:\inetpub\wwwroot\cgi-bin\album.pl

with a popup message that says:
(album.cfg). d:inetpubwwwrootcgi-binalbum.pl

When I run album_test.pl, it's looking for album.pl and album.cfg in wwwroot instead of going to the cgi-bin directory and I can't seem to figure out why.  I've gone back and forth changing these files and permissions and searching the forum but I can't seem to figure it out.  Took some time to get the last version running properly, but it was worth the work.  Thanks for any ideas you can throw my way.

Mark

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Trouble with Album65 Fresh install
« Reply #1 on: September 30, 2004, 08:31:36 »
Line 8022 is where album.pl can't find album.cfg. At the top of album.pl, try hard-coding your full album.cfg path here:

Code: [Select]
# Location of config file
###### CHANGE THIS ######
$::configfile="D:/Inetpub/wwwroot/cgi-bin/album.cfg";
###### CHANGE THIS ######

Also... do you have an album.cfg, or is it just album.cfg.clean? If there's no album.cfg, rename album.cfg.clean to album.cfg and see if that helps.


Cheers
Mike

Offline prosez

  • album.pl Tester
  • **
  • Posts: 21
  • Karma: +0/-0
  • Designer
    • LC7 - Design, Development and Technology Solutions
Re: Trouble with Album65 Fresh install
« Reply #2 on: September 30, 2004, 10:03:11 »
Ahh, i am not the only one with a problem on the 6.5 release.  I am getting  a similiar error, on a win 2000 server:

Software error:
Can't locate album_admin.pm in @INC (@INC contains: ./Modules c:/Perl/lib c:/Perl/site/lib .) at *edited*\album.pl line 8147.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

[Thu Sep 30 10:59:53 2004] album.pl: Can't locate album_admin.pm in @INC (@INC contains: ./Modules c:/Perl/lib c:/Perl/site/lib .) at *edited*\album.pl line 8147.
-------------------------------------------
Private Jet Charter - Ventura Air Services, Inc. (VAS) is a New York (NY) based full service aircraft management company operating jet aircraft and helicopters.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Trouble with Album65 Fresh install
« Reply #3 on: October 01, 2004, 08:30:47 »
6.5 uses a Modules directory to hold it's sub-files, similar to UBB and other programs. However it seems like IIS doesn't like the way I push the modules dir onto the @INC stack.

If you're upgrading, make sure you have module_path set in your album.cfg file. Set it to the full file system path to your new Modules directory...

Offline markc

  • album.pl User
  • *
  • Posts: 13
  • Karma: +1/-0
  • I forgot to change the default text
Re: Trouble with Album65 Fresh install
« Reply #4 on: October 01, 2004, 16:52:33 »
Thanks Mike, seems as though I've got it up and running again.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Trouble with Album65 Fresh install
« Reply #5 on: October 03, 2004, 18:41:47 »
Great, glad to hear it. :)

Offline caroth

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
  • I forgot to change the default text
Re: Trouble with Album65 Fresh install
« Reply #6 on: December 31, 2005, 00:32:46 »
Mike,

I have been having problems with 6.5 on my IIS server too.  I am back to running 6.2 for now, but would be willing to help figure this out.  Here is my 6.5 album:

http://album65.uniquely-colorado.com/cgi-bin/album.pl

I can give you access to look on the server side if needed.

Chris

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Trouble with Album65 Fresh install
« Reply #7 on: December 31, 2005, 08:52:07 »
Looks like your modules_dir is not set correctly, or the Modules directory doesn't exist/doesn't have the correct permissions.

Offline KennW

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Trouble with Album65 Fresh install
« Reply #8 on: February 27, 2006, 20:06:21 »
Hello Mike,

Sorry to drudge up an old post but I'm having the exact same problem as the operator.  Unfortunately his fix wasn't made known.  I've search the boards and this is the latest on this topic that I could find.

I'm running IIS on a W2K server that I have hands-on access to.  Just downloaded and installed YaBB2.1 and got it working great, once I found the IIS permissions settings on their site.  I then found the link to album.pl and thought it'd be a great addition to the new forums.

I've yet to be able to get to the admin configuration without the dreaded "Can't locate album_admin.pm in @INC (@INC..." error.  It kicks back claiming it can't locate the album_admin.pm file in ./Modules.  I've checked and double checked all my permissions, paths etc. and just can't get this thing to work.  I even modified the .cfg path inside album.pl as instructed, all to no avail.

I did run album_test.pl as well and it fails on all returns.  Thing is, I placed album.pl in a subfolder called Album off of cgi-bin.  I'm not a fan of a cluttered cgi-bin root, so I gave it its own folder and modified the paths in the .cfg file. Everything I've tried has failed.

Can you help?

Thanks in advance,
Kenn

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Trouble with Album65 Fresh install
« Reply #9 on: February 28, 2006, 13:33:05 »
Hi Kenn,

If you turn on debugging you should be able to see where album.pl tries to look for album_admin.pm. Hopefully that will give us a clue as to where the problem lies. Feel free to post or PM me with the info.


Cheers
Mike