Page 2 of 2

Posted: Wed 12. Dec 2007, 09:43
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

Posted: Wed 12. Dec 2007, 18:00
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

Posted: Wed 12. Dec 2007, 21:25
by Oliver Georgi
no

Let it as is!

Oliver

Posted: Fri 14. Dec 2007, 04:12
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

Posted: Fri 14. Dec 2007, 07:09
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

Posted: Fri 14. Dec 2007, 07:23
by StudioZ
Oh! 8)
This is great News Oliver!
Thanks for mentioning 8)

Take care

Yves

Re: Internal Server Error message

Posted: Sun 18. May 2008, 19:49
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?

Re: Internal Server Error message

Posted: Sun 18. May 2008, 23:34
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

Re: Internal Server Error message

Posted: Mon 19. May 2008, 20:53
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.

Re:

Posted: Mon 19. May 2008, 21:32
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?

Re: Internal Server Error message

Posted: Tue 20. May 2008, 00:12
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

Re: Internal Server Error message

Posted: Tue 20. May 2008, 00:13
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