beanime.xyz
why when I upload an image I can’t upload an image using gd_lib on codeigniter with jpeg type, even though before that it can be uploaded smoothly.
Thanks
Error Message
this my code :
"title": "CodeIgniter\\Images\\Exceptions\\ImageException",
"type": "CodeIgniter\\Images\\Exceptions\\ImageException",
"code": 500,
"message": "Your server does not support the GD function required to process this type of image. images.jpgNotSupported",
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/Images/Exceptions/ImageException.php",
"line": 40,
"trace": [
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/Images/Handlers/GDHandler.php",
"line": 432,
"function": "forInvalidImageCreate",
"class": "CodeIgniter\\Images\\Exceptions\\ImageException",
"type": "::",
"args": [
"images.jpgNotSupported"
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/Images/Handlers/GDHandler.php",
"line": 388,
"function": "getImageResource",
"class": "CodeIgniter\\Images\\Handlers\\GDHandler",
"type": "->",
"args": [
"/tmp/php8yJ2Gg",
2
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/Images/Handlers/GDHandler.php",
"line": 234,
"function": "createImage",
"class": "CodeIgniter\\Images\\Handlers\\GDHandler",
"type": "->",
"args": []
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/Images/Handlers/GDHandler.php",
"line": 191,
"function": "process",
"class": "CodeIgniter\\Images\\Handlers\\GDHandler",
"type": "->",
"args": [
"resize"
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/Images/Handlers/BaseHandler.php",
"line": 298,
"function": "_resize",
"class": "CodeIgniter\\Images\\Handlers\\GDHandler",
"type": "->",
"args": [
false
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/app/Controllers/Admin/Subs.php",
"line": 103,
"function": "resize",
"class": "CodeIgniter\\Images\\Handlers\\BaseHandler",
"type": "->",
"args": [
50,
50
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/CodeIgniter.php",
"line": 914,
"function": "update",
"class": "App\\Controllers\\Admin\\Subs",
"type": "->",
"args": [
"36"
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/CodeIgniter.php",
"line": 400,
"function": "runController",
"class": "CodeIgniter\\CodeIgniter",
"type": "->",
"args": [
{
"session": {},
"sub": {
"pager": null
},
"config": {
"upload_path": "./images/"
},
"dimensions": [
"50",
"90",
"150",
"200"
]
}
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/system/CodeIgniter.php",
"line": 308,
"function": "handleRequest",
"class": "CodeIgniter\\CodeIgniter",
"type": "->",
"args": [
null,
{
"handler": "file",
"backupHandler": "dummy",
"storePath": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/writable/cache/",
"cacheQueryString": false,
"prefix": "",
"memcached": {
"host": "127.0.0.1",
"port": 11211,
"weight": 1,
"raw": false
},
"redis": {
"host": "127.0.0.1",
"password": null,
"port": 6379,
"timeout": 0,
"database": 0
},
"validHandlers": {
"dummy": "CodeIgniter\\Cache\\Handlers\\DummyHandler",
"file": "CodeIgniter\\Cache\\Handlers\\FileHandler",
"memcached": "CodeIgniter\\Cache\\Handlers\\MemcachedHandler",
"predis": "CodeIgniter\\Cache\\Handlers\\PredisHandler",
"redis": "CodeIgniter\\Cache\\Handlers\\RedisHandler",
"wincache": "CodeIgniter\\Cache\\Handlers\\WincacheHandler"
}
},
false
]
},
{
"file": "/home/vol14_1/epizy.com/epiz_26194825/beanime.xyz/htdocs/index.php",
"line": 45,
"function": "run",
"class": "CodeIgniter\\CodeIgniter",
"type": "->",
"args": []
}
]
}