I have installed the product fine and the database tables all appear to have been created. However, when I click on "New" to download a new file I get these errors at the top of the page. Any ideas?
Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /home/therefor/public_html/extranet/administrator/components/com_phocadownload/views/phocadownload/view.html.php on line 208
Warning: Invalid argument supplied for foreach() in /home/therefor/public_html/extranet/libraries/joomla/html/html/select.php on line 68
Errors when trying to upload new file
-
- Phoca Newbie
- Posts: 2
- Joined: 06 Mar 2009, 10:52
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Errors when trying to upload new file
Hi, which version of Phoca Download do you have installed?
Check if all the tables were created in your database (all table names you will find in install.bak file)
Jan
Check if all the tables were created in your database (all table names you will find in install.bak file)
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 06 Mar 2009, 10:52
Re: Errors when trying to upload new file
Thanks you the reply, I am using version com_phocadownload_v1.1.0_beta
I have checked and all tables have been created.
I have checked and all tables have been created.
-
- Phoca Newbie
- Posts: 2
- Joined: 31 Mar 2009, 21:53
Re: Errors when trying to upload new file
Same problem here. All tables created and latest version. Is there a fix to this yet?
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Errors when trying to upload new file
Try to download and install stable version of Phoca Download (1.1.0)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 3
- Joined: 06 Apr 2009, 13:48
Re: Errors when trying to upload new file
I had the same problem, I was running 1.1.0 RC
Everything worked perfectly at first, Then all of a sudden it stopped working, I updated to 1.1.0 and now i can "add files" but when i click the upload button i get this
PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in \administrator\components\com_phocadownload\helpers\phocadownloadupload.php on line 88
Any idea ?
Everything worked perfectly at first, Then all of a sudden it stopped working, I updated to 1.1.0 and now i can "add files" but when i click the upload button i get this
PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in \administrator\components\com_phocadownload\helpers\phocadownloadupload.php on line 88
Any idea ?
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Errors when trying to upload new file
I have tested it now, got any problem while uploading ??? 

If you find Phoca extensions useful, please support the project