Zen Cart Logo
Forums / All Other Contributions/Addons / Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Views: 658,551

Results 2,021 to 2,040 of 3,609
4 Feb 2015, 2:53 PM
#2021
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Stock by Attribute v4.0 addon for v1.3.5-1.3.9

RodG:

A blank page usually results in something being written to the error logs. Have you checked them for any clues?

Cheers
RodG

Have not. When the blank screen came up, I deleted all and reinstalled.

4 Feb 2015, 3:05 PM
#2022
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Rick29690:

Have not. When the blank screen came up, I deleted all and reinstalled.

Is it working for you now? It's helpful to post the answer so others with the same problem will know.

4 Feb 2015, 3:50 PM
#2023
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Rick29690:

Have not. When the blank screen came up, I deleted all and reinstalled.

jeking:

Is it working for you now? It's helpful to post the answer so others with the same problem will know.

Btw, there is a version of SBA (version 1.5.4) that is compatible with ZC 1.5.3 that with minor modification is compatible with ZC 1.5.4.

Work is being performed to make this compatible with ZC 1.5.4. Specific compatibility files have been identified, but work is still needed to ensure no jquey conflict with what is provided in ZC 1.5.4.

4 Feb 2015, 4:12 PM
#2024
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

jeking:

Is it working for you now? It's helpful to post the answer so others with the same problem will know.

I reinstalled without SBA installed. Have tried a number of times to install SBA... All with same result.

4 Feb 2015, 4:14 PM
#2025
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

mc12345678:

Btw, there is a version of SBA (version 1.5.4) that is compatible with ZC 1.5.3 that with minor modification is compatible with ZC 1.5.4.

Work is being performed to make this compatible with ZC 1.5.4. Specific compatibility files have been identified, but work is still needed to ensure no jquey conflict with what is provided in ZC 1.5.4.

The only version of SBA i saw was SBA 1.5.3. That works with ZC1.5.3. Where do I find the SBA 1.5.4 and what are the fixes please.

4 Feb 2015, 4:17 PM
#2026
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Rick29690:

The only version of SBA i saw was SBA 1.5.3. That works with ZC1.5.3. Where do I find the SBA 1.5.4 and what are the fixes please.

The version for Zen Cart 1.5.4 is still in beta being tested. If you want to test it, that's one thing. But it should not be used on a live site.

4 Feb 2015, 4:29 PM
#2027
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

RodG:

A blank page usually results in something being written to the error logs. Have you checked them for any clues?

Cheers
RodG

Rick29690:

Have not. When the blank screen came up, I deleted all and reinstalled.

Rick29690:

The only version of SBA i saw was SBA 1.5.3. That works with ZC1.5.3. Where do I find the SBA 1.5.4 and what are the fixes please.

Rick29690:

I reinstalled without SBA installed. Have tried a number of times to install SBA... All with same result.
As pointed out earlier a blank screen means an error occurred.. Look for this error log record and POST YOUR ERROR LOGS.. We get you get a blank screen.. we can HELP you get past that if you post the error logs.. Nevermind if YOU don't know what the error means.. Chances are someone here DOES know the answer and can help get you back on your feet..

jeking:

The version for Zen Cart 1.5.4 is still in beta being tested. If you want to test it, that's one thing. But it should not be used on a live site. nods in agreement

4 Feb 2015, 4:49 PM
#2028
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Guess I'll just wait for the new version then. Thanks!

4 Feb 2015, 5:47 PM
#2029
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I am curious though... looking back to my original question...Why would SBA 1.5.3 work on one site with ZC 1.5.4 and not another? Both sites identical except for the templates and, of course, name. Both running on the same host , same platform, same php level.

4 Feb 2015, 5:51 PM
#2030
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

RodG:

A blank page usually results in something being written to the error logs. Have you checked them for any clues?

Cheers
RodG

Rick29690:

Have not. When the blank screen came up, I deleted all and reinstalled.

Rick29690:

I am curious though... looking back to my original question...Why would SBA 1.5.3 work on one site with ZC 1.5.4 and not another? Both sites identical except for the templates and, of course, name. Both running on the same host , same platform, same php level.

We can't answer that.. because we don't KNOW what went wrong.. and we don't know what went wrong because you have yet to post your error log messages so we can SEE what happened on that store.. Post the error logs that are created when you get the blank page, and we can get you a better answer your question.. (and probably help you resolve your issue) Without that information, this will just be one of life's little mysteries:smile:..

4 Feb 2015, 8:18 PM
#2031
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

DivaVocals:

We can't answer that.. because we don't KNOW what went wrong.. and we don't know what went wrong because you have yet to post your error log messages so we can SEE what happened on that store.. Post the error logs that are created when you get the blank page, and we can get you a better answer your question.. (and probably help you resolve your issue) Without that information, this will just be one of life's little mysteries:smile:..

The only error entrys are as follows:

[01-Feb-2012 15:54:45] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:45] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/nutsand1/public_html/index.php on line 26

I just uploaded SBA and again I'm getting blank screen on admin page login. What else can I supply?

