Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 01:21:44 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155554
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
incorrect path to files
Pages: [
1
]
Go Down
Author
Topic: incorrect path to files (Read 1838 times)
Will
Offline
Posts: 4
incorrect path to files
«
on:
November 19, 2006, 11:44:54 AM »
Hi
I've installed a copy of WebsiteBaker 2.6.2 and everything seemed to be working fine. Just now I tried to insert a picture into a WYSIWYG page from the Media function. When I saved the page the picture disappeared and a red cross replaced it.
It seems that it was looking for the file in "
http://media/b2.png
" when of course the file is actually under "
http://mydomain.com/media/b2.png
", it also did a similar thing when trying to submit a form.
Any idea what is going on?
Sorry if this has been dealt with before, I searched before posting but couldn't find anything (probably not looking in the right places)
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: incorrect path to files
«
Reply #1 on:
November 19, 2006, 12:03:25 PM »
Hello,
can you look to your config(.)php. Maybe the pathes there are not correct.
Why did you use WB 2.6.2. The latest version is 2.6.4. I recommand to use 2.6.4 because there are fixed a few bugs.
Also the default WYSIWYG Editor is a little bit outdated. Look at the
Add-ons Repository
for FCKEditor or XINHA Modul. This are additional WYSIWYG Editors. Install them as modul and activate them in settings - show advanced options.
Matthias
Logged
Will
Offline
Posts: 4
Re: incorrect path to files
«
Reply #2 on:
November 19, 2006, 12:05:55 PM »
thanks for the quick response
had a look in the config(.)php and it all seems fine. i used 2.6.2 because, being lazy, I used elefante script installer which bundles version 2.6.2, i'm just in the process of upgrading to 2.6.4 as i type.
i'll install those other ediots as well.
cheers,
Will
EDIT - problem still not solved after upgrade, unlikely to me a problem with the WYSIWYG editor as have also had the same problem when trying to submit a form, looks for the file locally.
«
Last Edit: November 19, 2006, 12:16:18 PM by Will
»
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: incorrect path to files
«
Reply #3 on:
November 19, 2006, 01:51:34 PM »
Hello
Quote
config(.)php ... all seems fine
Your errors are typical for wrong pathes in this file. Can you post the four lines with the pathes?
Matthias
Logged
Will
Offline
Posts: 4
Re: incorrect path to files
«
Reply #4 on:
November 20, 2006, 12:15:26 AM »
Four lines from config(.)php -
Code:
define('WB_PATH', dirname(__FILE__));
define('WB_URL', 'http://thbc.wtpictures.com/');
define('ADMIN_PATH', WB_PATH.'/admin');
define('ADMIN_URL', 'http://thbc.wtpictures.com/admin');
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: incorrect path to files
«
Reply #5 on:
November 20, 2006, 05:50:41 AM »
Hello,
you use a free hoster? Can it be that your Url is redirected?.
think the problem is the WB Path. Is taken as Variable wich didn't work with some free hosters. Ask your hoster for the absolute path and hardcode it. Should be something like
"/www/htdocs/thbc/wtpictures.com".
Matthias
Logged
Will
Offline
Posts: 4
Re: incorrect path to files
«
Reply #6 on:
November 20, 2006, 10:10:55 AM »
it's paid hosting, but is a subdomain on my top level domain.
As far as I know the absolute path is - /home/www/thbc.wtpictures.com.
How would I hardcode that in to WB and do you think it will help?
«
Last Edit: November 20, 2006, 10:37:02 AM by Will
»
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: incorrect path to files
«
Reply #7 on:
November 20, 2006, 11:37:26 AM »
Hello,
with phpinfo() you should get the path.
including in WB only change one line in config(.)php. Change
Code:
define('WB_PATH', dirname(__FILE__));
to
Code:
define('WB_PATH', '/home/www/thbc.wtpictures.com');
Matthias
Edit:
Saw in your config(.)php a little issue please change first
Code:
define('WB_URL', 'http://thbc.wtpictures.com/');
to
Code:
define('WB_URL', 'http://thbc.wtpictures.com');
without the slash at the end. Maybe this solves your problems.
«
Last Edit: November 20, 2006, 11:41:08 AM by ruebenwurzel
»
Logged
millimoo
Offline
Posts: 2
Re: incorrect path to files
«
Reply #8 on:
January 09, 2008, 06:35:47 PM »
Hi,
I'm having the same problem, on 2.6.5 with hosting on resellerspanel.
Was there a resolution to it, or is it to do with the paths in the config.php and the hosting company?
Many thanks!
Dave
Logged
millimoo
Offline
Posts: 2
Re: incorrect path to files
«
Reply #9 on:
January 10, 2008, 06:27:41 PM »
I'm still having problems with this. I've tried a couple of different installs and it seems consistent. It does the same thing with images too.
I've added a new form call test. When I click submit, it seems to loose it's path back, so goes from this:
http://netlifedesign.com//pages/test.php
to this:
http://pages/test.php
and so returns an error.
Any help would be very gratefully received as I've really no idea!
Best regards,
Dave
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7973
Re: incorrect path to files
«
Reply #10 on:
January 11, 2008, 04:49:42 AM »
Hello,
please double check your config.php. There is a double "//" in the Url wich comes from a "/" to much in config.php. It is the same as i already described a few posts above. So please before posting read the threads and follow the advices.
Matthias
Logged
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...