Jump to content
dculley

KissIT Image Thumbnailer Phoenix

Recommended Posts

using Phoenix 1.0.4.3 not live yet

Trying to get 'Optional Admin Installation' to work.  Followed all the instructions.  But seem to be missing a file.  After the upload of the modified files I went to admin - catalog - catagories/products and got the following error.

image.thumb.png.c07f9810be151b096d38df138d38e64c.png

Line 138 is :

require_once 'includes/modules/kiss_image_thumbnailer/classes/Image_Helper.php';

I don't see this file under classes. 

Can someone help?  Please

The " Support thread: http://forums.oscommerce.com/topic/388022-kissit-image-thumnailer/ " dos not work. 

Share this post


Link to post
Share on other sites

There are 2 x files needed (Image.php and Image_Helper.php) under catalog/includes/modules/kiss_image_thumbnailer/classes/


Getting the Phoenix off the ground

Share this post


Link to post
Share on other sites
6 hours ago, dculley said:

using Phoenix 1.0.4.3 not live yet

Trying to get 'Optional Admin Installation' to work.  Followed all the instructions.  But seem to be missing a file.  After the upload of the modified files I went to admin - catalog - catagories/products and got the following error.

image.thumb.png.c07f9810be151b096d38df138d38e64c.png

Line 138 is :

require_once 'includes/modules/kiss_image_thumbnailer/classes/Image_Helper.php';

I don't see this file under classes. 

Can someone help?  Please

The " Support thread: http://forums.oscommerce.com/topic/388022-kissit-image-thumnailer/ " dos not work. 

You have to upload a copy to your admin directory, see instructions:

Quote

1) Uploads

Upload the uploads directory to your osCommerce Admin installation preserving the directory structure. No core files are changed or overwritten, these files are all new, so this action is entirely safe.

Uploads/catalog/includes/modules/kiss_image_thumbnailer/all content..
Uploads/catalog/images/no_image_available_150_150.gif
Uploads/catalog/images/watermark.png

To:

[catalog]/admin/includes/modules/
[catalog]/admin /images/no_image_available_150_150.gif
[catalog]/admin /images/watermark.png

NOTE: files are identical for catalog and admin.

Quote

I don't see this file under classes. 

What do you mean by "under classes"?

catalog/admin/includes/classes/
or
catalog/includes/classes/
or
catalog/includes/modules/kiss_image_thumbnailer/classes/
or
catalog/admin/includes/modules/kiss_image_thumbnailer/
classes/

Please post complete paths.

The correct path for admin installation is:
catalog/admin/includes/modules/kiss_image_thumbnailer/classes/

 

Edited by raiwa

Share this post


Link to post
Share on other sites

Fixed

The kissit includes folder did not upload all the way to admin.  Reloaded it and files are in place. 

Thanks. 

 

Share this post


Link to post
Share on other sites

Upgraded Phoenix 1.0.5.1 to 1.0.5.2. Noticed it broke the pictures in KissIT_image_thumbnailer_3.0.0 admin option.  Can I use the last instructions that I used in V1.0.4 or do I need a new set of instructions?  The admin option was working in 1.0.5.1.
 

 

Share this post


Link to post
Share on other sites

Hello Dean @dculley,

Please use the new official support thread. I do not follow this thread and saw your post just casually:

On 1/27/2020 at 11:33 AM, raiwa said:

New support thread:

 

FOr your question:

I'll update when I'll find some time. The admin part is not urgent and I still had no time to have a look on 1.0.5.2.

Share this post


Link to post
Share on other sites

Thought I had the correct support thread.  I see my post just above yours.  Not sure what I did wrong.  But any how, Thanks for your help. 

How can I tag you with the "@xxxxx" I use to know.  But it has been a long time since I need to have so much help.  This Phoenix has been a bumpy ride.  I still have some more add-ons that I need to match up with my current site running under OSC 2.3.4 BS. 

 

Thanks again for all you do. 

 

Share this post


Link to post
Share on other sites
1 hour ago, dculley said:

How can I tag you with the "@xxxxx"

You type @ and then the person's username.  E.g. @dculley -- just as it looks.  It will change the color and background automatically.  You may need to have Javascript enabled for it to recognize the format. 


Always back up before making changes.

