Page 1 of 1

Images not showing on insert media

Posted: Sun Jul 11, 2010 12:48 pm
by VideoRob
I maxed out the space on my server when I was trying to upload some pictures, serendipity threw up some errors and wouldn't let me upload any more pics. So I freed up some space on the server and it seemed to be working again.

For some reason now when I go to insert new media in a post the pics aren't showing up. I took a screenshot to show you
http://www.dietpillexpert.co.uk/uploads/screenshot.png

Theres plenty of space on my server now and I can upload pics fine.

Re: Images not showing on insert media

Posted: Sun Jul 11, 2010 12:56 pm
by garvinhicking
Hi!

Most probably, the server is having some kind of fatal PHP error, that your server suppresses. Please edit your .htaccess file and add "DisplayErrors On" at the top of the file, and then check if you get error messages there.

Most probably, some pretty large file is still in your uploads/ directory, and your server's RAM is not sufficient to load up a huge image. You might need to delete that file through FTP...

Regards,
Garvin

Re: Images not showing on insert media

Posted: Sun Jul 11, 2010 7:57 pm
by VideoRob
ok I did that, i'm getting a 500 Internal Server Error on every page

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@**********.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.dietpillexpert.co.uk Port 80

I checked the upload folder and the biggest file in there is that screen shot.

I have another serendipity blog on the same server and thats working fine.

Re: Images not showing on insert media

Posted: Tue Jul 13, 2010 12:42 pm
by garvinhicking
Hi!

I'm sorry, I gave you the wrong directive. The heat in germany is getting to me. The proper directive is "php_value display_errors On".

Regards,
Garvin

Re: Images not showing on insert media

Posted: Tue Jul 13, 2010 2:27 pm
by VideoRob
It's just the same

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@***************.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.dietpillexpert.co.uk Port 80

Re: Images not showing on insert media

Posted: Tue Jul 13, 2010 6:08 pm
by VideoRob
I just spoke to my host and they say that theres no problem with my server.

It seems like maxing out the space on my server has effect serendipity some how.

Re: Images not showing on insert media

Posted: Tue Jul 13, 2010 10:13 pm
by garvinhicking
Hi!

If you remove thie display_errors thing again, does your page pull up again properly?

If the page is empty like that, check your /uploads directory for larger files. You might exceed your RAM limit...

Regards,
Garvin

Re: Images not showing on insert media

Posted: Tue Jul 13, 2010 11:15 pm
by VideoRob
When I remove php_value display_errors the site goes back to normal.

I just deleted every picture from the uploads folder and its still the same.

I can't understand this.

Re: Images not showing on insert media

Posted: Thu Jul 15, 2010 10:08 am
by garvinhicking
Hi!

So your /uploads is completely empty?! And how does your "Manage media" screen look now?!

Regards,
Garvin

Re: Images not showing on insert media

Posted: Thu Jul 15, 2010 10:26 am
by VideoRob
Its still the same (blank) when I delete everything in my uploads folder

Re: Images not showing on insert media

Posted: Thu Jul 15, 2010 11:59 am
by garvinhicking
Hi!

VideoRob wrote:Its still the same (blank) when I delete everything in my uploads folder
Try this, create a test.php file in your serendipity directory, enter this:

Code: Select all

