Page 8 of 11 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 108
  1. #71
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by HeathenMagic View Post
    Sorry for the delay in replying. I can confirm that disabling this does allow google / websniffer to do its thing. I turned it back on for now just in case and will see what else I can find out
    My best guess is: One of your WordPress plugins relies upon an active session (and starts one when a session is not present). When you have Zen Cart configured to "Prevent Spider Sessions", no session is started and output may start before WordPress is loaded in "html_header.php". This then causes a PHP error, because the output occurred before the WordPress plugin attempted to start a session.

    If the above guess holds true, simplest fix is to allow Zen Cart to start sessions for "Spiders" (these include SE bots/crawlers). Because when a WordPress plugin requires the use of sessions, the gain from preventing spider sessions in Zen Cart will be minimal. A more complex fix is to determine which WordPress plugin is attempting to use sessions, then replace with a different WordPress plugin (which does not require sessions) or modify the WordPress plugin to also detect and prevent spider sessions.


    Quote Originally Posted by DivaVocals View Post
    Since the change to the html_header.php required for this module only adds a call to the WorPress wp-load.php file in Zen Cart (required so this module can display the WordPress sidebox content inside Zen Cart), I can't help but wonder if the errors you are getting are ACTUALLY coming from your WordPress blog..
    Agreed, probably from one of the installed WordPress plugins. I've posted my stab in the dark above!

    Quote Originally Posted by HeathenMagic View Post
    ... I have been trying to do some log error solving, and it is still the same. ... On the zencart side, the only thing I have noticed since also December (weird) is that error logs are not being created. ...
    The out-of-box WordPress disables portions of PHP error reporting. This will result in overriding of the Zen Cart PHP error reporting. When trying to track down an issue / error, one can add the following in "wp-config" to have WordPress enable all PHP error reporting and save them to a file (debug.log). Be aware the error log will probably contain a larger number of warnings about the use of deprecated functions/methods (these are not going to be the cause of the HTTP 500).

    I would caution against leaving WP_DEBUG enabled on a production server unless one understands the ramifications.

    Code:
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     */
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);
    NOTE: Reference Debugging WordPress for more details regarding the above options.
    Last edited by lhungil; 3 Feb 2016 at 08:46 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhűngîl : Plugin / Module Tracker

  2. #72
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Thanks ever so much for your insight and help. I think you are spot on, this is the last ever error log received from 14th December:-

    [14-Dec-2015 15:25:22 UTC] PHP Warning: session_start(): open(SESSION_WRITE_DIRECTORY/sess_90b148a11e8486d7a845e635fefa1e12, O_RDWR) failed: No such file or directory (2) in /*******/public_html/******/wp-content/plugins/my-blog-guest/common.php on line 9
    [14-Dec-2015 15:25:22 UTC] PHP Fatal error: Call to a member function count_contents() on a non-object in /******/tpl_header.php on line 107
    [14-Dec-2015 15:25:22 UTC] PHP Warning: Unknown: open(SESSION_WRITE_DIRECTORY/sess_******** 2, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
    [14-Dec-2015 15:25:22 UTC] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0

    I have turned spider sessions on, and hopefully not too much SEO damage has been done. I have resubmitted the site and sitemaps, and be vigilant on this in the future. I am certain this must be the culprit plugin, so it is best I remove as soon as I can.

  3. #73
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Hello again,

    Just wondering if the only way to regain zencart error reporting (on zencart specific errors only) is to disable wp4zen and put wordpress back into its own database and folder again? I tried the config as above, and you are right, it is wordpress only errors and lots of them.

    Many thanks in advance.

  4. #74
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    I just figured it out, the wordpress sessions error created a massive amount of debug logs, so hopefully the host can delete most of them and I can start seeing error logs again.

  5. #75
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by HeathenMagic View Post
    Hello again,

    Just wondering if the only way to regain zencart error reporting (on zencart specific errors only) is to disable wp4zen and put wordpress back into its own database and folder again? I tried the config as above, and you are right, it is wordpress only errors and lots of them.
    Quote Originally Posted by HeathenMagic View Post
    I just figured it out, the wordpress sessions error created a massive amount of debug logs, so hopefully the host can delete most of them and I can start seeing error logs again.
    What will REALLY resolve your issue is to find out which WordPress plugin is the cause of the issues to begin with. WordPress running in it's own database will not solve the REAL issue you have here.. (an errant WordPress plugin). Moving WordPress to a separate folder & DB and disabling this module will only MASK your issue because you will stop seeing the errors that will STILL be generating. To solve your issue once and for all, disable ALL of your WordPress plugins and re-enable them one by one to see which one is the root cause.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #76
    Join Date
    Feb 2008
    Posts
    529
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    I really like the look of this mod. Currently using zc 1.5.4 with Winchester Black responsive and running a blog separately. Planning the update to 1.5.5 when released and do some mod changes at that time. I'd like to dump my cumbersome blogspot blog and put wp in my zc server.

    Does/should this mod work (correctly) with responsive templates?

    Thanks

  7. #77
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Quote Originally Posted by soxophoneplayer View Post
    I really like the look of this mod. Currently using zc 1.5.4 with Winchester Black responsive and running a blog separately. Planning the update to 1.5.5 when released and do some mod changes at that time. I'd like to dump my cumbersome blogspot blog and put wp in my zc server.

    Does/should this mod work (correctly) with responsive templates?

    Thanks
    This is not an "embedding" module -- because IMHO embedding modules are cumbersome and ultimately a disastrous method that is mostly used to avoid doing the work to make ones WordPress blog look like their shop.. This a much simpler module that provides a solution to integrate WordPress & Zen Cart. It adds Zen Cart sideboxes which contain WordPress content. So it works as well with any responsive template as any other Zen Cart sidebox.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #78
    Join Date
    May 2005
    Location
    England
    Posts
    626
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Thanks for your help, appreciate you taking the time to reply. I found which wordpress plugin it was, and now removed entirely. They updated the plugin in December, but with a bug I guess.

    Quote Originally Posted by DivaVocals View Post
    What will REALLY resolve your issue is to find out which WordPress plugin is the cause of the issues to begin with. WordPress running in it's own database will not solve the REAL issue you have here.. (an errant WordPress plugin). Moving WordPress to a separate folder & DB and disabling this module will only MASK your issue because you will stop seeing the errors that will STILL be generating. To solve your issue once and for all, disable ALL of your WordPress plugins and re-enable them one by one to see which one is the root cause.

  9. #79
    Join Date
    Dec 2007
    Posts
    37
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    Hi
    I am having to change from a wordpress blog to a forum as the blog is just not handling the infor in a way I need.
    Is there anyway this will work with a wordpress forum?
    Please
    Johanne

  10. #80
    Join Date
    Feb 2016
    Location
    Salem, NH
    Posts
    103
    Plugin Contributions
    0

    Default Re: WordPress® for Zen Cart® (wp4zen) [Support Thread]

    I installed and it shows up in sideboxes in admin but does not show up on store side boxes at all. I have installed and reinstalled. Should be on R side of site at bottom under onesocial. Any help would be appreciated. Also how do you tell if wordpress is installed on same sql that maybe the issue. http://www.thedragonskeep.net/index....ndex&cPath=170
    Thanks
    Sandria

 

 
Page 8 of 11 FirstFirst ... 678910 ... LastLast

Similar Threads

  1. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 8 Apr 2019, 02:39 PM
  2. v155 Responsive Classic (built in to Zen Cart v1.5.5) [Support Thread]
    By picaflor-azul in forum Addon Templates
    Replies: 0
    Last Post: 17 Mar 2016, 12:30 AM
  3. Wordpress On ZC [Support Thread]
    By hira in forum All Other Contributions/Addons
    Replies: 1858
    Last Post: 17 Jan 2014, 01:24 AM
  4. Replies: 68
    Last Post: 29 Jul 2013, 06:33 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