Jump to content
Sign in to follow this  
MaxiDVD

[SUPPORT] HTML Editor and UltraPics by MaxiDVD

Recommended Posts

This contribution works perfectly well all you need to do is read the install and follow the instructions

 

if you are getting errors it is becuase you have missed something out and admittedly this install process needs to be done one step at a time just be careful

 

Andrew

What directions are there to follow? Copy the files over & run the sql query! Not that hard. I have repeated the steps like 4 times & have the same errors so not sure how it could be me. Any suggestions on how to fix the problems are welcome.


Knowledge is Power!

Share this post


Link to post
Share on other sites

sorry I cant help I installed it first time it works perfectly :)

 

have you got the right permision on all the directories? including the extra directory for the images? netpbm

 

actually I now recall I did all the modifications by hand not by copying all the files over!

 

have you made any other modifications?

 

Andrew

Share this post


Link to post
Share on other sites
have you got the right permision on all the directories? including the extra directory for the images? netpbm

 

yes, i set them both to 755 or 777 makes no big difference... my problem seems to be somewhere else :-/

 

i copied most files. some files i've modified by my self because other contrips

Share this post


Link to post
Share on other sites

so ive solved one problem, savemode ist deaktivated know :P

 

but the resize still does not work!

 

i've also testet it on a fresh install ---> also no resize

 

 

now it says only: "image 'test.jpg' was resized to x "

the new file is 0 kb

 

 

damn

 

 

any ideas what to do now?

Share this post


Link to post
Share on other sites

HTML Editor + UltraPICs Combined Contribution

 

sorry, i can't import the sql files into my database

some error message :

 

INSERT INTO configuration( configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function )

VALUES (

 

'', 'Large Image Width (Pop-up)', 'LARGE_IMAGE_WIDTH', , 'The pixel width of large images (Pop-up)<br>(Use 0 for non-specific size)', 4, 32, now( ) , now( ) , NULL , NULL

)

#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'The pixel width of large images (Pop-up)<br>(Use 0 for non-sp

Share this post


Link to post
Share on other sites

I discover the sql files has error in the first/last parts of code

So,these parts of code is can't to import into the database

Anyone help me??i really want to install this Contribution :) ,thanks all

 

first part:

INSERT INTO configuration_group (configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible) VALUES ('112', 'WYSIWYG Editor 1.7', 'HTMLArea 1.7 Options', '15', '1');

 

Error:

Error

 

SQL-query :

 

INSERT INTO configuration_group( configuration_group_id, configuration_group_title, configuration_group_description, sort_order, visible )

VALUES (

 

'112', 'WYSIWYG Editor 1.7', 'HTMLArea 1.7 Options', '15', '1'

)

 

MySQL said:

 

 

#1062 - Duplicate entry '112' for key 1

 

=================================

 

Last part

 

 

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Enable Additional Images?', 'ULTIMATE_ADDITIONAL_IMAGES', 'Enable', 'Display Additional Images below Product Description?', 4, 20, now(), now(), NULL, 'tep_cfg_select_option(array(\'Enable\', \'Disable\'),');

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Enable PHP Image Manager?', 'WYSIWYG_USE_PHP_IMAGE_MANAGER', 'Enable', 'Enable/Disable PHP Ultra-Image Manger?', 4, 21, now(), now(), NULL, 'tep_cfg_select_option(array(\'Enable\', \'Disable\'),');

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Additional Thumb Width', 'ULT_THUMB_IMAGE_WIDTH', '140', 'The pixel width of additional thumb images', 4, 23, now(), now(), NULL, NULL);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Additional Thumb Height', 'ULT_THUMB_IMAGE_HEIGHT', '120', 'The pixel height of additional thumb images', 4, 25, now(), now(), NULL, NULL);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Medium Image Width', 'MEDIUM_IMAGE_WIDTH', '200', 'The pixel width of medium images', 4, 28, now(), now(), NULL, NULL);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Medium Image Height', 'MEDIUM_IMAGE_HEIGHT', '200', 'The pixel height of medium images', 4, 30, now(), now(), NULL, NULL);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Large Image Width (Pop-up)', 'LARGE_IMAGE_WIDTH', , 'The pixel width of large images (Pop-up)<br>(Use 0 for non-specific size)', 4, 32, now(), now(), NULL, NULL);

INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('', 'Large Image Height (Pop-up)', 'LARGE_IMAGE_HEIGHT', , 'The pixel height of large images (Pop-up)<br>(Use 0 for non-specific size)', 4, 35, now(), now(), NULL, NULL);

 

ALTER TABLE products ADD products_image_med VARCHAR(64) AFTER products_image;

ALTER TABLE products ADD products_image_lrg VARCHAR(64) AFTER products_image_med;

ALTER TABLE products ADD products_image_sm_1 VARCHAR(64) AFTER products_image_lrg;

ALTER TABLE products ADD products_image_xl_1 VARCHAR(64) AFTER products_image_sm_1;

ALTER TABLE products ADD products_image_sm_2 VARCHAR(64) AFTER products_image_xl_1;

