Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Technical Support    Install Issues  ›  More theme issues
Users Browsing Forum
No Members and 1 Guests

More theme issues  This thread currently has 637 views. Print
1 Pages 1 Recommend Thread
southfield
November 2, 2009, 1:01pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 7
Posts Per Day: 0.01
Time Online: 1 hours 50 minutes
Hi

I've already managed to wrestle my way through several Settings.pl path issues in sorting out an installation, however I'm now stuck at the template stage:

This is how it currently looks http://www.southfieldparktriangle.org/cgi-bin/forum/Blah.pl?

The templates show up, the CSS files and templates can be found and modified via the admin menus, but its not picking the graphics and files up in the actual installed version. I suspect this is still a Settings file issue for the URL settings as shown in the Admin menu.

On Admin the URLs are coming up as relative addresses from the root, exactly the same as for the Directory listings. I have hacked around with the Settings.pl file and the relevant bits of it look like :
# URL to /blahdocs/{NAME} (URL-Directories; no trailing slash: /)
$images     = "./blahdocs/images";    # images
$buttons    = "./blahdocs/buttons";   # buttons
$simages    = "./blahdocs/Smilies";   # Smilies
$avsurl     = "./blahdocs/Avatars";   # Avatars
$uploadurl  = "./blahdocs/uploads";   # uploads
$templatesu = "./blahdocs/template";  # template
$bdocsdir   = "./blahdocs";           # blahdocs Directory

# Full DIR to the {NAME} directory (Directory; no trailing slash: /)
$avdir     = "./blahdocs/Avatars";   # Avatars
$uploaddir = "./blahdocs/uploads";   # uploads
$templates = "./blahdocs/template";  # template

Any help on what I can actually do here? I've trawled the forums, but all these sort of issues I have found seem to get fixed by a very helpful person offering to go in as admin and fix it for the question-asker, whereas I'd quite like to know what I did wrong myself
Logged Offline
Private Message Private message
southfield
November 2, 2009, 1:02pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 7
Posts Per Day: 0.01
Time Online: 1 hours 50 minutes
BTW, E-Blah is in the standard cgi-bin and forum folders within the root directory.
Logged Offline
Private Message Private message Reply: 1 - 6
Martin
November 2, 2009, 2:04pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.97
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Can you post all your path settings, what you have posted all looks OK but when you look at the properties of one of your butons you get this:

http://www.southfieldparktriangle.org/cgi-bin/forum/blahdocs/buttons/home.png

The actual path to the button is this:

http://www.southfieldparktriangle.org/blahdocs/buttons/home.png

cgi-bin /forum is being added to your path's.

Also, are you using any redirects at all like .htaccess or modrewrite?



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 2 - 6
southfield
November 2, 2009, 2:52pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 7
Posts Per Day: 0.01
Time Online: 1 hours 50 minutes
OK - thats a good point - I had put in a full path in the $root line of Settings.pl. However if I change it as below its still adding in extra layers of directories into the image paths. I might be able to cheat by copying the buttons and other theme related folders into cgi-bin/forum/ maybe  

This is my revised settings.pl file right now:

# What is the directory that Settings.pl is located in?
$root = ".";

# This should be the only line you need to edit for Avatars, uploads, and templates directories
$bdocsdir2 = "$ENV{'DOCUMENT_ROOT'}";

####################################################
# DO NOT MODIFY ANYTHING BELOW THIS LINE!          #
####################################################

$bversion = 1; # PRE-SETUP Version

# Full DIR to ./{NAME} (Directories; no trailing slash: /)
# If $root is correct, these shouldn't need editing
$code      = "$root/cgi-bin/forum/Code";       # Code
$boards    = "$root/cgi-bin/forum/Boards";     # Boards
$prefs     = "$root/cgi-bin/forum/Prefs";      # Prefs
$members   = "$root/cgi-bin/forum/Members";    # Members
$messages  = "$root/cgi-bin/forum/Messages";   # Messages
$languages = "$root/cgi-bin/forum/Languages";  # Languages
$modsdir   = "$root/cgi-bin/forum/Mods";       # Mods Directory

# URL to /blahdocs/{NAME} (URL-Directories; no trailing slash: /)
$images     = "./blahdocs/images";    # images
$buttons    = "./blahdocs/buttons";   # buttons
$simages    = "./blahdocs/Smilies";   # Smilies
$avsurl     = "./blahdocs/Avatars";   # Avatars
$uploadurl  = "./blahdocs/uploads";   # uploads
$templatesu = "./blahdocs/template";  # template
$bdocsdir   = "./blahdocs";           # blahdocs Directory

# Full DIR to the {NAME} directory (Directory; no trailing slash: /)
$avdir     = "./blahdocs/Avatars";   # Avatars
$uploaddir = "./blahdocs/uploads";   # uploads
$templates = "./blahdocs/template";  # template
Logged Offline
Private Message Private message Reply: 3 - 6
Martin
November 2, 2009, 3:03pm Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.97
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Did you actually run Setup.pl?

This is a Settings.pl before Setup has been run?



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 4 - 6
southfield
November 2, 2009, 3:15pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 7
Posts Per Day: 0.01
Time Online: 1 hours 50 minutes
Aaaah - I see it now!

Yep, I ran setup - but when I was getting the (apparently quite common) error messages about "path not found" during setup, I had been editing the offline copy of setup.pl and ftp'ing it up to the host site .... which I now realise means I was overwriting a setup-created Settings.tpl with a basic version.... doh!

I should have presumably downloaded the Settings.pl from the host and edited that one ...  

Wonder if this is the cause of some of the other setup.pl related confusions on this site?
Logged Offline
Private Message Private message Reply: 5 - 6
Martin
November 3, 2009, 4:36am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
Posts: 5,171
Gender: Male
Posts Per Day: 1.97
Reputation: 98.41%
Reputation Score: +247 / -4
Time Online: 39 days 9 hours 4 minutes
Location: UK
Age: 53
Personally, I would start again.



Martin's Reputation: Increase
Logged
Site Site Private Message Private message Reply: 6 - 6
1 Pages 1 Recommend Thread
Print

E-Blah Community    Technical Support    Install Issues  ›  More theme issues

Thread Tags
templates,  files,  settings,  admin,  i,  file,  url,  directory,  trailing,  issues,  found