Advertisement:

Author Topic: Pre-resize Images HTTP ERROR 500  (Read 1903 times)

altavista

  • Full Member
  • ***
  • Posts: 114
Pre-resize Images HTTP ERROR 500
« on: November 27, 2016, 03:42:18 pm »
I followed the instructions of the creator for install and use Pre-resize Images plugin, but when trying to post an ad sends me to blank index.php and

page isn’t working

classifieds.xfini.com is currently unable to handle this request.
HTTP ERROR 500


Only happens with "Pre-resize Images"


Can you explain what happens here?

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #1 on: November 27, 2016, 04:46:51 pm »
Hi,

No idea. ??? Try disabling the other plugins to discard some kind of conflict.

Regards

PS.- BTW it seems rude to me to rate my plugin (1 star) before asking for support. As you can see for the rest of reviews, everyone else is quite satisfied with it... :(

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #2 on: November 27, 2016, 05:05:36 pm »
Thanks for your reply.

All plugins have been disabled, but the error persists.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #3 on: November 27, 2016, 05:09:54 pm »
Check your server error log if you have acces to it, or enable internal Osclass debug utility:

https://doc.osclass.org/Debug_PHP_errors

...and see if something is shown there after you try to publish and ad with images.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #4 on: November 27, 2016, 05:34:23 pm »
I've done a test on your site, uploading of small images is fine, so maybe your problem is in your configuration. What values ("XXXX") have you on Admin Dashboard / Settings / Media:

Maximum size XXXX  Size in KB
Maximum size PHP configuration allows: XXXX KB? ???

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #5 on: November 27, 2016, 06:02:33 pm »
I've done a test on your site, uploading of small images is fine, so maybe your problem is in your configuration. What values ("XXXX") have you on Admin Dashboard / Settings / Media:

Maximum size XXXX  Size in KB
Maximum size PHP configuration allows: XXXX KB? ???

thanks again,.

Maximum size PHP configuration allows: 8192 KB

Maximum size 5000kb

deBUg, i have an error from yesterday.

[26-Nov-2016 18:47:28 America/New_York] PHP Notice:  Undefined index: s_city in /home/dfgdddfg/public_html/classifieds/oc-includes/osclass/helpers/hDefines.php on line 494

-----

i can post image with 640k x 320, nothing above.
« Last Edit: November 27, 2016, 06:05:49 pm by altavista »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #6 on: November 27, 2016, 06:23:48 pm »
I can see you're running Nginx, is it your own server (VPS or dedicated)? ???

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #7 on: November 27, 2016, 06:30:18 pm »
I can see you're running Nginx, is it your own server (VPS or dedicated)? ???

VPS

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #8 on: November 27, 2016, 06:37:53 pm »
See in /etc/nginx/nginx.conf what value you have for "client_max_body_size" (it should be a bit more of 8192 KB to match your PHP limits)

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #9 on: November 27, 2016, 07:17:00 pm »
See in /etc/nginx/nginx.conf what value you have for "client_max_body_size" (it should be a bit more of 8192 KB to match your PHP limits)

client_max_body_size 200M;

My hosting provider check all hosting configuration, and do not find any error.

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #10 on: November 27, 2016, 07:33:03 pm »
Then I'm running out of ideas... ???

If you disable the plugin and try to upload a big image (but of no more than 5 MB), it would work?

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #11 on: November 27, 2016, 08:25:03 pm »
Then I'm running out of ideas... ???

If you disable the plugin and try to upload a big image (but of no more than 5 MB), it would work?

up to 1000x1000 /1200 was fine..
« Last Edit: November 27, 2016, 08:29:32 pm by altavista »

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Pre-resize Images HTTP ERROR 500
« Reply #12 on: November 27, 2016, 08:27:23 pm »
And the filesize of that image?

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #13 on: November 27, 2016, 08:30:35 pm »
And the filesize of that image?

7.86kb

i try 1200x1200 = 22.5kb and work..

altavista

  • Full Member
  • ***
  • Posts: 114
Re: Pre-resize Images HTTP ERROR 500
« Reply #14 on: November 27, 2016, 08:34:08 pm »
And the filesize of that image?

7.86kb

i try 1200x1200 = 22.5kb

1300X1300 25.6KB

1400X1400

1450X1450 24.3KB

1500x1000

and work..



1500X1450, ad create but image was not uploaded

1500x1500 down / after refresh (index ) ad was create without image
« Last Edit: November 27, 2016, 08:48:56 pm by altavista »