ALTER TABLE products ADD products_image_xl_2 VARCHAR(64) AFTER products_image_sm_2;

ALTER TABLE products ADD products_image_sm_3 VARCHAR(64) AFTER products_image_xl_2;

ALTER TABLE products ADD products_image_xl_3 VARCHAR(64) AFTER products_image_sm_3;

ALTER TABLE products ADD products_image_sm_4 VARCHAR(64) AFTER products_image_xl_3;

ALTER TABLE products ADD products_image_xl_4 VARCHAR(64) AFTER products_image_sm_4;

ALTER TABLE products ADD products_image_sm_5 VARCHAR(64) AFTER products_image_xl_4;

ALTER TABLE products ADD products_image_xl_5 VARCHAR(64) AFTER products_image_sm_5;

ALTER TABLE products ADD products_image_sm_6 VARCHAR(64) AFTER products_image_xl_5;

ALTER TABLE products ADD products_image_xl_6 VARCHAR(64) AFTER products_image_sm_6;

 

#

# Table structure `information`

#

 

DROP TABLE IF EXISTS information;

CREATE TABLE information (

information_id tinyint(3) unsigned NOT NULL auto_increment,

visible enum('1','0') NOT NULL default '1',

v_order tinyint(3) unsigned NOT NULL default '0',

info_title varchar(255) NOT NULL default '',

description text NOT NULL,

languages_id int(11) DEFAULT '0' NOT NULL,

 

PRIMARY KEY (information_id,languages_id)

) TYPE=MyISAM;

 

Error:

Error

 

SQL-query :

 

INSERT INTO configuration( configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function )

VALUES (

 

'', 'Large Image Width (Pop-up)', 'LARGE_IMAGE_WIDTH', , 'The pixel width of large images (Pop-up)<br>(Use 0 for non-specific size)', 4, 32, now( ) , now( ) , NULL , NULL

)

 

MySQL said:

 

 

#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 'The pixel width of large images (Pop-up)<br>(Use 0 for non-sp

[Documentation] ? [back]

Share this post


Link to post
Share on other sites

can someone help me with this? I installed it and I'm having a couple of problems. I'm really new to this stuff, so its probably something simple. I can add the multiple images and they all work fine, but on the product add page I don't get the icon/options for uploading or editing the pictures. So as long as the pictures are already on the server it works fine. I went to the configuration in the admin panel and made sure it was all enabled. I would really like to be able to use the features of this contribution. I'm also running the multiple admin contribution if that makes any difference. Please point me in the right direction as to where to look for what I missed. Thanks

Share this post


Link to post
Share on other sites

ok, my problem is somewhat solved. The icons for editing & uploading are present and work fine in internet explorer, but they're not there in netscape. I think I have a browser issue. Is there any way to make it work in netscape? I hate ie..

Share this post


Link to post
Share on other sites

Does anyone know if this contrib will allow me to control the orientation (landscape or portriat) of the thumbnail images when a customer is viewing the product? I need to show some of them in landscape but others in portrait.

 

Thanks!

Share this post


Link to post
Share on other sites
but the resize still does not work!

 

i've also testet it on a fresh install ---> also no resize

 

 

now it says only: "image 'test.jpg' was resized to x "

the new file is 0 kb

Did anyone solve this problem? I need a fix for this ASAP - and I have spent days looking into it.

Is it something with the shell_exec? Something with NETBPM?

 

Any insight on this will be greatly appreciated it.

Share this post


Link to post
Share on other sites

Hello All,

 

I'm working with this great contrib for couple of monts successfully. But if I try to delete a product which has med and large and also extra images, only main image is deleted. Then I need to remove other additional images manually from ftp.

 

 

Delete product option calls following function from /functions/general.php

 

tep_remove_product($product_id)

 

and as you know it deletes only main image using this code.

 

if ($duplicate_image['total'] < 2) {
     if (file_exists(DIR_FS_CATALOG_IMAGES . $product_image['products_image'])) {
       @unlink(DIR_FS_CATALOG_IMAGES . $product_image['products_image']);
     }
   }

 

But what about other images?

 

Did I miss something?

 

Thanks

 

Snowbird

Share this post


Link to post
Share on other sites

OK I am posting to this forum hoping someone herre can help me. I have a site with many contributions. I am not trying to get the Additional Images (SM1-6 and XL 1-6) to use the HTML image tool like the 3 main images do.

 

I am missing something as I can not get the Choose Image Button to come up for these imges, I have copied in the code for the text area box so it doesn't use the Browse Button system - but it looks like it would if I was using Firefox - the three main images have the dark gray header and the button but cna't find where to set it so the Addition Images have the upload option.

 

help please....


osC Contributions I have published.

 

Note: Some I only provided minor changes, updates or additions!

Share this post


Link to post
Share on other sites

Or maybe can someone can tell me how to change this so it will not try to upload and will only save the filename that is typed in manually.

 

