Hi Teador,
Trust this note finds you well and Thank You for working with me on this File Upload issue. Just FYI, I changed the tmp folder permissions to 0777 and tested again with the same results. Here is the “Failed to open stream: Permission denied” error.
-
{code: 0, file: “/home/wapzed/public_html/dmxConnectLib/lib/core/FileSystem.php”, line: 178,…}
-
code: 0
-
file: “/home/wapzed/public_html/dmxConnectLib/lib/core/FileSystem.php”
-
line: 178
-
message: “move_uploaded_file(/home/wapzed/public_html/uploads/{name_n}.jpg): failed to open stream: Permission denied”
-
trace: “#0 [internal function]: exception_error_handler(2, ‘move_uploaded_f…’, ‘/home/wapzed/pu…’, 178, Array)↵#1 /home/wapzed/public_html/dmxConnectLib/lib/core/FileSystem.php(178): move_uploaded_file(’/tmp/phpp9UrFF’, ‘/home/wapzed/pu…’)↵#2 /home/wapzed/public_html/dmxConnectLib/modules/upload.php(196): lib\core\FileSystem::move_uploaded_file(’/tmp/phpp9UrFF’, ‘/home/wapzed/pu…’)↵#3 /home/wapzed/public_html/dmxConnectLib/modules/upload.php(150): modules\upload->parse(Array, Object(stdClass))↵#4 /home/wapzed/public_html/dmxConnectLib/lib/App.php(173): modules\upload->upload(Object(stdClass), ‘upload1’)↵#5 /home/wapzed/public_html/dmxConnectLib/lib/App.php(107): lib\App->execSteps(Object(stdClass))↵#6 /home/wapzed/public_html/dmxConnectLib/lib/App.php(72): lib\App->exec(Object(stdClass))↵#7 /home/wapzed/public_html/dmxConnect/api/files/uploader.php(91): lib\App->define(’{\n “settings”:…’)↵#8 {main}”
I’m inclined to start over again fresh and would appreciated your confirmation that 0777 on the tmp folder should work . . . Or should I be looking at another folder?
I Look forward to hearing from you when you can and of Course Thank You in advance!
LLW,
Mark