Author Topic: (another) Style Sheet problem  (Read 3091 times)

0 Members and 1 Guest are viewing this topic.

Offline dazed_deviant

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
(another) Style Sheet problem
« on: December 13, 2007, 18:53:07 »
album.pl complains the style sheet is not working.  the site I'm working with is : http://72.29.86.115/~thescrap/cgi-bin/album.pl

I've seen this problem a lot and searched the forums but none matched my situation completely. the style sheet is in /home/thescrap/public_html and the config line has the exact path. I'm wondering if it has something to do with my url requiring /~thescrap/ and if a domain would fix it. Thanks.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: (another) Style Sheet problem
« Reply #1 on: December 14, 2007, 17:38:39 »
Hi dazed,

I didn't see a .css reference in the HTML for that page at all... are you sure that style_sheet is defined in your config?


Cheers
Mike

Offline dazed_deviant

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
Re: (another) Style Sheet problem
« Reply #2 on: December 16, 2007, 21:10:27 »
Hi dazed,

I didn't see a .css reference in the HTML for that page at all... are you sure that style_sheet is defined in your config?


Cheers
Mike

Hello, Thank you for your timely reply. Yes I am, I got this line strait from the album.cfg file:

# Link to style sheet, as you want it to appear in all HTML pages. Should be an absolute web path (I.E. from your web root), since each page must call it and they may exist in different locations.
style_sheet=/home/thescrap/public_hml/Photo_Album.css

I've also double and triple checked that is the path of Photo_Album.css. Also, in the config utility it doesn't complain that the file is missing.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: (another) Style Sheet problem
« Reply #3 on: December 17, 2007, 15:20:39 »
I think you should have:

style_sheet=/home/thescrap/public_hml/Photo_Album.css

or more likely:

style_sheet=/~thescrap/Photo_Album.css

Based on the link you have above.


Cheers
Mike

Offline dazed_deviant

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
Re: (another) Style Sheet problem
« Reply #4 on: December 18, 2007, 20:49:01 »
ohhh thank you, I would have never thought of /~thescrap/Photo_Album.css. The config utility has stopped complaining and looks different/cleaner. but my album still looks the same white background/messy look. I've tried viewing it on other computers but it doesn't seem to make a diffrence.

Offline frister

  • album.pl Donor
  • album.pl Hacker
  • ****
  • Posts: 230
  • Karma: +42/-0
  • half baked ideas are better than none
    • fristersoft travelogue
Re: (another) Style Sheet problem
« Reply #5 on: December 19, 2007, 22:59:07 »
Yes, your style sheet does exist at http://72.29.86.115/~thescrap/Photo_Album.css

But, when I view the source of what you're serving at at the link you provided, there's no reference to the style sheet anywhere in the page you're serving.

The style sheet link is usually part of album_header.tml file. It seems you're not serving that chunk code at all. Is your config file pointing to the correct template file location?

Page source reads:
Quote
<!-- FILE (album_header.tml) tag start -->
<!-- File (album_header.tml) not found or not readable! -->

<!-- FILE (album_header.tml) tag end -->

Offline dazed_deviant

  • album.pl User
  • *
  • Posts: 4
  • Karma: +0/-0
Re: (another) Style Sheet problem
« Reply #6 on: December 21, 2007, 20:49:56 »
Yes, your style sheet does exist at http://72.29.86.115/~thescrap/Photo_Album.css

But, when I view the source of what you're serving at at the link you provided, there's no reference to the style sheet anywhere in the page you're serving.

The style sheet link is usually part of album_header.tml file. It seems you're not serving that chunk code at all. Is your config file pointing to the correct template file location?

Page source reads:

Ah! album_header.tml was not uploaded correctly, all I had to do was replace it and everything works fine now. Thanks!