Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
HGrubb
I am having the same error. If anyone can help, I would appreciate it! I've unistalled and resintalled twice. No luck. Please help, I really need this mod.
This was answered just four posts back. It cannot have anything to do with Stock by Attributes as it has neither a table of this name nor a constant defined as per the error message. You need to look at what other mods you have installed to see which should be creating this table, or start a new thread to see if anybody else knows.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hi there,
Just installed the mod and its all working great accept now on the site i get the following error message when logging in or any page on the site that is ssl,
Code:
Warning: include(includes/languages/english/extra_definitions/products_with_attributes.php) [function.include]: failed to open stream: No such file or directory in /home/tb/tbs/tbsm.com.au/ssl/www/includes/modules/extra_definitions.php on line 73
Warning: include() [function.include]: Failed opening 'includes/languages/english/extra_definitions/products_with_attributes.php' for inclusion (include_path='.:/usr/local/lib/php/:/home/ilisys/php/') in /home/tb/tbs/tbsm.com.au/ssl/www/includes/modules/extra_definitions.php on line 73
I have copied the files over to both servers,..
Is there something i may have missed?
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
kuroi
Neither this version of Stock by Attributes nor Zen Cart's core code have a products_stock table or define a constant TABLE_PRODUCTS_STOCKS. It looks as though you must have some code floating around from another mod. Though I'm afraid that I don't know which one it might be.
Dynamic Drop Downs for Stock by Attributes.
I got the same problem.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
TBSM
I have copied the files over to both servers,..
Is there something i may have missed?
Do you have one of these daft hosting arrangements where you need to maintain two copies of all the files? Personally I wouldn't go near them as there's too much scope of inconsistencies and errors such as the one that you are experiencing.
I'd double check that the includes/languages/english/extra_definitions/products_with_attributes.php
file has arrived safely in both locations (especially on the https server) as the message is clearly telling you that it's missing from one of them. But if it's there in both locations, I'm afraid that I therefore don't have much to offer here as the problem is going to be very specific to your hosting set up.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
uvfch
Dynamic Drop Downs for Stock by Attributes.
I got the same problem.
I wasn't aware of that mod, so thank you for drawing it to my attention.
However, I've downloaded it and you're right. That mod integrates classes from an osCommerce mod which contain a reference (line 87 of the pad_sequenced_dropdowns.php class) to a table that doesn't exist in Zen Cart or Stock by Attributes. This has been raised else where and hopefully the mod's author will sort it out.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Turned out that the SSL server just takes longer to upload so it was running off cached memory. All perfect now, thankyou!!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Quote:
Originally Posted by
TBSM
Turned out that the SSL server just takes longer to upload so it was running off cached memory. All perfect now, thankyou!!
So, not only do you have to maintain files on two servers (and keep them in sync) but the performance on one of them is so bad that changes are lagged introducing another potential point of failure. I'd be looking for a new host.
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
Hi,
I've been looking through this thread and others but I have not been able to find a definitive answer for my problem,
I own a clothing site and have a lot of shirts to upload onto zencart with easy populate from a spreadsheet application. In doing so I need to control the quantities of each size for each Shirt.
Has anyone overcome this problem and if so how. Any tips or tricks will be most appreciated
Thanks!!!
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
1. I installed the mod, and I have check each and every file (by looking at each one in its correct folder) to make sure they are there.
./admin/includes/languages/english/options_values_manager.php
./admin/options_values_manager.php
./includes/classes/order.php
./includes/modules/attributes.php
./includes/templates/template_default/templates/tpl_modules_attributes.php
( For security reasons, I have renamed my admin folder and I put the files are where they are supposed to be. Could this relate to the problem below?)
2. I ran the SQL command: ALTER TABLE `products_options_values` ADD `products_options_values_quantity` FLOAT NOT NULL DEFAULT '0';
(if I try to run it again, it fails and says it's already there)
Why don't I have a new item on my admin/catalog ?
Why have all the dropdowns on my attributes disappeared (look at my website to see this)
What's missing here? :frusty:
I am using ZEN 1.3.8a
Mods: Cherry_Zen template, Link Manager, Credit card sidebox, Google sitemap - none of which should conflict, right?
Help!!!!
Jeff
Re: Stock by Attribute v4.0 for Zen Cart 1.3.5+
To be fair, I have to admit that I didn't use THIS mod to cause all the grief I caused. I used the Attributes Separate Stock (I mitakenly downloaded that one and not THIS one) and now my site is hosed. Of course I backed it up, but when I replaced all the files I changed with originals, it's messed up worse than it is now, so I had to revert to the modded versions that doesn't show attribute options. Something happened but I don't know what. I know I added a SQL command (the one listed above) could that be what's messing me up, and can I easily undo it?
Thanks for any help on this.
Jeff