Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2007
    Location
    Oregon
    Posts
    152
    Plugin Contributions
    0

    Default Undefined index: spider_flag

    1.5.7b
    Php 7.4
    Fantasycostume.com

    [12-Mar-2022 00:21:59 UTC] PHP Notice: Undefined index: spider_flag in /home/fant8380/public_html/includes/classes/observers/class.products_viewed_counter.php on line 37

    That is all that is in the log...
    error every 15 seconds or so with no one on site..

    Any ideas?
    17 Years and still just a "Follower." :P

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Undefined index: spider_flag

    Quote Originally Posted by masterrusty View Post
    1.5.7b
    Php 7.4
    Fantasycostume.com

    [12-Mar-2022 00:21:59 UTC] PHP Notice: Undefined index: spider_flag in /home/fant8380/public_html/includes/classes/observers/class.products_viewed_counter.php on line 37

    That is all that is in the log...
    error every 15 seconds or so with no one on site..

    Any ideas?
    Really, really, really should upgrade to 1.5.7d. That issue was addressed by the following pull request in Github: https://github.com/zencart/zencart/pull/3796/files

    The red color represents removed content, the green is added information.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    May 2022
    Location
    USA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Undefined index: spider_flag

    Quote Originally Posted by mc12345678 View Post
    Really, really, really should upgrade to 1.5.7d. That issue was addressed by the following pull request in Github: https://github.com/zencart/zencart/pull/3796/files

    The red color represents removed content, the green is added information.
    Hi. My developer was randomly thrown out of this forum for no reason with no explanation, but I still have this problem.

    I managed to get the site upgraded to 1.5.7b, but it was still getting spider_flag errors. At this point, I have a 100% raw version of 1.5.7b running at test.fantasycostume.com and it throws a spider_flag error with every click.

    I checked the 1.5.7d code and it has the update defined in your link, but it is not solving the problem.

  4. #4
    Join Date
    May 2022
    Location
    USA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Undefined index: spider_flag

    This new raw version of Zen 1.5.7d was using my old database (been in use and upgrading since 1.3.9). Thinking there my be some dross in that database, I changed over to a new blank database generated by zc_install.

    Now I am getting this error every click.

    PHP Warning: Trying to access array offset on value of type null in /home/fant8380/store/wax_candles/includes/classes/VersionServer.php on line 89.


    It is starting to look like this new version of Zen is flawed. Is that why I can't get any answers here?

  5. #5
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Undefined index: spider_flag

    Quote Originally Posted by Fantasyland View Post
    Hi. My developer was randomly thrown out of this forum for no reason with no explanation, but I still have this problem.

    I managed to get the site upgraded to 1.5.7b, but it was still getting spider_flag errors. At this point, I have a 100% raw version of 1.5.7b running at test.fantasycostume.com and it throws a spider_flag error with every click.

    I checked the 1.5.7d code and it has the update defined in your link, but it is not solving the problem.
    I have no knowledge, input, or other information on your previous developer. That would be to be addressed through the forum moderators or others in the know.

    As to the continued issue(s) in the above quoted post, I don't see how the exact same error message can occur associated with $spider_flag if the changes of the above link are applied to the current store configuration. So, either logs were continuing to be created but with different information or the changes were not applied, or there is some other modification made to the base store software not related to the core code.

    As to the logging related to the remote server, those logs are being caused by 1) the version server having some form of communication issue, 2) a software development issue that wasn't previously strictly tested because the server was so reliably available and 3) made known only in particular operating environments. *A* resolution to that issue was made by the following code change: https://github.com/zencart/zencart/pull/4692/files though even the originally proposed solution which at the time was working has been put under question. Of course I personally hope that the version server wasn't put into its current state just to perform testing and I'm a little surprised that the previous fix has been completely undone as the follow on proposal doesn't offer the same level of evaluation that was originally provided.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    May 2022
    Location
    USA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Undefined index: spider_flag

    Thank you so much for the reply mc12345678!

    I am checking on the code change you referred to. In the mean time, I have found that the error I got after setting up the RAW store was an anomaly. Hours later the site was operating without errors.

    However, when I installed my database the errors started up again. Are you aware of some way some dross could have been created in the database that could cause this?

    As I mentioned, this database has been in use, and getting upgraded, since 1.3.9. I found something on this site that says the current db version is 1.5.7c. As far as I know, zc_install did not upgrade my db when I upgraded from 1.5.5 to 1.5.7b, and it definitely did not do a db upgrade going from 1.5.7b to 1.5.7d.

  7. #7
    Join Date
    May 2022
    Location
    USA
    Posts
    6
    Plugin Contributions
    0

    Default Re: Undefined index: spider_flag

    Code change defined at https://github.com/zencart/zencart/pull/4692/files had no effect.

  8. #8
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: Undefined index: spider_flag

    @fantasyland, i will comment on the 3 things you seem to have brought up:

    • while i can not comment on the specifics of your developer's situation, there have been times when the software that runs this board has blocked me for no apparent reason. if your developer was thrown out and would like to be reinstated, and assuming he did not commit a heinous act (which could be different for many people), contact @swguy to get them reinstated.
    • with regards to your spider_flag issue that you resolved by a new database install, i am pretty sure that if you went admin -> configuration -> sessions -> force cookie usage, that was set to true. that seems to be a bug in the code. if set to false, that would eliminate that error. you can obviously try that yourself.
    • with regards to your server version problem, you can go to: admin -> configuration -> my store -> Show if version update available and set that to false. that should resolve your other problem.


    hope that helps.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,694
    Plugin Contributions
    123

    Default Re: Undefined index: spider_flag

    We have a lot of spam problems and the forum software is really strict. In particular, if an email bounces (perhaps because you have changed your email address), you get kicked off.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Undefined index: spider_flag

    Quote Originally Posted by Fantasyland View Post
    Thank you so much for the reply mc12345678!

    I am checking on the code change you referred to. In the mean time, I have found that the error I got after setting up the RAW store was an anomaly. Hours later the site was operating without errors.

    However, when I installed my database the errors started up again. Are you aware of some way some dross could have been created in the database that could cause this?

    As I mentioned, this database has been in use, and getting upgraded, since 1.3.9. I found something on this site that says the current db version is 1.5.7c. As far as I know, zc_install did not upgrade my db when I upgraded from 1.5.5 to 1.5.7b, and it definitely did not do a db upgrade going from 1.5.7b to 1.5.7d.
    Welcome to the "new" Zen Cart. Sub-version 1.5.7d appears to have been pushed somewhat in haste. I do not know the reason, I just know that none of the usual/basic updates were made in reference to that sub-version (ie. the zc_install files such as the full sql install, the sub-version update and at least one other significant location were *not* updated to show 1.5.7d.) Then... please consider this overall software. What is important, what is a great idea and what prevents a sale... This sub-version issue has ZERO affect on the ability of the store to operate. One or more someones omitted a review and correction, darn...

    Now, these logs or issues... The term "error" keeps getting used... Error is a specific problem. There is also warning and notice. Of course sure a fatal error, but it's still an error just one that is more extreme. If the site is still functional from "start" to "finish", it's very unlikely that the occurrence is an error, probably at worst a warning. So, to figure out what is going on, the content of the logs.. The *debug* logs or specifically myDebug logs needs to be reviewed to identify what happened and why.

    Look at the file(s) and if the issue of the latest file has been corrected and more logs are being generated, then correct the latest entry of the most recent file. Review again...

    To assume that the software will have zero defects in its release for all possible environments some of which may never have been tested is unrealistic. There is no product that doesn't require some sort of correction of some sort at some time after its release. Think of the fact that there are over 600 configuration table entries. If each entry had only 2 settings (e.g. off or on), then that would equate to more than 4 x 10^180 potential configurations... While all of the above is just estimates and rough determinations, good luck trying to set and check each and every one of those configurations though proper testing would also attempt to use data outside of the constraints so that potential/possible issues might be identified/corrected.

    Again, could there be something in the database that might cause a log file to be generated? SURE... But, what is being logged? It may be nothing, it may need correction, perhaps something about the server needs to be made better but the software is fine.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v157 Undefined index and undefined variable errors in paypalwpp
    By Dave224 in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 7 Jan 2022, 05:11 PM
  2. v157 Undefined index payment
    By Dave224 in forum Bug Reports
    Replies: 3
    Last Post: 21 Sep 2021, 10:39 PM
  3. Undefined Index: Telephone
    By Webskipper in forum Upgrading to 1.5.x
    Replies: 9
    Last Post: 12 Jul 2021, 05:32 PM
  4. v157 tax_rate undefined index
    By Dave224 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 4
    Last Post: 22 May 2021, 07:36 PM
  5. Replies: 2
    Last Post: 5 May 2010, 09:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR