Jump to content

Upload Error at admin panel?


Recommended Posts

Most likely, you've exceeded your memory limit. You can edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on' to get an error message instead of a blank tab to confirm this. You must edit your php.ini file and increase your memory_limit, or reduce the size the big image yourself using an image editor like Paint.NET before uploading.

Link to comment
Share on other sites

in php.ini

upload_max_filesize = 24M
file_uploads = On

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 900 ; Maximum execution time of each script, in seconds
max_input_time = 600 ; Maximum amount of time each script may spend parsing request data
memory_limit = 64M ; Maximum amount of memory a script may consume (8MB)




in config.inc.php

<?php
/* Debug only */
ini_set('display_errors', 'on');
define('_PS_DEBUG_SQL_', false);

....

in admin/adminproducts.php


class AdminProducts extends AdminTab
{
protected $maxImageSize = 9000000;
protected $maxFileSize = 10000000;

...

so still i get blank page error :S

Link to comment
Share on other sites

×
×
  • Create New...