Re: Stock by Attribute v4.0 for Zen Cart 1.3.5
Quote:
Originally Posted by
lindsey80
Hello,
I downloaded this mod and it messed up my admin I just had a blank page. I put all the folders where they should go... I replaced the files with my backup and admin is now fine, My problem is now when I view an item that has an attribute on my site I get the following error WARNING: An Error occurred, please refresh the page and try again. Does anyone know why this is happening?
Thanks
Can only help with your assistance.
Downloaded this module: from where?
Got an error: details of errors are logged by ZC in the directory applicable to one's ZC version, so what ZC version: FAQ to help is: https://www.zen-cart.com/content.php...-and-try-again
Loading of the files, were the changes of this plugin merged with your existing file(s) or did the files of this plugin just simply replace what was on your server?
How did the install of this to your demo or backup site go? Did it have the same issue(s)?
Again, help us help you, if you could also further address the items of the posting tips, that would be great.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5
Hi sorry for the lack of information. I downloaded this from the zen cart addon
I downloaded these files directly over my current files
I don't have a backup/demo??
Log File
`[18-Sep-2016 20:57:15 UTC] PHP Fatal error:
1146:Table '*******_zenc307.zenyj_products_with_attributes_stock' doesn't exist :: SELECT pas.stock_id, pas.quantity
FROM zenyj_products_with_attributes_stock pas
WHERE pas.products_id = '3208'
AND pas.stock_attributes = '4' ==> (as called by) /home/*****/public_html/includes/modules/ashley_pink/attributes.php on line 126 <== in /home/********/public_html/includes/classes/db/mysql/query_factory.php on line 155
Hoping this helps a bit??
Thanks for your patience!!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5
Quote:
Originally Posted by
lindsey80
Hi sorry for the lack of information. I downloaded this from the zen cart addon
I downloaded these files directly over my current files
I don't have a backup/demo??
Log File
`[18-Sep-2016 20:57:15 UTC] PHP Fatal error:
1146:Table '*******_zenc307.zenyj_products_with_attributes_stock' doesn't exist :: SELECT pas.stock_id, pas.quantity
FROM zenyj_products_with_attributes_stock pas
WHERE pas.products_id = '3208'
AND pas.stock_attributes = '4' ==> (as called by) /home/*****/public_html/includes/modules/ashley_pink/attributes.php on line 126 <== in /home/********/public_html/includes/classes/db/mysql/query_factory.php on line 155
Hoping this helps a bit??
Thanks for your patience!!
It does in part. The version made available on the ZC website associated with the most recent upload can be made functional with a more recent ZC version, but really only applies to the version published with it.
Right now the specific problem on your site with a file uploaded as a part of the package is includes/modules/ashley_pink/attributes.php as it is looking for something that has not been installed or has been removed if it did get installed.
As for a test site, it is always suggested that when placing new software that it be tested first on something that won't cause a problem with a live site. As to installing something that is far less likely to cause a problem I am limited on recommendations at this point, again more info needed.
As to the other files that got overwritten, they may need to be replaced with the original version(s), also there are files that may need to be removed that likely did not get removed by your system restore (which probably just restored existing files without removing new ones).
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
Well, actually it was a problem identified when trying to further it's use in more recent ZC versions and maintain operability of multiple option names such as you have setup. There are a number of other improvements made since that time as well. Not so sure that the particular issue would have been easy to find in the thread.
If anything, might have suggested reading through these last couple of pages to get an idea of the status of the software and what is going on to keep it accessible to those that wish to use it. :) the images were informative to at least identify my suspicions that it was occurring because of use of the older version(s).
Besides, if don't ask a question, may not ever find an answer. :)
I installed it and it says it installed properly but my front-end is getting a 500 error and the error log says "Class 'products_with_attributes_stock' not found in /home/piratesp/public_html/store/includes/autoload_func.php on line 79"
I saw that someone else is having a similar issue but I can't seem to figure out why this is happening on my end. Any help would be appreciated or if you need to email me separately - christian [at] piratespress.com
Thanks!
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Christian_Wagner
UPDATE:
Fixed it!
Always helpful to others to explain what was done to fix what issue. :) kind of prevents the: hey I have that "exact" same problem when it's not really true.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
mc12345678
Always helpful to others to explain what was done to fix what issue. :) kind of prevents the: hey I have that "exact" same problem when it's not really true.
Of course! So disclaimer, using ZC 1.5.4. I didn't build or set up the ZC so I'm going off of what the previous person did. So the ADMIN folder had a screwy name and messed me up initially.
My biggest thing was making sure all of the files went where they were supposed to be. It was tough (for me as a non-programmer) to combine the files that were updated for EVERY ZC version vs. the ones that were changed for different versions of ZC. It was meticulous and I had to go back through MANY times to find out that there was a file misplaced or missing.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
Christian_Wagner
Of course! So disclaimer, using ZC 1.5.4. I didn't build or set up the ZC so I'm going off of what the previous person did. So the ADMIN folder had a screwy name and messed me up initially.
My biggest thing was making sure all of the files went where they were supposed to be. It was tough (for me as a non-programmer) to combine the files that were updated for EVERY ZC version vs. the ones that were changed for different versions of ZC. It was meticulous and I had to go back through MANY times to find out that there was a file misplaced or missing.
So, there is/was no need to combine the two sets of files before applying them to the site. They actually have been put together so that you could put the "all" files on the server and operation of the site continues like it is not installed or otherwise affecting purchases. Even once all the files are in place, operation of the store continues as if it is not installed (there is a minor exception to that where older stores have slightly corrupted database records which are corrected upon install. I'll have to look closer at that aspect.) anyways, glad that you were able to get it installed and to explain the issues experienced. It certainly should help others that may experience the same issue(s).
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
PHP Fatal error: Call to a member function Execute() on null in /home/austink9/public_html/store/ADMIN/includes/classes/observers/class.products_with_attributes_stock.php on line 205
I'm getting this when trying to delete an Option Name. The name is not in use, so is safe to delete. This is on a Zen Cart 1.5.5a using SBA 1.5.4 from GitHub.
Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9
Quote:
Originally Posted by
jeking
PHP Fatal error: Call to a member function Execute() on null in /home/austink9/public_html/store/ADMIN/includes/classes/observers/class.products_with_attributes_stock.php on line 205
I'm getting this when trying to delete an Option Name. The name is not in use, so is safe to delete. This is on a Zen Cart 1.5.5a using SBA 1.5.4 from GitHub.
Doh, on line 201 add a new line below the commented text and add:
Committed to github with correction. Affects all versions of ZC using that code.
https://github.com/mc12345678/Stock_...27d98aec9de505