• Resolved JReders

    (@jreders)


    Hello,
    i have a problem with your plugin aver my website perlaspoon.com.
    1. i tried to deactivate all my plugins :

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    Akismet 2.5.7
    All In One SEO Pack 2.0
    Better WP Security 3.4.10
    Broken Link Checker 1.7.1
    Digg Digg 5.3.4
    Easy FancyBox 1.3.4.9
    eShop for WordPress 6.3.10
    Facebook AWD All in One 1.6
    FD Feedburner Plugin 1.46
    GD Star Rating 1.9.22
    Google XML Sitemaps 3.2.9
    P3 (Plugin Performance Profiler) 1.4.1
    Regenerate Thumbnails 2.2.4
    Social Metrics 2.1
    upPrev 3.3.15
    WP Super Cache 1.3.2
    Yet Another Related Posts Plugin 4.0.6

    2. tried it over Twenty Twelve theme.
    3. contact my host to set up session_save… told me all was ok, and I’m using php 5.3.
    here is the [session] part of my php.ini

    [Session]
    ; Handler used to store/retrieve data.
    ; https://php.net/session.save-handler
    session.save_handler = files
    
    ; Argument passed to save_handler.  In the case of files, this is the path
    ; where data files are stored. Note: Windows users have to change this
    ; variable in order to use PHP's session functions.
    ;
    ; The path can be defined as:
    ;
    ;     session.save_path = "N;/path"
    ;
    ; where N is an integer.  Instead of storing all the session files in
    ; /path, what this will do is use subdirectories N-levels deep, and
    ; store the session data in those directories.  This is useful if you
    ; or your OS have problems with lots of files in one directory, and is
    ; a more efficient layout for servers that handle lots of sessions.
    ;
    ; NOTE 1: PHP will not create this directory structure automatically.
    ;         You can use the script in the ext/session dir for that purpose.
    ; NOTE 2: See the section on garbage collection below if you choose to
    ;         use subdirectories for session storage
    ;
    ; The file storage module creates files using mode 600 by default.
    ; You can change that by using
    ;
    ;     session.save_path = "N;MODE;/path"
    ;
    ; where MODE is the octal representation of the mode. Note that this
    ; does not overwrite the process's umask.
    ; https://php.net/session.save-path
    session.save_path = "/var/php_sessions"
    
    ; Whether to use cookies.
    ; https://php.net/session.use-cookies
    session.use_cookies = 1
    
    ; https://php.net/session.cookie-secure
    ;session.cookie_secure =
    
    ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; the session id. We encourage this operation as it's very helpful in combating
    ; session hijacking when not specifying and managing your own session id. It is
    ; not the end all be all of session hijacking defense, but it's a good start.
    ; https://php.net/session.use-only-cookies
    session.use_only_cookies = 1
    
    ; Name of the session (used as cookie name).
    ; https://php.net/session.name
    session.name = PHPSESSID
    
    ; Initialize session on request startup.
    ; https://php.net/session.auto-start
    session.auto_start = 0
    
    ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ; https://php.net/session.cookie-lifetime
    session.cookie_lifetime = 0
    
    ; The path for which the cookie is valid.
    ; https://php.net/session.cookie-path
    session.cookie_path = /
    
    ; The domain for which the cookie is valid.
    ; https://php.net/session.cookie-domain
    session.cookie_domain =
    
    ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ; https://php.net/session.cookie-httponly
    session.cookie_httponly =
    
    ; Handler used to serialize data.  php is the standard serializer of PHP.
    ; https://php.net/session.serialize-handler
    session.serialize_handler = php
    
    ; Defines the probability that the 'garbage collection' process is started
    ; on every session initialization. The probability is calculated by using
    ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; the gc will run on any give request.
    ; Default Value: 1
    ; Development Value: 1
    ; Production Value: 1
    ; https://php.net/session.gc-probability
    session.gc_probability = 1
    
    ; Defines the probability that the 'garbage collection' process is started on every
    ; session initialization. The probability is calculated by using the following equation:
    ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ; the gc will run on any give request. Increasing this value to 1000 will give you
    ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; this is a more efficient approach.
    ; Default Value: 100
    ; Development Value: 1000
    ; Production Value: 1000
    ; https://php.net/session.gc-divisor
    session.gc_divisor = 1000
    
    ; After this number of seconds, stored data will be seen as 'garbage' and
    ; cleaned up by the garbage collection process.
    ; https://php.net/session.gc-maxlifetime
    session.gc_maxlifetime = 1440
    
    ; NOTE: If you are using the subdirectory option for storing session files
    ;       (see session.save_path above), then garbage collection does *not*
    ;       happen automatically.  You will need to do your own garbage
    ;       collection through a shell script, cron entry, or some other method.
    ;       For example, the following script would is the equivalent of
    ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ;          find /path/to/sessions -cmin +24 | xargs rm
    
    ; PHP 4.2 and less have an undocumented feature/bug that allows you to
    ; to initialize a session variable in the global scope, even when register_globals
    ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
    ; You can disable the feature and the warning separately. At this time,
    ; the warning is only displayed, if bug_compat_42 is enabled. This feature
    ; introduces some serious security problems if not handled correctly. It's
    ; recommended that you do not use this feature on production servers. But you
    ; should enable this on development servers and enable the warning as well. If you
    ; do not enable the feature on development servers, you won't be warned when it's
    ; used and debugging errors caused by this can be difficult to track down.
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off
    ; https://php.net/session.bug-compat-42
    session.bug_compat_42 = Off
    
    ; This setting controls whether or not you are warned by PHP when initializing a
    ; session value into the global space. session.bug_compat_42 must be enabled before
    ; these warnings can be issued by PHP. See the directive above for more information.
    ; Default Value: On
    ; Development Value: On
    ; Production Value: Off
    ; https://php.net/session.bug-compat-warn
    session.bug_compat_warn = Off
    
    ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; HTTP_REFERER has to contain this substring for the session to be
    ; considered as valid.
    ; https://php.net/session.referer-check
    session.referer_check =
    
    ; How many bytes to read from the file.
    ; https://php.net/session.entropy-length
    session.entropy_length = 0
    
    ; Specified here to create the session id.
    ; https://php.net/session.entropy-file
    ; On systems that don't have /dev/urandom /dev/arandom can be used
    ; On windows, setting the entropy_length setting will activate the
    ; Windows random source (using the CryptoAPI)
    session.entropy_file = /dev/urandom
    
    ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; or leave this empty to avoid sending anti-caching headers.
    ; https://php.net/session.cache-limiter
    session.cache_limiter = nocache
    
    ; Document expires after n minutes.
    ; https://php.net/session.cache-expire
    session.cache_expire = 180
    
    ; trans sid support is disabled by default.
    ; Use of trans sid may risk your users security.
    ; Use this option with caution.
    ; - User may send URL contains active session ID
    ;   to other person via. email/irc/etc.
    ; - URL that contains active session ID may be stored
    ;   in publicly accessible computer.
    ; - User may access your site with the same session ID
    ;   always using URL stored in browser's history or bookmarks.
    ; https://php.net/session.use-trans-sid
    session.use_trans_sid = 1
    
    ; Select a hash function for use in generating session ids.
    ; Possible Values
    ;   0  (MD5 128 bits)
    ;   1  (SHA-1 160 bits)
    ; This option may also be set to the name of any hash function supported by
    ; the hash extension. A list of available hashes is returned by the hash_algos()
    ; function.
    ; https://php.net/session.hash-function
    session.hash_function = 0
    
    ; Define how many bits are stored in each character when converting
    ; the binary hash data to something readable.
    ; Possible values:
    ;   4  (4 bits: 0-9, a-f)
    ;   5  (5 bits: 0-9, a-v)
    ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; Default Value: 4
    ; Development Value: 5
    ; Production Value: 5
    ; https://php.net/session.hash-bits-per-character
    session.hash_bits_per_character = 4
    
    ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; form/fieldset are special; if you include them here, the rewriter will
    ; add a hidden <input> field with the info which is otherwise appended
    ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; Note that all valid entries require a "=", even if no value follows.
    ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; https://php.net/url-rewriter.tags
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

    So now i have done all what’s suggested over your support page here and i don’t know what to do to find out what is the problem.

    Help please!

    Thanks

    https://www.ads-software.com/extend/plugins/eshop/