Share this post


Link to post
Share on other sites

I'm on phoenix 1.0.5.2

Since the upgrade I have lost images under categories on mine side of the web site and admin side.  I have no idea how to fix.

 

Share this post


Link to post
Share on other sites

The support thread is this:

KissIT Image Thumbnailer Support

You just had to click in the topic title I quoted above.

I have no time tom fix this immediately. If you can't get it to work at least on the public store side. Switch Kissit Thumbnailer off or roll back to your last working backup.

Share this post


Link to post
Share on other sites

@raiwa

I did click on the kissit image thubnailer support.

To find out that the last real working version I had was V1.0.4.3

it was not working in 1.0.5.0 either.  I tried it.  I prefer to keep going forward.

The sight is not live.  I still have to get this roller coaster ride (with Phoenix) to come to stop.  I'm a long way from going live.  Reason is problems like this that comes up and other add ones I use in 2.3.4 will not work yet with Phoenix.

I guess I will have to wait.  I've only been trying since last October to get a working version and with the add-ons I need. 

I'm not a programmer so I appreciate all you do.  Thanks

 

Share this post


Link to post
Share on other sites

hi Raiwa,  @raiwa

Thank you very much for this addon, I installed it on CE1.0.5.0 version, it was working, and when i tried to install new addon, click on admin/modules/conent/ found it turn into blank, but the front page still working,
 image.thumb.png.4c4a940e086bee3474dab0d5cfc7a66a.png

if i delete the kissIT php file, then the content list come back and can install new addon.

So today I install it on another test website, but this time, the front page turn blank, the admin also turn blank completely. I asked the hosting company, they turn on the error message but only show the front end, the admin/modules/content show nothing just blank. the error message for front end is as below:

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Array ( [type] => 64 [message] => Cannot redeclare tep_image() (previously declared in /mywebsite.com/includes/hooks/shop/system/kissItImage.php:22)
#22 code:   function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $responsive = true, $bootstrap_css = '', $watermark = true) {
[file] => /mywebsite.com/includes/functions/html_output.php [line] => 127 )
#122 code:      if (tep_not_null($width) && tep_not_null($height)) {
#123 code:       $image .= ' width="' . tep_output_string($width) . '" height="' . tep_output_string($height) . '"';  
#124 code:     }    
#125 code:     
#126 code:     $image .= ' class="';    
#127 code:     
#128 code:     if (tep_not_null($responsive) && ($responsive === true)) {   
#129 code:       $image .= 'img-fluid';
 #130 code:     }   
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
html_output.php had follow your instruction to change the code:

//////////////////////////////////////////////////////////////////////////////
//BOF KissIT Image Thumbnailer Phoenix   
////
// The HTML image wrapper function
  // function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $responsive = true, $bootstrap_css = '') {
 
////
// The HTML image wrapper function
if ( !function_exists('tep_image') ) { // KissIt Image check if modified function has been loaded
     function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '', $responsive = true, $bootstrap_css = '') {
//EOF KissIT Image Thumbnailer Phoenix
//////////////////////////////////////////////////////////////////////////////
.
.
.
.
    return $image;
  }
//////////////////////////////////////////////////////////////////////////////
//BOFKissIT Image Thumbnailer Phoenix   
} // END KissIt Image check if modified function has been loaded
//EOFKissIT Image Thumbnailer Phoenix
//////////////////////////////////////////////////////////////////////////////


if I delete the hooks file then the front page will show up normally, not blank anymore, of course no kissIT watermark at all,
if i delete the module file then the admin page content list will show up and the modules is not able to install at all,

the hosting company check the log, and they told me they did not do any thing at their end and they can not help any further...
 

(my guess: does it mean I dont need to modified html_output.php file as it said the kissItImage.php:22 already declare...??? I tried not to modified the html_output.php file, but the same error message....) Can you please help me to resolve this issue? Many thanks! Lyn

Share this post


Link to post
Share on other sites
Posted (edited)

Hello Lyn  @ce7,

  • please use the official support thread: 
  • you have to apply the modification to the tep_image function
  • make sure to apply it to the correct file and that you uploaded and replaced the file
  • if you install another add on and it breaks something, you should tell us which add on and which modifications you applied
Edited by raiwa

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

×