Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi I just installed the HTML editor contrib.. working nicely except I am having a problem trying to add an image into my editing space.

 

When the "Image Manager" pop-up box appears I browse to and then try to upload an image and I get an error saying [ File "image.gif" could not be created ]

 

Also if I don't browse to a file on my local computer and just hit the "Upload" button.. I get an error saying

[ Invalid upload environment ]

 

And I can't create a folder as well..

 

I'm pretty sure everything else in the editor works fine..

 

Can anyone please help me getting the "Image Manager" working.

 

Many thanks in advance

 

Mik

  • 8 months later...
Posted

I am also gettin ghte "invalid upload environment" when i try and upload an image. I have never had a problem in the past and it is now giving me the error message when i try and upload a picture.

 

were you able to fix this problem????

 

 

 

 

 

Hi I just installed the HTML editor contrib.. working nicely except I am having a problem trying to add an image into my editing space.

 

When the "Image Manager" pop-up box appears I browse to and then try to upload an image and I get an error saying [ File "image.gif" could not be created ]

 

Also if I don't browse to a file on my local computer and just hit the "Upload" button.. I get an error saying

[ Invalid upload environment ]

 

And I can't create a folder as well..

 

I'm pretty sure everything else in the editor works fine..

 

Can anyone please help me getting the "Image Manager" working.

 

Many thanks in advance

 

Mik

  • 1 year later...
Posted

Guys,

 

seems that it's something general in here :)

 

I found another 2 posts with this issue and I have the same problem like you guys. I hope to find that answer and I'm gonna paste it here

Posted
Guys,

 

seems that it's something general in here :)

 

I found another 2 posts with this issue and I have the same problem like you guys. I hope to find that answer and I'm gonna paste it here

 

 

I found it if you still need that code

 

Find in config.php in catalog/admin/htmlarea/popups

 

at line 16 aproximatly find this code

define("IMAGE_DIR", trim(DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG_IMAGES));
define("IMAGE_URL", trim(DIR_WS_CATALOG_IMAGES));

 

and replace with this

 

define("IMAGE_DIR", trim(DIR_FS_CATALOG . DIR_WS_IMAGES));
define("IMAGE_URL", trim(DIR_WS_IMAGES));

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...