This topic is locked
[SOLVED]

 Error Uploading a picture in Profile

12/17/2020 10:00:18 PM
PHPRunner General questions
Myr0n author

Hello

I am having problems when a user try to upload a heavy picture in his profile at first I tough that was the set_time_limit but not, after a few test it seems that the userinfo.php lose an objectThe picture file should be one of those gif,jpg,pngResize image after upload is Image size 300
My final test was1.-Select a picture around 8.04 mb2.-Click on the Save buttonwill give an error3.-Click on the browser refresh button4.-In the developer console of the browser, I am using Firefox developer edition, shows up next error**




****Uncaught TypeError: handlerData is undefined** callUnload [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:24752

onunload [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:23068

PageManager [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:23067

<anonymous> [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:24768

globalEval [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

globalEval [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

text script [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

Qc [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

x [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

b [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

send [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

ajax [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

_evalUrl [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

domManip [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

append [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

a [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

displayGenericAjaxError [http://localhost:808...l.js?36354:2248]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:2248")

fn [http://localhost:808....js?36354:29899]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29899")

fire [http://localhost:808...ll.js?36354:260]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:260")

fireEvent [http://localhost:808...ll.js?36354:366]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:366")

createIFrame [http://localhost:808....js?36354:54548]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54548")

dispatch [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

handle [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

add [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

bind [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

createIFrame [http://localhost:808....js?36354:54531]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54531")

initForm [http://localhost:808....js?36354:54356]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54356")

submit [http://localhost:808....js?36354:54333]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54333")

saveHn [http://localhost:808....js?36354:29949]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29949")

saveButton [http://localhost:808....js?36354:29809]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29809")

dispatch [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

handle [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

add [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

initButtons [http://localhost:808....js?36354:29776]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29776")

initButtons [http://localhost:808....js?36354:32704]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:32704")

init [http://localhost:808....js?36354:29720]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29720")

init [http://localhost:808....js?36354:32695]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:32695")

goInitQueue [http://localhost:808....js?36354:25712]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:25712")

asyncInitCall [http://localhost:808....js?36354:25698]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:25698")

createSingle [http://localhost:808...ll.js?36354:188]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:188")

fire [http://localhost:808...ll.js?36354:260]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:260")

fireEvent [http://localhost:808...ll.js?36354:366]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:366")

postLoad [http://localhost:808...ll.js?36354:924]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:924")

setTimeout handler*postLoad [http://localhost:808...ll.js?36354:923]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:923")

loadJS [http://localhost:808...ll.js?36354:826]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:826")

load [http://localhost:808...ll.js?36354:807]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:807")

loadFiles [http://localhost:808....js?36354:26565]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:26565")

goInitQueue [http://localhost:808....js?36354:25712]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:25712")

initPage [http://localhost:808....js?36354:23491]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:23491")

initPages [http://localhost:808....js?36354:23179]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:23179")

constructor [http://localhost:808...ll.js?36354:662]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:662")

createSingle [http://localhost:808...ll.js?36354:188]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:188")

fire [http://localhost:808...ll.js?36354:260]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:260")

fireEvent [http://localhost:808...ll.js?36354:366]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:366")

postLoad [http://localhost:808...ll.js?36354:924]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:924")

setTimeout handler*postLoad [http://localhost:808...ll.js?36354:923]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:923")

postLoadFunction [http://localhost:808...ll.js?36354:852]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:852")

loadJS [http://localhost:808...ll.js?36354:865]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:865")

load [http://localhost:808...ll.js?36354:807]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:807")

<anonymous> [http://localhost:808...erinfo.php?:827]("http://localhost:8086/userinfo.php?:827")

loadfirst.js:24752:5

callUnload [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:24752

onunload [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:23068

(Async: EventHandlerNonNull)

PageManager [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:23067

<anonymous> [http://localhost:808...dfirst.js?36354]("http://localhost:8086/include/loadfirst.js?36354") line 2 > eval:24768

globalEval [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

globalEval [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

text script [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

Qc [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

x [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

b [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

send [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

ajax [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

_evalUrl [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

domManip [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

append [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

a [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

displayGenericAjaxError [http://localhost:808...l.js?36354:2248]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:2248")

fn [http://localhost:808....js?36354:29899]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29899")

fire [http://localhost:808...ll.js?36354:260]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:260")

fireEvent [http://localhost:808...ll.js?36354:366]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:366")

createIFrame [http://localhost:808....js?36354:54548]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54548")

dispatch [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

handle [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

(Async: EventListener.handleEvent)

add [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

bind [http://localhost:808...irst.js?36354:4]("http://localhost:8086/include/loadfirst.js?36354:4")

createIFrame [http://localhost:808....js?36354:54531]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54531")

initForm [http://localhost:808....js?36354:54356]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54356")

submit [http://localhost:808....js?36354:54333]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:54333")

saveHn [http://localhost:808....js?36354:29949]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29949")

saveButton [http://localhost:808....js?36354:29809]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29809")

dispatch [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

handle [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

(Async: EventListener.handleEvent)

add [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

each [http://localhost:808...irst.js?36354:2]("http://localhost:8086/include/loadfirst.js?36354:2")

on [http://localhost:808...irst.js?36354:3]("http://localhost:8086/include/loadfirst.js?36354:3")

initButtons [http://localhost:808....js?36354:29776]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29776")

initButtons [http://localhost:808....js?36354:32704]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:32704")

init [http://localhost:808....js?36354:29720]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:29720")

init [http://localhost:808....js?36354:32695]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:32695")

goInitQueue [http://localhost:808....js?36354:25712]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:25712")

asyncInitCall [http://localhost:808....js?36354:25698]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:25698")

createSingle [http://localhost:808...ll.js?36354:188]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:188")

fire [http://localhost:808...ll.js?36354:260]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:260")

fireEvent [http://localhost:808...ll.js?36354:366]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:366")

postLoad [http://localhost:808...ll.js?36354:924]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:924")

(Async: setTimeout handler)

postLoad [http://localhost:808...ll.js?36354:923]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:923")

loadJS [http://localhost:808...ll.js?36354:826]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:826")

load [http://localhost:808...ll.js?36354:807]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:807")

loadFiles [http://localhost:808....js?36354:26565]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:26565")

goInitQueue [http://localhost:808....js?36354:25712]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:25712")

initPage [http://localhost:808....js?36354:23491]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:23491")

initPages [http://localhost:808....js?36354:23179]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:23179")

constructor [http://localhost:808...ll.js?36354:662]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:662")

createSingle [http://localhost:808...ll.js?36354:188]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:188")

fire [http://localhost:808...ll.js?36354:260]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:260")

fireEvent [http://localhost:808...ll.js?36354:366]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:366")

postLoad [http://localhost:808...ll.js?36354:924]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:924")

(Async: setTimeout handler)

postLoad [http://localhost:808...ll.js?36354:923]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:923")

postLoadFunction [http://localhost:808...ll.js?36354:852]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:852")

(Async: EventHandlerNonNull)

loadJS [http://localhost:808...ll.js?36354:865]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:865")

load [http://localhost:808...ll.js?36354:807]("http://localhost:8086/include/runnerJS/RunnerAll.js?36354:807")

<anonymous> [http://localhost:8086/]("http://localhost:8086/")**userinfo.php**?:827
**

**

Somebody has the same issue?

How can I solved it?

Thank you in advance.