Author Topic: style sheets problem  (Read 12374 times)

0 Members and 1 Guest are viewing this topic.

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
style sheets problem
« on: November 28, 2003, 20:33:09 »
i have the photoalbum css file in
/usr/local/apache
which is where my cgi-bin is


my config file :
style_sheet=/usr/local/apache/Photo_Album.css

still no good 8-(

ps.
album thumbnails dont work
cant log out either
« Last Edit: November 28, 2003, 20:34:11 by autostream »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:style sheets problem
« Reply #1 on: November 28, 2003, 21:13:00 »
The style sheet needs to be accessible from the web. Try /usr/local/apache/htdocs (or whever your web root is) and just "/Photo_Album.css" for your config setting...

If thumbnails are broken, ensure ImageMagick is working.

Can't log out because there's no logout button, or it doesn't work?

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #2 on: November 28, 2003, 22:46:22 »
i tried it in both places still no good.
does it matter if is says at bottom
error on line 542?

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:style sheets problem
« Reply #3 on: November 29, 2003, 16:50:42 »
Yeah, errors are never a good sign. :)

Since the line numbers frequently change, what's on line 542 of your album.pl? Is there more to the error?

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #4 on: November 29, 2003, 18:32:46 »
Error in configuration file, line: 542

i dont have a prog that counts the lines

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:style sheets problem
« Reply #5 on: November 29, 2003, 19:32:42 »
Ahhh, ok. That means that like 542 isn't a valid config line. (Neither a comment line nor a "var=value" type line.)

You'll need to find that line and fix it to make the error go away. If you can't find like 542, you may have to start with a "clean" album.cfg again... :(

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #6 on: November 30, 2003, 00:40:53 »
ok it was easily fixed, their was a space before the '#'

now for my stylesheet

what exactly is required to make it work?
does it have to be in a special directory to work? whats wrong with my cgi-bin directory like everything else? I only have to change the .cfg file to address it.
and what else?

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:style sheets problem
« Reply #7 on: November 30, 2003, 11:29:27 »
Instructions on getting your style sheet to work are here:
http://perl.bobbitt.ca/yabbse/index.php?board=3;action=display;threadid=21

Hopefully that will be of some help. cgi-bin directories are often treated differently by web servers, and things like images and style sheets won't work in cgi-bin, but will work fine in other directories...

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #8 on: November 30, 2003, 15:32:58 »
i did that already...
can you think of anything else?
http://autostream.com/cgi-bin/album.pl


Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:style sheets problem
« Reply #9 on: November 30, 2003, 16:08:52 »
Your style_sheet setting is still set to /usr/local/apache/htdocs/Photo_Album.css which is wrong. Needs to be just /Photo_Album.css. I checked, and the .css is there, so once you change the setting, it'll work...

Cheers

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #10 on: November 30, 2003, 19:02:26 »
ahh, that was real confusing! your instruction were correct, just misunderstood cuz it wasnt  intuitive at all.
all the other paths in config were ENTIRE paths except this one so I expected it to be the same.


now two last small problems...
no 'logout' button
and how do you select the thumbnail for the album (and i am not using that magic program you were talking about)
thanks
scott

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #11 on: November 30, 2003, 19:24:34 »
ALSO
cant edit my own folders, only my pics


Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #12 on: November 30, 2003, 19:35:30 »
ALSO
regarding the memberlist.cgi

it asks for it in config, and says its used for authentication.  
BUT  then under 'owners' when 'editing' it gives a drop down menu of EVERY MEMBER???
doesnt make sense to me...?

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re:style sheets problem
« Reply #13 on: December 01, 2003, 10:31:46 »
Re logout: what authentication type are you using? If it's anything other than 1 (flatfile) you can't log out via album.pl. (Don't want to be deleting UBB cookies, for example...)

Album thumbnails are selected using the admin menu, but if you don't have thumbnail files you won't be able to select anything...

Are you sure you own the folders/albums you can't edit? Is allow_edit turned on?

And for the last problem... For the owner list, what did you expect to see? Showing all users allows you to change ownership to any other user...

Offline autostream

  • album.pl User
  • *
  • Posts: 19
  • Karma: +0/-0
  • I forgot to change the default text.
Re:style sheets problem
« Reply #14 on: December 01, 2003, 21:59:02 »
well it forces me into my login name and i have more than one so if i set that number to 1, i can logout?

you are saying I'm supposed to make my own thumbnail and then upload it but it doesnt work that way.   It makes its own thumbnails for the photos, why cant it makes them for the album??

Also, whats the difference between album pictures and photo pictures?  I dont get it, I upload my pics into what looks like an album (it has my name and when you click on it, you see all my pics) but them you create ANOTHER album next to the first???