Hi guys.
Im trying to upload a .png image to my local server.
I select the attachment,i add the attachment,im waiting to upload but then nothing just a white screen.
Why this happening?
Try to deactivate all plugin.
Add the following on a new line to inc/init.php after the line that says "<?php":
define('NO_PLUGINS', true);
so it looks like this:
<?php
define('NO_PLUGINS', true);
Can you now complete the upload?
Ι ll try this right now but i just upload a png file around 200kb and its ok.Also i have modified the allowed png post size to 4mb.
The first file was around 1.8mb
Any idea?
(2011-06-04, 02:22 PM)Aries-Belgium Wrote: [ -> ]Try to deactivate all plugin.
Add the following on a new line to inc/init.php after the line that says "<?php":
define('NO_PLUGINS', true);
so it looks like this:
<?php
define('NO_PLUGINS', true);
Can you now complete the upload?
Tried it and nothing the same white screen.
Instead of disabling the plugins try to enabled error_reporting.
Add the following on a new line to inc/init.php after the line that says "<?php":
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
Now try to upload a file again that failed. Do you get any error message?
Nothing again.Not even source code of the page.
The same file as a .jpg uploaded with no problems.
Can you see what the values are of 'max_upload_size' and 'memory_limit' of your PHP configuration?
(2011-06-04, 02:45 PM)Aries-Belgium Wrote: [ -> ]Can you see what the values are of 'max_upload_size' and 'memory_limit' of your PHP configuration?
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 2M
Resource Limits memory_limit Maximum amount of memory a script may consume (32MB) 32M
If you're sure that ./uploads/ and the folders inside ./uploads/ are writeable, and the uploads path in the ACP settings is right, you may need to ask your host.
I cant unserstand this.With other types of files its working great.
I decrease the size.Now its a png with 1,67mb size.Uploaded perfectly..........
Then your host has disabled the uploading of large files beyond that limit.