Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2013-11-01 18:20:45
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
Diagnosis says:
$path_to_site: */home/example/public_html/blogg*
Is that how it should be? I ask because the path to the Web site is /home/example/public_html – the path that $path_to_site lists is more ”the path to blog” …
Diagnosis says: ”Site URL preference might be incorrect: example.no/blogg ?”
However: The site url, as set in preferences, is simply example.no.
I don’t understand why Textpatterns tells me that the site URL is example.no/blogg …
Last edited by komputist (2013-11-01 18:26:27)
Offline
Re: Images not working due to non-standard install location. How to fix?
komputist wrote:
The site url, as set in preferences, is simply example.no.
The site URL should set to example.no/blogg. You have installed Textpattern to sub-directory. This would also be the reason why links and images are using wrong URLs.
Offline
#15 2013-11-01 18:32:46
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
komputist wrote:
I don’t understand why Textpatterns tells me that the site URL is example.no/blogg …
I changed site URL from example.no to example.no/blogg, so that it site URL and site path would match …
That was it. Now it seems to work.
But for future users of Textpattern, I really hope that you find some other wording than ”site URL”.
Offline
#16 2013-11-01 18:36:43
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
Gocom wrote:
The site URL should set to example.no/blogg. You have installed Textpattern to sub-directory. This would also be the reason why links and images are using wrong URLs.
Right. And thanks for confirming!
But the help text for ”Site URL” (in the Preferences) says: ”This is the top-level domain of the server your site is running on, for example www.textpattern.com.”. And I would argue that most people consider ”site” to cover top-level domains (such as textpattern.com) or sub level domains (such as www.textpattern.com or blog.textpattern.com).
Since Textpattern can be installed in any folder, the text should be clear on the fact that “site URL” does not refer to “top level domain“ or ”sub level domain”. It simply refers to the directory that Tetpattern operates within!
Agreed?
Last edited by komputist (2013-11-01 18:37:10)
Offline
Offline
#18 2013-11-01 18:41:55
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
Will you report bug? I can also report bug, but thank you if you take are of it. ;-D
Offline
Re: Images not working due to non-standard install location. How to fix?
I see a problem in the diagnostics. It sais that your site is at example.no but your install is at example.no/blogg/. You might have to change that in admin>preferences to point to example.no/blogg
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#20 2013-11-01 20:26:31
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
colak wrote:
I see a problem in the diagnostics. It sais that your site is at example.no but your install is at example.no/blogg/. You might have to change that in admin>preferences to point to example.no/blogg
Yup, I guess this is exactly what Gocom and myself concluded above. And, as well, it turned out to be the solution to my problem! :-)
Offline
Re: Images not working due to non-standard install location. How to fix?
:) read read read… sometimes I’m too quick with typing before reading. I’m glad your problem is solved.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#22 2013-11-02 10:37:02
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
colak wrote:
:) read read read…
Problem is that I am Mr Wordy. ;-)
Offline
Re: Images not working due to non-standard install location. How to fix?
Just a quick thought.
Is the central apache config file doing something with the /images directory?
Can you check this?
Geek by nature, Linux by Choice.
Offline
#24 2013-11-04 22:51:05
- komputist
- Member
- From: Oslo, Norway
- Registered: 2013-11-01
- Posts: 17
Re: Images not working due to non-standard install location. How to fix?
hvdkooij wrote:
Just a quick thought.
Is the central apache config file doing something with the /images directory?
Can you check this?
thanks for the tip, I’ll check if I contintinue to have problems. But since the problem is now gone, I’ll leave it as is for now.
Offline