File Upload Plugin Error

Byrd

Member
PHP Notice: Undefined index: jos_recruiting___packet in C:\Inetpub\vhosts\mysite.com\httpdocs\2013\plugins\fabrik_element\fileupload\fileupload.php on line 1442
 
This is the text on the PHP line it references.
$fdata = $_FILES[$name]['name'];
/*
* $$$ hugh - monkey patch to get simple upload working again after this commit:
* https://github.com/Fabrik/fabrik/commit/5970a1845929c494c193b9227c32c983ff30fede
* I don't think $fdata is ever going to be an array, after the above changes, but for now
* I'm just patching round it. Rob will fix it properly with his hammer. :)
* UPDATE - yes, it will be an array, if we have a repeat group with simple uploads.
* Continuing to hack around with this!
*/
 
Hi
I think you posted this in the Fabrik 3.0.x board when your code is 3.1rc2
I'll move the thread when I've replied.
I think I have fixed the problem with this commit https://github.com/Fabrik/fabrik/commit/d55facbe2baf53d691429e951f370099667ad7e3 so could you update from github and let me know if that resolves it for you
Also I wasn't sure if the site was live, so didn't try to submit a record, could you let me know if it is ok to do that? If the problem persists after the update could you fill in an ftp account in http://fabrikar.com/you/my-sites/ so that I can test further.
thanks
Rob
 
Ok. That worked partially. I wanted to replace the one plugin that I had and instead, replace it with an Ajax enabled version of the file upload plugin, so they could enable multiple files. This is the error I am getting now, if that element is enabled.

PHP Warning: array_key_exists() expects parameter 2 to be array, string given in C:\Inetpub\vhosts\mysite.com\httpdocs\plugins\fabrik_element\fileupload\fileupload.php on line 1129

The /2013/ site that I put in Mysite details is not live. It's a back up of the live site to test on.
 
It happens when you submit the form. The way I have the form set up, the recruiter only fills out part of the information. The file upload plugin is not even on his permission level, so it is not accessible for the recruiter, and not visible. Yet it still throws the error.
 
Hi could you fill in your site's ftp details so I can test where the issue is coming from (the line number doesn't correspond to what I'm seeing in our code)
thanks
 
Still incomplete. I have been very patient. Can you please help me out. 2 weeks now, instead of the 1 day response time that I paid for through your subscription.
 
Looking at it now.

Apologies for the delay. Sometimes issues just drop off our radar, when we get super busy. Feel free to "bump" your issues by posting a followup on the thread if you haven't gotten a response within a day or so.

-- hugh
 
The ftp site isn't working, so I can't do anything. I can connect, but the connection then fails with:

Error:Connection timed out
Error:Failed to retrieve directory listing

I've tried half a dozen times, through FileZilla and with a command line ftp.

-- hugh
 
I've connected with the exact same user and pass provided. I always double check connection passwords before providing them. I guess we are at an impasse... :(

I don't know what else to do. This is so frustrating.
 
Hi
I've fixed the error on your site (with this github commit https://github.com/Fabrik/fabrik/commit/c6cd3ab14eaebeebd42610bd9c22bd7b23040733)
However, I was pretty confused about your ACL set up, as in the group Part C and the upload elements were set so that the testRecruiter user could not use them (both the group and the element had an acl of 'oAdmins'. So I tested with the acl of the group element as 'Recruiter', and as 'oAdmins'. (I've put it back to oAdmin now)
For testing I set the Joomla template to atomic as your actual template is producing this js error, which might also affect how things work. (Again I've put the template back to how it was before I started testin):

124
  1. Uncaught TypeError: Object [object Object] has no method 'equalHeight' template.js: 49
 
We are in need of some funding.
More details.

Thank you.

Staff online

Members online

Back
Top