Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 04:21:34 AM
1 Hour
1 Day
1 Week
1 Month
Forever
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
.
155555
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
[SOLVED] a little problem with media directoy creation
Pages: [
1
]
Go Down
Author
Topic: [SOLVED] a little problem with media directoy creation (Read 1606 times)
gila
Offline
Posts: 49
[SOLVED] a little problem with media directoy creation
«
on:
March 25, 2008, 10:52:18 AM »
i use 2.7 rc2
hi, as usually locally all works fine
,
on line i got a problem in the media directory, if i create a new directory "test" it works but when i try to upload a file in the new directory it do not works because in the select box wb sets the path "mediatest" instead "media/test"
what can i do?
thanks
«
Last Edit: March 31, 2008, 02:05:13 PM by gila
»
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: a little problem with media directoy creation
«
Reply #1 on:
March 25, 2008, 12:25:57 PM »
Hello,
think you simply created the folder "mediatest" instead of "test".
Matthias
Logged
gila
Offline
Posts: 49
Re: a little problem with media directoy creation
«
Reply #2 on:
March 25, 2008, 02:12:54 PM »
i try few times, locally i create some new folders: test, png, etc..
and chosing the folder when upload i can chose media/test, media/png etc..
on line i created the same folders but when i want to upload, choising the folder destination there are mediatest, mediapng etc...
so it is impossible to upload in the new directory.
Logged
kweitzel
Forum administrator
Offline
Posts: 6977
Re: a little problem with media directoy creation
«
Reply #3 on:
March 25, 2008, 06:38:07 PM »
Creating a new folder ... just leave the path away ... then it will work. If you want a folder called "test", just call it this way and not "media/test". The slashes are being filtered out. I think this is your problem, but also i might be wrong
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
gila
Offline
Posts: 49
Re: a little problem with media directoy creation
«
Reply #4 on:
March 26, 2008, 08:40:55 AM »
i used this admin area few time, i know how it works, but now i ha ve thi sproblem, i hope the image explain better than my words
Logged
spawnferkel
Offline
Posts: 96
Re: a little problem with media directoy creation
«
Reply #5 on:
March 26, 2008, 11:35:25 AM »
Hahaha.
Sorry. Your problem is not very funny but your image is ingenius!
Please create an additional folder in "aaa".
Do you see any seperating trailing slash in the dir list after that?
Bye
Alexander
Logged
gila
Offline
Posts: 49
Re: a little problem with media directoy creation
«
Reply #6 on:
March 26, 2008, 11:52:25 AM »
i cannot create a new folder in aaa because also in the dir list creation i have the same error...
after ceating a bbb folder into the aaa folder, by ftp, in the wb upload panel i have the same error: mediaaaabbb
«
Last Edit: March 26, 2008, 11:56:11 AM by gila
»
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: a little problem with media directoy creation
«
Reply #7 on:
March 26, 2008, 12:38:45 PM »
Hello,
as it seems to work lokal and not on the server it looks like a server missconfiguration. Also please have a look if all files from WB 2.7RC2 are uploaded correct. If this is ok, please ask your hoster.
Matthias
Logged
doc
Guest
Re: a little problem with media directoy creation
«
Reply #8 on:
March 26, 2008, 12:44:06 PM »
Hello Gilla,
can you please check if the error also occurs on your server with
WB 2.6.7
? Can you provide some more details on the server configuration you are using?
Regards Christian
Logged
spawnferkel
Offline
Posts: 96
Re: a little problem with media directoy creation
«
Reply #9 on:
March 26, 2008, 12:50:12 PM »
ah ok.
I have found something in the code.
Please make sure that your homefolder is not "/".
Please clear any value in this field and try it again.
Bye
Alexander
Logged
spawnferkel
Offline
Posts: 96
Re: a little problem with media directoy creation
«
Reply #10 on:
March 26, 2008, 12:59:19 PM »
Ah no.
It is because your WB_PATH is only a slash.
It seems like a bug of the RC1 version
@ruebenwurzel
please have a look to the line 46 in the file admin/media/index.php
«
Last Edit: March 26, 2008, 01:01:17 PM by spawnferkel
»
Logged
gila
Offline
Posts: 49
Re: a little problem with media directoy creation
«
Reply #11 on:
March 31, 2008, 02:04:25 PM »
hi everybody, i solved
i add a substring into the line 46 in the file admin/media/index.php
$template->set_var('NAME', str_replace(WB_PATH, '/', substr($name, 1))); echo WB_PATH."-".$name;
thank you.
Logged
thorn
Offline
Posts: 980
Re: a little problem with media directoy creation
«
Reply #12 on:
April 04, 2008, 06:24:48 PM »
Hello,
Quote from: gila on March 31, 2008, 02:04:25 PM
echo WB_PATH."-".$name;
What's the output of this line - what's the contents of WB_PATH?
Did you install in a kind of chroot-environment (and WB_PATH becomes '/')?
thorn.
Logged
Projekte
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...