$products_image_sm_1 = new upload('products_image_sm_1');
       $products_image_sm_1->set_destination(DIR_FS_CATALOG_IMAGES);
       if ($products_image_sm_1->parse() && $products_image_sm_1->save()) {
         $products_image_sm_1_name = $products_image_sm_1->filename;
       } else {
         $products_image_sm_1_name = (isset($HTTP_POST_VARS['products_previous_image_sm_1']) ? $HTTP_POST_VARS['products_previous_image_sm_1'] : '');


osC Contributions I have published.

 

Note: Some I only provided minor changes, updates or additions!

Share this post


Link to post
Share on other sites

Hey all,

 

I've succefully installed the contribution on the my home computer. When I go to the main catalog page it says "Congrats on succefull installation......".

 

When I try to upload this to my live store, my main page is blank. I have the banner at the top and sides but nothing in the middle. Any suggestions?

 

I panic and load my backup to the store.

 

FYI, the only other contribution that I have installed is the IPN.

 

Thanks.

Share this post


Link to post
Share on other sites

Ok, running into this error when trying to use Ultra Pics mod and HTML editor.

error.png

 

I'll say ok on this, then there is a second one behind it and I say yes on that one also, then it still doesn't function.

Share this post


Link to post
Share on other sites

Ok, this seems to have gone away once I put it only in the http dir, while running split dir's http / https I was having this problem.

 

Question is, will this happen again once I enable SSL?

 

Question 2 is this: I can upload images and they show up, but if I go to edit the image or do any other modifications to images using this mod, the images get deleted from the server.

 

Anyone know how to correct this problem with jspy?

Share this post


Link to post
Share on other sites

Just installed this great contribution. But I am having a problem with the size of the image upload box (guess the name is Image Manager), the box is too small, I can just see the ok button, but the rest in the bottom is not to bee seen, it is also to small in with. How/where to correct that?

Share this post


Link to post
Share on other sites

Hi all great contrib!!! =)

 

But I seem to have run into some problems hehe

 

html works like a charm!

 

Uploading images works fine :)

 

But if i try to rezise images i get a msg

 

"image rezised to X"

 

and 0 k files with the new name are created on the server, these files can not be seen in admin tool but have to log on via ftp to delete them!

 

Any sugestions on where to start looking would be great

 

Oh btw kick a s s contrib :) to bad i am to stupid to get it workin...

Share this post


Link to post
Share on other sites
I was able to fix the SSL errors many have faced in this forum...I still get a message though such as: Would you like to dissplay some of the unsecure items...

 

I think it is because of the folder images in the lister and viewer file...

 

Has anyone figured this out?

 

How did you fix this? Was there a particular post you used as a guide?

Share this post


Link to post
Share on other sites
I've sorted my main problem with the image viewer. This solution maybe of interest to others who are using a shared ssl site to access their admin area. If your normal url is http://www.mybusiness.co.uk and you are using a shared ssl server, you are generally given a sub-directory on the shared ssl server e.g. https://www.securesite.co.uk/mybusiness. It was this extra directory and a "http://" which were causing my problems.

 

In admin/htmlarea/popups/file/config.inc.php at lines 291 and 400, the following is used in scriptURL() and imageURL()

 

  // return the URL
  return ("http://" . $HTTP_SERVER_VARS["HTTP_HOST"] . $url);

 

For this example  $HTTP_SERVER_VARS["HTTP_HOST"] gives www.securesite.co.uk and not the directory that most of us need if using a shared SSL. With this in mind make sure that your defines in admin/configure.php are set correctly. In particular, scriptURL() and imageURL(), use the following defines to find the image directory.

 

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

define("IMAGE_URL", trim(DIR_WS_CATALOG_IMAGES));

 

so make sure that there are correct. Also note the http:// and not https://, you will also need to change this. I hope this helps.

 

cheers

Simon

 

 

Hey Simon, thank you for taking the time to explain how you fixed this problem. I am faced with the same issue at this moment.

I'm wondering if you wouldn't mind explaining in more detail how to fix this. From reading your post quoted above, I'm not clear on what exactly I should do to my defines in configure.php file, nor am I clear on where to amend the http:// element.

 

You help will be greatly appreciated.

 

Thank you,

 

Todd

Share this post


Link to post
Share on other sites

Hello, thanks for this nice Contrib.

 

I have a problem with this. I use the Firefox or Netscape Navigator Browser. The Contrib works only with ie6?

 

With FireFox / Netscape not work the Picture Upload and HTML Editor in categories.php.

 

Screenshot:

IE6:

ultra-02.jpg

 

Netscape/FireFox:

ultra-01.jpg

 

 

Can you help me with this Problem?

 

Fallout

Share this post


Link to post
Share on other sites

Has anyone got step by step instructions for this contribution for install in to a catalog with already a lot of contribs installed drop in I am affraid doesnt work for me.

 

Thx in advance, and I know I can use compare software but instructions would also help.

 

And also help on this I already have HTML WYSIWYG Editor in my site and this comes with both in the pages, phew this could take a long while, :'(

Edited by j0ker

Always seeking & Desperate to find a solution!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×