Page 1 of 1

array_unshift() warnings; no file name window for uploads

Posted: 24 Mar 2009, 20:45
by jdt
I am receiving the following warnings at the top of the Phoca Download Files:[Edit] window. This is after upgrading to 1.1.0.

Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/cheneyag/public_html/agf/administrator/components/com_phocadownload/views/phocadownload/view.html.php on line 208

Warning: Invalid argument supplied for foreach() in /home/cheneyag/public_html/agf/libraries/joomla/html/html/select.php on line 68

I am also not able to see a window to supply the file name to upload when trying to upload a file.

What can I do to correct these?

Thanks for your help Jan or anyone else!
-Darin

Re: array_unshift() warnings; no file name window for uploads

Posted: 25 Mar 2009, 13:57
by Jan
Hi, do you have the stable version 1.1.0 ... it seems like the license table was not created in your database, try to download the stable and try to upgrade again... (so the license table should be correctly added)

Jan

Re: array_unshift() warnings; no file name window for uploads

Posted: 26 Mar 2009, 15:13
by jdt
This must have been the case. I returned to the download page and retrieved the file again. During the install process I was presented an Install and an Upgrade option. After choosing the upgrade option the installation worked great.

Thanks Jan! :D

Re: array_unshift() warnings; no file name window for uploads

Posted: 26 Mar 2009, 19:28
by Jan
Great. Jan