Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 62
  1. #31
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: php 5.4 fatal error, Allowed memory size of 83886080 bytes exhausted

    Nothing jumping out to me

    Server1 OS: Linux 2.6.32-358.18.1.el6.x86_64
    Server2 OS: Linux 3.2.0-2-amd64

    Both have the same settings for PHP sessions (other then default session.save_path)
    Code:
    Session Support 	enabled
    Registered save handlers 	files user mm
    Registered serializer handlers 	php php_binary wddx
    
    Directive	Local Value	Master Value
    session.auto_start	Off	Off
    session.cache_expire	180	180
    session.cache_limiter	nocache	nocache
    session.cookie_domain	.mystore.com	no value
    session.cookie_httponly	On	Off
    session.cookie_lifetime	0	0
    session.cookie_path	/myadmin	/
    session.cookie_secure	Off	Off
    session.entropy_file	/dev/urandom	/dev/urandom
    session.entropy_length	32	32
    session.gc_divisor	2	1000
    session.gc_maxlifetime	900	1440
    session.gc_probability	1	0
    session.hash_bits_per_character	5	5
    session.hash_function	0	0
    session.name	zenAdminID	PHPSESSID
    session.referer_check	no value	no value
    session.save_handler	user	files
    session.save_path	/home/user/cache	/tmp
    session.serialize_handler	php	php
    session.upload_progress.cleanup	On	On
    session.upload_progress.enabled	On	On
    session.upload_progress.freq	1%	1%
    session.upload_progress.min_freq	1	1
    session.upload_progress.name	PHP_SESSION_UPLOAD_PROGRESS	PHP_SESSION_UPLOAD_PROGRESS
    session.upload_progress.prefix	upload_progress_	upload_progress_
    session.use_cookies	On	On
    session.use_only_cookies	On	On
    session.use_trans_sid	0	0
    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. #32
    Join Date
    Nov 2013
    Location
    New York
    Posts
    30
    Plugin Contributions
    0

    Default Re: php 5.4 fatal error, Allowed memory size of 83886080 bytes exhausted

    Not supprise. I have a fresh installed zc1.51 under php5.4 in the same server with no issue. It is not the setting of the server, it is the code which causing the problem. We just don't know which custom code can triger this type error and would like inside person help us to pinpoint the problem.

  3. #33
    Join Date
    Nov 2013
    Location
    New York
    Posts
    30
    Plugin Contributions
    0

    Default Re: php 5.4 fatal error, Allowed memory size of 83886080 bytes exhausted

    I just read the requirement for zc 1.51.
    Zen Cart v1.5.1 is compatible with PHP 5.2.14 thru PHP 5.3.x. Requires some patches to work with PHP 5.4.
    Can anyone point to me which patch it refers to? Thanks!

  4. #34
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,492
    Plugin Contributions
    11

    Default Re: php 5.4 fatal error, Allowed memory size of 83886080 bytes exhausted

    Don't know where you read that. Quoting the requirements from the docs folder in a 1.5.1 release.
    Minimum Server Requirements:

    • * PHP 5.2.14 or higher, Apache 2.0 or higher, and MySQL 4.1.3 or higher.
    • * Apache must be configured with AllowOverride set to either 'All' or at least both 'Limit' and 'Indexes' parameters, and preferably the 'Options' parameter as well.
    • * PHP must be configured to support CURL with OpenSSL

    RECOMMENDED server capabilities:

    • PHP 5.3.5 or higher
    • Apache 2.0 or higher
    • MySQL 5.0.90 or higher
    • and the Apache/PHP configuration settings mentioned above.

    While Zen Cart® can run on Windows/IIS servers, Linux/Apache servers are recommended for best results.

  5. #35
    Join Date
    Nov 2013
    Location
    New York
    Posts
    30
    Plugin Contributions
    0

    Default Re: php 5.4 fatal error, Allowed memory size of 83886080 bytes exhausted


  6. #36
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: php 5.4 fatal error, query factory

    Quote Originally Posted by kagaroo View Post
    Just fresh install zc 1.51 version on my server and test as frank18 suggested. Yes, no problem, I can log in without any problem.

    For my site, it was originally for the zc 1.38 and recently upgraded to zc 1.51. It was running smoothly on php 5.2 or 5.3. but not on php5.4.......
    I am suspecting that you still have some "left overs" from zc 1.3.8 in your upgraded zc 1.5.1 installation. The fact that you had no memory problems with a vanilla 1.5.1 install on the same server seems to confirm that theory.

    Somehow somewhere your upgraded install is running into a loop which exhausts your memory - no matter how high you set the limit.

    Do a thorough check of your file system or do a brand new re-build of your site with 1.5.1 which contains no traces of 1.3.8 code. Alternatively you could hire someone to do this job for you.

    Cheers/Frank

  7. #37
    Join Date
    Nov 2013
    Location
    New York
    Posts
    30
    Plugin Contributions
    0

    Default Re: php 5.4 fatal error, query factory

    The problem was solved when I chose "$add_session_id=false" in both seo.url.php and html_output.php. The insteresting thing is that the freshly installed zc 1.51 could work even when "$add_session_id=true" was chosen.

    Is there any problem if I chose "$add_session_id=false"?

  8. #38
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: php 5.4 fatal error, query factory

    Quote Originally Posted by kagaroo View Post
    The problem was solved when I chose "$add_session_id=false" in both seo.url.php and html_output.php. The insteresting thing is that the freshly installed zc 1.51 could work even when "$add_session_id=true" was chosen.
    See my post above:

    I am suspecting that you still have some "left overs" from zc 1.3.8 in your upgraded zc 1.5.1 installation.....
    It would be a matter of finding these 1.3.8 remnants and eliminating that code - wherever it may be.

    Quote Originally Posted by kagaroo View Post
    Is there any problem if I chose "$add_session_id=false"?
    I am afraid I can't assist with an answer to that question.

  9. #39
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,429
    Plugin Contributions
    94

    Default Re: php 5.4 fatal error, query factory

    Quote Originally Posted by lat9 View Post
    The log I received was
    Code:
    [22-Nov-2013 13:14:55 America/New_York] PHP Fatal error:  Allowed memory size of 94371840 bytes exhausted (tried to allocate 746619897 bytes) in xxx/includes/functions/html_output.php on line 62
    ... the referenced line being the relatively innocuous
    Code:
          if (defined('SID') && zen_not_null(SID)) {
    Still having this issue. I don't know if use of the pre-defined constant 'SID' is part of the issue, based on the comment in this (http://www.php.net/manual/en/session.constants.php) page at php.net. My php.ini sets both session.use_cookies and session.use_only_cookies to 'On' and I have been refreshing the screen, trying to get past the login whitescreen, using FireFox 25.0.1.

  10. #40
    Join Date
    Feb 2009
    Posts
    69
    Plugin Contributions
    0

    Default Re: php 5.4 fatal error, query factory

    If I make changes as you did "$add_session_id=false" then does it compromise my website security? Does it have any other side effects?
    This blank screen problem really bothering me.

    Quote Originally Posted by kagaroo View Post
    The problem was solved when I chose "$add_session_id=false" in both seo.url.php and html_output.php. The insteresting thing is that the freshly installed zc 1.51 could work even when "$add_session_id=true" was chosen.

    Is there any problem if I chose "$add_session_id=false"?

 

 
Page 4 of 7 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. Replies: 12
    Last Post: 17 Mar 2014, 11:10 PM
  2. Replies: 11
    Last Post: 12 Feb 2013, 10:04 PM
  3. Replies: 4
    Last Post: 22 Jan 2009, 01:14 PM
  4. Allowed memory size of 8388608 bytes exhausted
    By Cornholio in forum General Questions
    Replies: 2
    Last Post: 14 Jun 2007, 03:18 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