Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Uploading files > internal server error?

Featured Replies

Hi All,

 

Got a strange problem - when server was on PHP4 I had no problems but since upgrading to PHP5 ths following problem is occuring:

 

When I upload an image, if it is small image it uploads fine and dandy without a problem.... however:

 

If I take an image that is say 1.6 meg, I click upload.... it takes 25 seconds then says:

 

The website cannot display the page

HTTP 500

Most likely causes:

The website is under maintenance.

The website has a programming error.

 

 

Can anyone tell me why this has suddenly started happening with large images?

 

I am rendering images with GD Library if that makes any difference whatso ever.. but I dont think it would as it works fine with smaller images?

Is it your server? are you using a server company?

 

OK if its your server you might have changed settings so that files over a certain size dont upload. the default is 10mb i think.

 

If your using a payed server then i could contact them and ask for a reason.

 

other than this i could not guess. Might be your coding if you made the page it could be a few other things like your connection or even your ftp program.

  • Author

its a paid server company... I'll e-mail them asking them if they can help.

 

I was wondering if something may have changed in PHP.INI.. I checked max file size but it says 2M which should be more than sufficient?

make sure your file is not corrupt and open it .. Also might be time limit on upload where your connection is taking longer and cut out ... there is a default time out limit on php but im not sure what it is... I think emailing them will be your best bet in solving this issue

  • Author

I did wonder if there was a time limit for the upload, but I dont want to touch PHP.INI cause quite frankly i dont know what im doing with it.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.