Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
Design75
See
#1427 . This was fixed in the latest release of IH4 if remember correctly
Code:
INSERT INTO configuration ('configuration_title', 'configuration_key', 'configuration_value', 'configuration_description', 'configuration_group_id', 'sort_order', 'last_modified', 'date_added', 'use_function', 'set_function') VALUES ('IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL);
Cheers Design75. I tried inserting that SQL (above) through the Zen Cart admin and got a 'WARNING: An Error occurred, please refresh the page and try again.' message.
Checking my logs it says that there is a syntax error in the SQL code? I'm not great with SQL syntax, is there an obvious error?
Also I am using Image Handler v4.3.2 - it seems to be the latest version?
Thanks for your help!
Re: Image Handler 4 Support Thread
Just to add to the above -
I have entered the code into the database manually via phpMyadmin...
Code:
INSERT INTO `MYDATABASENAME`.`configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`, `configuration_tab`) VALUES (NULL, 'IH version', 'IH version', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL, 'General');
Which seemed to work ok but I still get the "No Image Handler information found." message when going to the IH Zen admin page!
Very strange?! :huh:
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
fobes77
Just to add to the above -
I have entered the code into the database manually via phpMyadmin...
Code:
INSERT INTO `MYDATABASENAME`.`configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`, `configuration_tab`) VALUES (NULL, 'IH version', 'IH version', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL, 'General');
Which seemed to work ok but I still get the
"No Image Handler information found." message when going to the IH Zen admin page!
Very strange?! :huh:
Log out/login, or clear cache/sessions?
Re: Image Handler 4 Support Thread
Thanks mc12345678, gave that a go but still the same result unfortunately!
Re: Image Handler 4 Support Thread
Going further into this error / IH code....
Code:
<div style="float:left; padding: 8px 5px;">
<h1><?php echo HEADING_TITLE; ?></h1>
<?php
if (defined('IH_VERSION')) {
echo IH_VERSION_VERSION . ': ' . IH_VERSION . '<br />';
} else {
echo IH_VERSION_NOT_FOUND . '<br />';
}
?>
</div>
The "No Image Handler information found." message is just a result of checking if the version number is in the database or not, BUT the real problem is the rest of the IH page - there are no options / it's not possible to add/edit photos like previously, from this screen or the product/category page in admin.
So why would the Version number not being in the database stop the whole editing / uploadingfrom working?!
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
fobes77
Code:
INSERT INTO configuration ('configuration_title', 'configuration_key', 'configuration_value', 'configuration_description', 'configuration_group_id', 'sort_order', 'last_modified', 'date_added', 'use_function', 'set_function') VALUES ('IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL);
Cheers Design75. I tried inserting that SQL (above) through the Zen Cart admin and got a 'WARNING: An Error occurred, please refresh the page and try again.' message.
Checking my logs it says that there is a syntax error in the SQL code? I'm not great with SQL syntax, is there an obvious error?
Also I am using Image Handler v4.3.2 - it seems to be the latest version?
Thanks for your help!
Quote:
Originally Posted by
fobes77
Just to add to the above -
I have entered the code into the database manually via phpMyadmin...
Code:
INSERT INTO `MYDATABASENAME`.`configuration` (`configuration_id`, `configuration_title`, `configuration_key`, `configuration_value`, `configuration_description`, `configuration_group_id`, `sort_order`, `last_modified`, `date_added`, `use_function`, `set_function`, `configuration_tab`) VALUES (NULL, 'IH version', 'IH version', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, '0001-01-01 00:00:00.000000', NULL, NULL, 'General');
Which seemed to work ok but I still get the
"No Image Handler information found." message when going to the IH Zen admin page!
Very strange?! :huh:
Looks like your "successful" SQL was in error... The configuration_key that you have is incorrect as IH version instead of IH_VERSION. Try the below in the admin->tools->Install SQL Patches window.
Code:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('IH version', 'IH_VERSION', '4.3.2', 'IH Version is stored but not shown on configuration menus', '6', '10000', NULL, now(), NULL, NULL);
as for configuration_tab being a field? What version of ZC again? That's not a standard field in the configuration table.
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
fobes77
Going further into this error / IH code....
Code:
<div style="float:left; padding: 8px 5px;">
<h1><?php echo HEADING_TITLE; ?></h1>
<?php
if (defined('IH_VERSION')) {
echo IH_VERSION_VERSION . ': ' . IH_VERSION . '<br />';
} else {
echo IH_VERSION_NOT_FOUND . '<br />';
}
?>
</div>
The
"No Image Handler information found." message is just a result of checking if the version number is in the database or not, BUT the real problem is the rest of the IH page - there are no options / it's not possible to add/edit photos like previously, from this screen or the product/category page in admin.
So why would the Version number not being in the database stop the whole editing / uploadingfrom working?!
Because of the action to be taken later when one the current "page" is not assigned on the url and it appears that IH is no longer present or is in the process of being removed as identified on or about line 406:
Code:
$page = isset($_GET['page']) ? $_GET['page'] : ((!defined('IH_VERSION') || (IH_VERSION == 'REMOVED')) ? 'admin' : 'manager');
This condition sets $page = 'admin', and the code that follows expects it to be set as 'manager' or the value of the url parameter 'page' (Guess you could try adding &page=manager on the end of your admin url and see how things "go", but I have a feeling not so well.. :) )
Re: Image Handler 4 Support Thread
Thanks again mc12345678, that SQL Patch fixed it! :smile:
Phew!
(I think configuration_tab is new? I'm using v1.5.4 in this install.)
Cheers
Re: Image Handler 4 Support Thread
Quote:
Originally Posted by
fobes77
Thanks again mc12345678, that SQL Patch fixed it! :smile:
Phew!
(I think configuration_tab is new? I'm using v1.5.4 in this install.)
Cheers
Still have some "errant" assignment in the database. Won't directly cause a problem but also may cause confusion in the future if it remains. Recommend finding that one (seeing you seem to be able to navigate myphpadmin and should be easy to find) and removing that assignment described above as successful.
As to the configuration_tab, that would be because of some other install at some point in the life of the database as it is not a default column in ZC 1.5.4. (Was looking at the install sql for a vanilla copy of ZC when above was provided.)
Re: Image Handler 4 Support Thread
Hi guys
having trouble with my ih4 install , install goes great but the popup image on the product pages dont resize. It is easier if i show what i mean . Tried in chrome and IE with no change. running 1.5.4 . thanks in advance .Paul
http://www.raremanuals.com/zencart/i...roducts_id=655