Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:33:14 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Media folder slash  (Read 231 times)
bupaje

Offline Offline

Posts: 519


WWW
« on: April 20, 2011, 10:49:20 PM »

I seem to have the problem indicated in this thread.

http://www.websitebaker2.org/forum/index.php/topic,9112.0.html

basically instead of media/subfolder I am getting mediasubfolder

I tried what @thorn said

Code:
echo WB_PATH."-".$name;

and indeed I get / -

Since the thread is old I wanted to verify if that code is still the correct solution, and if it still gets inserted (or replaces?) line 46 of admin/media/index.php

I want to fix it but want to also be sure this won't somehow break other links on my site?

Now that I think of it, I have been using WB since 2004 and think I had this issue. I think that may be why I started using FTP to handle media in the first place. Maybe it is time to fix it as I want to use FolderGallery and unable to with this error.
Logged

My Blog, My Site
bupaje

Offline Offline

Posts: 519


WWW
« Reply #1 on: April 21, 2011, 05:28:34 PM »

I added a slash after my domain name in the config file in the site root. This seems to have fixed my issue but I do have a set of double slashes like so

Code:
http://www.stormvisions.com[color=red]//[/color]media/subfolder/image.jpg

Not sure if this matters, or if there is a better place to fix this or if there is some simple php I can use to clean up any links and change the double shashes after the domain name to singles...
Logged

My Blog, My Site
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!