Internal Server Error message

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

yes recommend - check file tabel in database and try to remember which of the images might be to big for PHP process - often JPG is responsible for it because it can have very small file size (higher compression) as file but need lot of memory while working with it.

And maybe your PHP has memory limit of max 8MB as often seen.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
boudewijn1
Posts: 16
Joined: Mon 10. Dec 2007, 18:48

Post by boudewijn1 »

Gentlemen, my problem is solved. Probably a corrupt JPG was uploaded, since I removed the latest uploaded JPG and the filemanager became operational again.

Thanks for your suggestions regarding the problem!

However, someone advised me to implement this change;

Change "filebrowser.php" (in /phpwcms/phpwcms_1.3.3/cms/). The row "headerRedirect('http://'.$_SERVER['HTTP_HOST'])" should be altered into "header('location:http://'.$_SERVER['HTTP_HOST']);

Is it wise to implement this?

And how can I prevent this JPG issue?

Best regards, Boudewijn
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

no

Let it as is!

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hey :roll:
I might be a bit off in the field but… the only time I encountered such file misbehaving stuff and hanging system, has been when I uploaded an encrypted PDF file and another time it was a corrupted PDF file.
Although… Oliver should be right about the image possibly being too big… maybe?
:roll:

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

future release will handle image display in another way, then it can not kick the whole system anymore, when listing files.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Oh! 8)
This is great News Oliver!
Thanks for mentioning 8)

Take care

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Stim
Posts: 587
Joined: Mon 6. Jun 2005, 13:13

Re: Internal Server Error message

Post by Stim »

Hi guys.

I get same error but when try to create new category, try to delete category, try to delete article etc. What are solutions for this?
)-= 1.3.0 user =-(
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Internal Server Error message

Post by Oliver Georgi »

Check your db structure - seems an upgrade step failed or is missing. Also possible that you use a security software that blocks redirecting... Or whatever...

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Stim
Posts: 587
Joined: Mon 6. Jun 2005, 13:13

Re: Internal Server Error message

Post by Stim »

The problem is probably that my host update there server with something I think. Works great just few days ago but something happens later. Tried with same solution as boudewijn1 first but didn’t work. However, i will try updating entire phpwcms some day, as soon I can instead.

Thanks for great cms however. Really nice work and hope 1.5 will release soon man.

Edit: BTW Oliver, maybe we should have an "Error" forum also, just for all error topics. Would be nice I think.
)-= 1.3.0 user =-(
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re:

Post by Jensensen »

Oliver Georgi wrote:future release will handle image display in another way, then it can not kick the whole system anymore, when listing files.

Oliver

would be really great!
(available with v1.3.9 r_183 ??)

anyway, best would be, finally, to manage, PROTECT the SYSTEM (cms) TO CHECK FILES automatically
to prevent nrd's from uploading 600dpi jpgs, CMYK, corrupt PDF, JPG, TIF, PCX. WMF and other file types to the BE

BEFORE ANY CRASHES shut down the site
BEFORE any files were written to the file center.

Possible?
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Internal Server Error message

Post by Oliver Georgi »

There is such image size check included since r145
http://code.google.com/p/phpwcms/source/detail?r=145

But new setting necessary to enable/disable it - enabled by default:
$phpwcms['gd_memcheck_off'] = 0;

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Internal Server Error message

Post by Oliver Georgi »

Stim wrote:... BTW Oliver, maybe we should have an "Error" forum also, just for all error topics. Would be nice I think.
Use Google Code if it is a "real" error!
http://code.google.com/p/phpwcms/issues/list

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply