-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot show image, headers have already been sent #94
Comments
Locallly, I am using WAMP and it is OK. When uploading to server, then they do not display. |
Hi srikanttowakel. You solved this problem? |
Hi, try this: delete the ?> sign from your php file (at the end). Upd.: please check all of the included files in the session. If this doesn't help, then please compare the settings on your local machine, and on the server. On 2013.09.17., at 14:58, julioaze notifications@github.com wrote:
|
Hi cbabos. Thanks for reply. |
Is there any difference in the local config and the server config? |
Locally it works perfect. I do not have access to the server settings. |
But you can see the PHP settings with phpinfo(); :) On 2013.09.17., at 15:29, julioaze notifications@github.com wrote:
|
Is your phpThumb cache directory writeable on the server? |
Yes! The directory CHMOD is 755 |
On the server was working normally, then the images disappeared |
In this case, there must be a change in the configuration of the server (i think). |
Hi, Hope this helps. Srikant On Tue, Sep 17, 2013 at 4:58 PM, julioaze notifications@github.com wrote:
|
I think, that the phpthumb cache directory has another user:group owner than the user:group owner of the apache process. If this is the case, then it's not a problem with the phpThumb code, it's simply a server config issue. On 2013.09.17., at 21:37, srikanttowakel notifications@github.com wrote:
|
Hello and thanks again for the answers. |
Try to enable the debug mode (fully enable, so log messages are shown), and look at the content of error.log On 2013.09.17., at 22:04, julioaze notifications@github.com wrote:
|
message on log in phpthumb folder: Uncaught exception 'RuntimeException' with message 'Cannot show image, headers have already been sent' in /home/odontoes/public_html/thumb/GdThumb.inc.php:569 messagem on log in thumb_plugins folder PHP Fatal error: Class 'PhpThumb' not found in /home/odontoes/public_html/thumb/thumb_plugins/gd_reflection.inc.php on line 179 |
it can be also because of memory of the virtual server hosting the website. On Wed, Sep 18, 2013 at 12:16 AM, julioaze notifications@github.com wrote:
|
scan your "thumb" directory for all "error_log" files or "_notes" directories, and delete them. In my case I had an error_log file at the thumb_plugins, as soon as I deleted it it worked on the remote side. I came to this because there was no reason why it whould work differently localy and remotely, the only difference was these files. Good Luck |
I also have this: It does sound like a config issue. on a new install locally, the thumbnailer will work for a while and then quit. |
All the images that are being resized using adaptiveResize are not displaying anymore.
Site: www.pr-property.com
Error getting from Chrome:
Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot show image, headers have already been sent' in /home/prprop1m/public_html/phpthumb/GdThumb.inc.php:569 Stack trace: #0 /home/prprop1m/public_html/en/cropSquare100.php(48): GdThumb->show() #1 {main} thrown in /home/prprop1m/public_html/phpthumb/GdThumb.inc.php on line 569
They used to display.
Kindly tell me what you need to troubleshoot.
Thanks,
Srikant
The text was updated successfully, but these errors were encountered: