Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Error uploading Images 'IMPATH'?!? Please help me!
Hi Lizzy,
Rabah’s suggestion only requires you to write to your host regarding this problem and they will be able to solve it for you. All you need to do is ask them if they “could give php permission on writing on the ‘content’ directory on: http://www.hopemanagement.co.uk/admin/inc/img/content/”
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#14 2012-07-04 14:05:06
- LizzyB
- New Member
- Registered: 2012-06-25
- Posts: 8
Re: Error uploading Images 'IMPATH'?!? Please help me!
Ah ok, thank you – sorry I’m not very good at this!
Offline
#15 2012-07-04 17:34:30
- LizzyB
- New Member
- Registered: 2012-06-25
- Posts: 8
Re: Error uploading Images 'IMPATH'?!? Please help me!
hmm so I asked our host / server people and they said:
From the looks of the error message, it is indicating that in your script you have already defined the constant IMPATH, and having defining it again will cause a conflict. I would recommend you contacting your developer to investigate this issue. Unfortunately we do not troubleshoot coding related issues as this is out of our scope of support.
I have found a link which will assist you in determining where a PHP constant is defined: http://www.electrictoolbox.com/tell-if-php-constant-defined-already/
xxxxxxxxxxxxx
However, as I said I cannot contact my developer and I dont understand about checking the PHP so am still stuck!!
Offline
#16 2012-07-04 19:45:13
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Error uploading Images 'IMPATH'?!? Please help me!
Lizzy, when you visit Admin > Preferences > Advanced, what does it say for ‘Image directory’?
Offline
Re: Error uploading Images 'IMPATH'?!? Please help me!
Hi Lizy
I think someone has changed the “path to site” on your textpattern admin then go to admin/preference and change it back to
C:\Inetpub\vhosts\hopemanagement.co.uk\httpdocs\
right now it has a /admin added at the end, that s why the image path looks like this:
C:\Inetpub\vhosts\hopemanagement.co.uk\httpdocs\admin/admin/inc/img/
a double admin in the path is not correct i think, change the path to site will solve that.
Cheers
Last edited by Dragondz (2012-07-05 09:44:06)
Offline
#18 2012-07-05 10:39:50
- LizzyB
- New Member
- Registered: 2012-06-25
- Posts: 8
Re: Error uploading Images 'IMPATH'?!? Please help me!
for Image Directory it says: ‘admin/inc/img/content’
Offline
#19 2012-07-05 12:58:26
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Error uploading Images 'IMPATH'?!? Please help me!
Lizzy, please try what Dragondz proposes. In your case it’d mean to remove admin/
from the path for your image directory.
Edit: Sh.., Dragondz meant something else. But you could try both proposals.
Last edited by uli (2012-07-05 13:10:41)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Error uploading Images 'IMPATH'?!? Please help me!
What Dragondz is suggesting is that you should correct the path to site which can be found via ftp on
C:\Inetpub\vhosts\hopemanagement.co.uk\httpdocs\textpattern\config.php
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#21 2012-07-05 13:45:14
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Error uploading Images 'IMPATH'?!? Please help me!
Then again: when the site path is changed, all CSS is broken (which isn’t). So my (though sloppy) presumption what Dragondz might have meant could be correct.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Error uploading Images 'IMPATH'?!? Please help me!
uli wrote:
Then again: when the site path is changed, all CSS is broken (which isn’t). So my (though sloppy) presumption what Dragondz might have meant could be correct.
true:)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#23 2012-07-05 21:07:32
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Error uploading Images 'IMPATH'?!? Please help me!
for Image Directory it says: ‘admin/inc/img/content’
Well, at least that is correct. This is strange though:
Site URL preference might be incorrect: www.hopemanagement.co.uk/admin ?
But diagnostics say:
$path_to_site: C:\Inetpub\vhosts\hopemanagement.co.uk\httpdocs\admin
...
Site URL: www.hopemanagement.co.uk
The Site URL preference is set correctly, because on the login page the ‘view site’ link goes to www.hopemanagement.co.uk (and not to /admin/). Looks to me like that pre-flight check message is incorrect… (or at least not very clear).
Lizzy, what is the content of config.php? It’s in the ‘textpattern’ directory. If you post it, please remove the password that’s in there.
Offline
#24 2012-07-05 23:40:53
- GugUser
- Member
- From: Quito (Ecuador)
- Registered: 2007-12-16
- Posts: 1,473
Re: Error uploading Images 'IMPATH'?!? Please help me!
LizzyB schrieb:
for Image Directory it says: ‘admin/inc/img/content’
After analyzing your HTML and what has been written in the different answers I think it should be inc/img/content
.
Offline