4 Feb 2015, 8:24 PM
#2032
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

I also get a myDEBUG message in the logs folder:

[04-Feb-2015 13:12:38 America/Denver] PHP Fatal error: Call to undefined function zen_get_ip_address() in /home2/nutsand1/public_html/newnuts_admin/includes/init_includes/init_sessions.php on line 34

4 Feb 2015, 8:39 PM
#2033
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Rick29690:

I also get a myDEBUG message in the logs folder:

[04-Feb-2015 13:12:38 America/Denver] PHP Fatal error: Call to undefined function zen_get_ip_address() in /home2/nutsand1/public_html/newnuts_admin/includes/init_includes/init_sessions.php on line 34

First, change your admin directory! When posting error logs, or anything else, remember to remove/rename your actual admin folder.

Second, the errors are not related to this plugin in. Sounds like you maybe missed something in your upgrade. The undefined function is in /public_html/YOUR-ADMIN/includes/functions/general.php

4 Feb 2015, 9:37 PM
#2034
rick29690 avatar

rick29690

New Zenner

Join Date:
May 2009
Location:
Travelers Rest, SC
Posts:
22
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Did change admin. Sorry was in a hurry and hit enter before I realized hadn't changed. Thanks!

The upgrade works fine until I add in the SBA though. That's what doesn't make sense.

4 Feb 2015, 10:03 PM
#2035
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Rick29690:

Did change admin. Sorry was in a hurry and hit enter before I realized hadn't changed. Thanks!

The upgrade works fine until I add in the SBA though. That's what doesn't make sense.

Nevermind, I confused two plugins again. ;-) See DivaVocals post below to a correct reply.

4 Feb 2015, 10:07 PM
#2036
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

AT LAST!! Some information...:shocking:

Rick29690:

The only error entrys are as follows:

[01-Feb-2012 15:54:45] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:45] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/nutsand1/public_html/index.php on line 26
[01-Feb-2012 15:54:57] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib64/php:/usr/lib/php:/usr/share/pear') in /home2/nutsand1/public_html/index.php on line 26

I just uploaded SBA and again I'm getting blank screen on admin page login. What else can I supply?
Ummmm if you look at the date, I'd say it's SAFE to assume that these are not the error logs for today's issue (hint: the date is TWO THOUSAND TWELVE..)

Rick29690:

I also get a myDEBUG message in the logs folder:

[04-Feb-2015 13:12:38 America/Denver] PHP Fatal error: Call to undefined function zen_get_ip_address() in /home2/nutsand1/public_html/newnuts_admin/includes/init_includes/init_sessions.php on line 34It is the ZEN CART error log that is needed when troubleshooting ZNE CART issues..:smile: That said you need to compare the following files to the ones in the Zen Cart install package to see what changed:

/public_html/YOUR-ADMIN/includes/init_includes/init_sessions.php
/public_html/YOUR-ADMIN/includes/functions/general.php

Can't remember off the top of my head if these are modified by SBA, but if these files ARE modified by SBA and I had to hazard a guess, I'd say you ignored/overlooked MERGING the SBA files with your existing store files and instead OVERWROTE them, and probably OBLITERATED something Zen Cart needs in v1.5.4..

You can figure this out rather quickly by comparing what's in your store to the defaults for these files.. HOPEFULLY the SBA changes are CLEARLY commented so that you can distiguish fairly easily the changes that come from SBA from the differences due to Zen Cart core code changes..

9 Feb 2015, 10:17 AM
#2037
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Hello,

It seems I am working with SBA 1.4.12 in ZenCart 1.5.1. Never had a problem. Works like a charm.
I am working at an update of my website. I changed the layout for attributes with stock in radiobuttons instead of dropdownfield.
Now sold out attributes are showing. Back to dropdown mode everything works fine again.

How can I fix this?

Wim

9 Feb 2015, 2:41 PM
#2038
datax avatar

datax

New Zenner

Join Date:
Jun 2006
Posts:
37
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Datax:

Hello,

It seems I am working with SBA 1.4.12 in ZenCart 1.5.1. Never had a problem. Works like a charm.
I am working at an update of my website. I changed the layout for attributes with stock in radiobuttons instead of dropdownfield.
Now sold out attributes are showing. Back to dropdown mode everything works fine again.

How can I fix this?

Wim

Problem solved. Found a solution.

https://www.zen-cart.com/showthread.php?34977-Stocks-by-attributes/page103

17 Feb 2015, 10:36 AM
#2040
daba_do avatar

daba_do

New Zenner

Join Date:
Feb 2015
Location:
Netherlands
Posts:
15
Plugin Contributions:
0

Re: Stock by Attribute v4.0 addon for v1.3.5-1.3.9

Zen Cart v.1.5.4

SBA is in beta for 1.5.4?
Though some know how to make it work?

Any help on getting it up and running on 1.5.4.

When I get to the http://YOUR_DOMAIN/YOUR_ADMIN/stock_by_attr_install.php
and run the installer nothing happens.

So new at ZC its crazy, but any help would be great.