Viewing 4 replies - 16 through 19 (of 19 total)
  • mine is set to 32

    That is way too low. You need at least 64M – if not 128M.

    Thread Starter JReders

    (@jreders)

    Hello guys,

    i sent this message to my host support :

    Hello,

    I have a problem working eshop plugin on my website.
    After contacting the app developper and the theme developer, they both ask my to check if my session.save_path was correctly setup and working and php.ini file.

    Is it?

    I also did other changes :

    output_buffering = On

    ; session.auto_start = 0

    memory_limit = 64M

    So can you tell me if to your point of view my php.ini is well setup and if you see any problem with session.
    Also the changes i did in php.ini file may require server restart, would it be possible for you to do it?

    Thanks for your help

    And he answers me :

    Hello,

    I have corrected the session path from the php.ini file. Also, I have set output_buffering to On, session.auto_start = 0 and memory_limit = 64M in the php.ini file. You can verify this at https://jeanclaudelair.dotster.com/testinfo.php from your end.

    If you have any further questions, please update the Support Console.

    Sincerely,

    Shreyank N
    Level 3 Technical Support

    My website is know running correctly with eshop! ??
    So it was not an elegant themes or a plugins issues, it was a host problem.

    Thanks for helping me on this problem ??

    When you say “running correctly”, do you mean your checkout page doesn’t say that the shopping cart is empty, payments are processed, and everything works through to buyer satisfaction?

    If you don’t mind, please share what your host did when they corrected the session path. What is it now and how was it wrong?

    I need to know because output_buffering only fixed PayPal for me, but my orders are all still stuck in Processing and nothing happens after payment.

    Thanks.

    Thread Starter JReders

    (@jreders)

    Hello,
    yes my website in correctly working, no more empty cart, a can see the checkout page with the shipping section, able to pay via paypal, all is working.
    here is my [session] section in php.ini if it can help you…

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]

    [Session]
    ; Handler used to store/retrieve data.
    session.save_handler = files
    
    ; Argument passed to save_handler.  In the case of files, this is the path
    ; where data files are stored. Note: Windows users have to change this
    ; variable in order to use PHP's session functions.
    ;
    ; As of PHP 4.0.1, you can define the path as:
    ;
    ;     session.save_path = "N;/path"
    ;
    ; where N is an integer.  Instead of storing all the session files in
    ; /path, what this will do is use subdirectories N-levels deep, and
    ; store the session data in those directories.  This is useful if you
    ; or your OS have problems with lots of files in one directory, and is
    ; a more efficient layout for servers that handle lots of sessions.
    ;
    ; NOTE 1: PHP will not create this directory structure automatically.
    ;         You can use the script in the ext/session dir for that purpose.
    ; NOTE 2: See the section on garbage collection below if you choose to
    ;         use subdirectories for session storage
    ;
    ; The file storage module creates files using mode 600 by default.
    ; You can change that by using
    ;
    ;     session.save_path = "N;MODE;/path"
    ;
    ; where MODE is the octal representation of the mode. Note that this
    ; does not overwrite the process's umask.
    
    session.save_path = /home/users/web/b1105/dot.jeanclaudelair/public_html/cgi-bin/tmp
    
    ; Whether to use cookies.
    session.use_cookies = 1
    
    ; This option enables administrators to make their users invulnerable to
    ; attacks which involve passing session ids in URLs; defaults to 0.
    ; session.use_only_cookies = 1
    
    ; Name of the session (used as cookie name).
    session.name = PHPSESSID
    
    ; Initialize session on request startup.
    session.auto_start = 0
    
    ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    session.cookie_lifetime = 0
    
    ; The path for which the cookie is valid.
    session.cookie_path = /
    
    ; The domain for which the cookie is valid.
    session.cookie_domain =
    
    ; Handler used to serialize data.  php is the standard serializer of PHP.
    session.serialize_handler = php
    
    ; Define the probability that the 'garbage collection' process is started
    ; on every session initialization.
    ; The probability is calculated by using gc_probability/gc_divisor,
    ; e.g. 1/100 means there is a 1% chance that the GC process starts
    ; on each request.
    
    session.gc_probability = 1
    session.gc_divisor     = 100
    
    ; After this number of seconds, stored data will be seen as 'garbage' and
    ; cleaned up by the garbage collection process.
    session.gc_maxlifetime = 1440
    
    ; NOTE: If you are using the subdirectory option for storing session files
    ;       (see session.save_path above), then garbage collection does *not*
    ;       happen automatically.  You will need to do your own garbage
    ;       collection through a shell script, cron entry, or some other method.
    ;       For example, the following script would is the equivalent of
    ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ;          cd /path/to/sessions; find -cmin +24 | xargs rm
    
    ; PHP 4.2 and less have an undocumented feature/bug that allows you to
    ; to initialize a session variable in the global scope, albeit register_globals
    ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
    ; You can disable the feature and the warning separately. At this time,
    ; the warning is only displayed, if bug_compat_42 is enabled.
    
    session.bug_compat_42 = 0
    session.bug_compat_warn = 1
    
    ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; HTTP_REFERER has to contain this substring for the session to be
    ; considered as valid.
    session.referer_check =
    
    ; How many bytes to read from the file.
    session.entropy_length = 0
    
    ; Specified here to create the session id.
    session.entropy_file =
    
    ;session.entropy_length = 16
    
    ;session.entropy_file = /dev/urandom
    
    ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; or leave this empty to avoid sending anti-caching headers.
    session.cache_limiter = nocache
    
    ; Document expires after n minutes.
    session.cache_expire = 180
    
    ; trans sid support is disabled by default.
    ; Use of trans sid may risk your users security.
    ; Use this option with caution.
    ; - User may send URL contains active session ID
    ;   to other person via. email/irc/etc.
    ; - URL that contains active session ID may be stored
    ;   in publically accessible computer.
    ; - User may access your site with the same session ID
    ;   always using URL stored in browser's history or bookmarks.
    session.use_trans_sid = 1
    
    ; Select a hash function
    ; 0: MD5   (128 bits)
    ; 1: SHA-1 (160 bits)
    session.hash_function = 0
    
    ; Define how many bits are stored in each character when converting
    ; the binary hash data to something readable.
    ;
    ; 4 bits: 0-9, a-f
    ; 5 bits: 0-9, a-v
    ; 6 bits: 0-9, a-z, A-Z, "-", ","
    session.hash_bits_per_character = 4
    
    ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; form/fieldset are special; if you include them here, the rewriter will
    ; add a hidden <input> field with the info which is otherwise appended
    ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; Note that all valid entries require a "=", even if no value follows.
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘your shopping cart is empty’ is closed to new replies.