If that is the case (that the configuration_group_id of 0 got removed) then there are likely other problems as there are a few ZC values (if I remember correctly there are three keys) that have historically defaulted to configuration_group_id of 0.
Printable View
You were right - I did find config settings with group id of 0 - dated a month after the upgrade. So the Version was not in the database any longer. I have to say that I don't like this. I wasn't aware of it and in a clean up effort I removed all 0 group ids from one site - a couple of years ago. A number of settings had gone in incorrectly and it had to be fixed. What other set the group id as 0 deliberately? The other three settings I found were from one of the edit orders mod. Sometimes what I learn after years of working with zen cart just astounds me!
Oh, and thanks, guys!
Check the ZC install sql. There are three options set with the gID of zero for ZC version 1.5.1, none were assigned in ZC version 1.5.3 or 1.5.4. There are several posts in the forum about it, unfortunately I haven't gone through to find them.
But I did scavenge a couple ZC installs to find the following. I don't have ZC 1.5.2 installed anywhere and typically disregard most things specifically related to it as it wasn't considered a production version.
In 1.5.1:
First:
Title: Product option type Select
Description: The number representing the Select type of product option.
Value: 0
Key: PRODUCTS_OPTIONS_TYPE_SELECT
Second:
Title: Upload prefix
Description: Prefix used to differentiate between upload options and other options
Value: upload_
Key: UPLOAD_PREFIX
Third:
Title: Text prefix
Description: Prefix used to differentiate between text option values and other option values
Value: txt_
Key: TEXT_PREFIX
These got moved into gID=6 in ZC 1.5.3 and beyond... So that problem shouldn't exist in the future (accidental erasure of gID=0 values affecting base ZC functionality).
As noted by mc12345678 and elsewhere on the forums, some third party modules as part of their install or uninstall were deleting all entries in gid=0 when the module was not previously installed.
These three I know were there for sure (would have to look to see about others). These directly relate to the handling and display of certain attribute types.
The problem was widespread enough to warrant adding code to Edit Orders 4.1.4 to handle the situation (when those three configuration options were missing it broke Edit Orders as Edit Orders works with and displays attributes). If these configuration options are missing from the database (not found anywhere in the configuration; the exact grouping "gid=x" does not matter), Edit Orders 4.1.4 will correct the problem by adding them back as configuration options.Quote:
...I wasn't aware of it and in a clean up effort I removed all 0 group ids from one site - a couple of years ago. A number of settings had gone in incorrectly and it had to be fixed. ... The other three settings I found were from one of the edit orders mod. ...
Good to know!
Hello. I recently installed IH on a fairly new 1.5.4 install. When I try to add images, I get this error:
Error!
Unable to determine the page link!
Function used:
zen_href_link('', '', 'NONSSL')
I found a few mentions of this in this thread, but no definite solutions. It was mentioned that improper filenames could lead to this. I renamed 3 images to ggg, hhh and kkk.jpg. So I don't think it has to do with improper filenames for my situation.
Anyone have any additional info on this error? Thank you.
Another common reason is incorrectly uploading images in the IH4 admin manager.. Usually because someone has tried to upload a large or small of medium image without uploading a DEFAULT image as you are supposed to do.. (and yeah this too has been posted, and I believe it might be included int he IH4 docs now too)
You will need to take us through in DETAILED step by step exactly what you were doing when you got this error.. And to be clear, when I say DETAILED, I mean tell me exactly what links or buttons you clicked, etc.. DON'T summarize it..
I just got past that error now. I deleted the main image and then uploaded all 3 new ones again, with IG4, without error.
But now I'm back to my original problem/question that led me to install IH a 2nd time. In the readme, in the section 'Prepare Your Site for Growth'. It says we can organize our images in folders. But I don't see how? The only way to add images is to upload from computer and it doesn't allow/ask what folder to put it in? If I upload through FTP, I can't link to the image on the server from IH. Is this the way IH works? Or is my install missing something?