<?php
echo fatal_er(
and call it via http://yourhost/test.php and see if you get an error message or a blank page.

Regards,
Garvin

Re: Images not showing on insert media

Posted: Sat Jul 17, 2010 4:34 pm
by VideoRob
It's a blank page

I uploaded the test file, tried inserting media, added an image and nothing showed in test.php

Re: Images not showing on insert media

Posted: Sun Jul 18, 2010 7:23 pm
by garvinhicking
Hi!

Oka,y that tells us that PHP error messages are definitely disabled on your server. Please ask your provider where you'd find the PHP error log.

Regards,
Garvin

Re: Images not showing on insert media

Posted: Mon Jul 19, 2010 3:19 pm
by VideoRob
OK, i've found the error log. Here it is:

[06-Jul-2010 18:47:24] XML error at line 1, check URL
[06-Jul-2010 18:47:25] XML error at line 1, check URL
[06-Jul-2010 22:49:18] XML error at line 1, check URL
[06-Jul-2010 22:49:18] XML error at line 1, check URL
[06-Jul-2010 22:49:18] XML error at line 1, check URL
[07-Jul-2010 01:08:02] XML error at line 1, check URL
[07-Jul-2010 01:08:03] XML error at line 1, check URL
[07-Jul-2010 01:08:03] XML error at line 1, check URL
[07-Jul-2010 02:52:52] XML error at line 1, check URL
[07-Jul-2010 02:52:53] XML error at line 1, check URL
[07-Jul-2010 02:52:53] XML error at line 1, check URL
[07-Jul-2010 18:23:50] XML error at line 1, check URL
[07-Jul-2010 18:23:50] XML error at line 1, check URL
[07-Jul-2010 18:23:50] XML error at line 1, check URL
[08-Jul-2010 19:15:21] XML error at line 1, check URL
[08-Jul-2010 19:15:22] XML error at line 1, check URL
[08-Jul-2010 19:15:22] XML error at line 1, check URL
[08-Jul-2010 22:29:57] PHP Warning: include(/home/provensl/public_html/dietpillexpert.co.uk/templates_c/default^%%1A^1A0^1A05AFFB%%media_pane.tpl.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/Smarty.class.php on line 1255
[08-Jul-2010 22:29:57] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/provensl/public_html/dietpillexpert.co.uk/templates_c/default^%%1A^1A0^1A05AFFB%%media_pane.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/:/home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/:/home/provensl/public_html/dietpillexpert.co.uk/:') in /home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/Smarty.class.php on line 1255
[08-Jul-2010 22:30:27] PHP Warning: include(/home/provensl/public_html/dietpillexpert.co.uk/templates_c/default^%%1A^1A0^1A05AFFB%%media_pane.tpl.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/Smarty.class.php on line 1255
[08-Jul-2010 22:30:27] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/provensl/public_html/dietpillexpert.co.uk/templates_c/default^%%1A^1A0^1A05AFFB%%media_pane.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/:/home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/:/home/provensl/public_html/dietpillexpert.co.uk/:') in /home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/Smarty.class.php on line 1255
[08-Jul-2010 22:31:45] PHP Warning: include(/home/provensl/public_html/dietpillexpert.co.uk/templates_c/default^%%87^870^870DBA57%%media_upload.tpl.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/Smarty.class.php on line 1255
[08-Jul-2010 22:31:45] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening '/home/provensl/public_html/dietpillexpert.co.uk/templates_c/default^%%87^870^870DBA57%%media_upload.tpl.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/:/home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/:/home/provensl/public_html/dietpillexpert.co.uk/:') in /home/provensl/public_html/dietpillexpert.co.uk/bundled-libs/Smarty/libs/Smarty.class.php on line 1255
[08-Jul-2010 22:42:50] PHP Warning: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: gd-jpeg: JPEG library reports unrecoverable error: in /home/provensl/public_html/dietpillexpert.co.uk/include/functions_images.inc.php on line 1334
[10-Jul-2010 17:07:34] XML error at line 1, check URL
[10-Jul-2010 17:07:35] XML error at line 1, check URL
[10-Jul-2010 17:07:35] XML error at line 1, check URL
[10-Jul-2010 17:53:31] XML error at line 1, check URL
[10-Jul-2010 17:53:31] XML error at line 1, check URL
[10-Jul-2010 17:53:31] XML error at line 1, check URL
[12-Jul-2010 00:13:45] XML error at line 1, check URL
[12-Jul-2010 00:13:45] XML error at line 1, check URL
[12-Jul-2010 00:13:45] XML error at line 1, check URL
[12-Jul-2010 16:56:55] XML error at line 1, check URL
[12-Jul-2010 16:56:56] XML error at line 1, check URL
[12-Jul-2010 16:56:56] XML error at line 1, check URL
[13-Jul-2010 01:40:28] XML error at line 1, check URL
[13-Jul-2010 01:40:28] XML error at line 1, check URL
[13-Jul-2010 01:40:28] XML error at line 1, check URL
[13-Jul-2010 19:18:42] XML error at line 1, check URL
[13-Jul-2010 19:18:42] XML error at line 1, check URL
[13-Jul-2010 19:18:42] XML error at line 1, check URL

I think it was around the 8th that the problem started

Re: Images not showing on insert media

Posted: Mon Jul 19, 2010 3:26 pm
by garvinhicking
Hi!

Check your templates_c/ directory, are there any files that have "..media_..." in them? Is your templates_c/ directory writable for PHP (chmod 777 through FTP?)

Also check if your templates/default/ directory contains a admin/ directory that has all of these files:

Code: Select all

media_choose.tpl        media_showitem.tpl
category_selector.js  media_imgedit.tpl       media_upload.tpl
entries.tpl           media_imgedit_done.tpl  pluginmanager.css
img                   media_items.tpl         style.css
imgedit.css           media_pane.tpl
index.tpl             media_properties.tpl
Regards,
Garvin