Comments (7)
Hi
Thank you for report! Could you please answer on some questions?
What version of PHP you're using?
What framework/CMS?
Do you dump some big strings/objects using PHP Console?
Did you tried to decrease PHP Console headers limit?
from php-console.
PHP 5.4.5.
Zend Framework 2.2.4
Yes, I do, but my wrapper for it should limit things so objects that strlen(print_r($message, true)) > 10000 don't get dumped.
I was unaware of that setting. What do you recommend?
from php-console.
So I think that a problem is in dumping huge ZF objects. Can you please try to disable any object dumping in PHP Console, use only errors handler. So if in this case 500 error problem will not be reproduced, then I will just check Dumper algorigthm for memory usage optimization.
from php-console.
So what I had done is added a log writer to zend that basically echoed all
my logs to phpconsole. I disabled that and haven't come across the issue
again today. Do you have any idea why it would "build up" from one request
to another? What I mean is if the issue happens on one request. I can clear
my cookies, log in again and make the exact same request with the same logs
generated and it will be fine, but over time something seems to build up
and then start causing the errors.
Also, just FYI they weren't ZF objects, they were mostly my data objects
that I would get back from webservice requests, so mostly just json_decoded
json.
On Fri, Dec 27, 2013 at 2:27 PM, Sergey [email protected] wrote:
So I think that a problem is in dumping huge ZF objects. Can you please
try to disable any object dumping in PHP Console, use only errors handler.
So if in this case 500 error problem will not be reproduced, then I will
just check Dumper algorigthm for memory usage optimization.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-31276329
.
from php-console.
Hm... I have an idea!
Can you please edit \src\PhpConsole\Connector.php
file and change POSTPONE_REQUESTS_LIMIT
constant value to 2 or 3 value?
from php-console.
ok, i've set it to 2. i had already cleared my cookies since the last time
it happened so i will monitor the issue and see if it reoccurs.
On Fri, Dec 27, 2013 at 3:19 PM, Sergey [email protected] wrote:
Hm... I have an idea!
Can you please edit \src\PhpConsole\Connector.php file and change
POSTPONE_REQUESTS_LIMIT constant value to 2 or 3 value?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/36#issuecomment-31278381
.
from php-console.
There was some new features commited in release v3.1. Please check if problem is resolved, and if not, reopen issue. Thank you.
from php-console.
Related Issues (20)
- Not working on Localhost.
- Привет русскоговорящим. Есть предложение.
- live demo site is not work - ERR_NAME_NOT_RESOLVED HOT 1
- Recently running >100% cpu HOT 2
- Firefox support
- Chrome keeps refreshing the page when open an ipv6 address site HOT 8
- PC::debug() not working locally with latest Chrome HOT 2
- php7.4RC3 with enable opcache fpm crash HOT 2
- Option to disable output via server side config
- Third party integration: standalone php-console build doesn't work on Wordpress HOT 1
- php7.4 with enable opcache fpm crash
- Extension not working as expected
- output buffering never ends
- chrome is crashed when I click "jump to file" when php error
- Warning: Private methods cannot be final as they are never overridden by other classes on php8-beta4
- Chrome extension no longer available in the Chrome web store HOT 14
- request php8 support
- Chrome just told me this extension is malware HOT 7
- Error: Required parameter $args follows optional parameter $key
- https://chrome.google.com WP PHP Console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-console.