Errors when trying to upload new file

Phoca Download - download manager
matthew.vollnhofer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 06 Mar 2009, 10:52

Errors when trying to upload new file

Post by matthew.vollnhofer »

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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Errors when trying to upload new file

Post by Jan »

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
If you find Phoca extensions useful, please support the project
matthew.vollnhofer
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 06 Mar 2009, 10:52

Re: Errors when trying to upload new file

Post by matthew.vollnhofer »

Thanks you the reply, I am using version com_phocadownload_v1.1.0_beta

I have checked and all tables have been created.
kstruck
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 31 Mar 2009, 21:53

Re: Errors when trying to upload new file

Post by kstruck »

Same problem here. All tables created and latest version. Is there a fix to this yet?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Errors when trying to upload new file

Post by Jan »

Try to download and install stable version of Phoca Download (1.1.0)

Jan
If you find Phoca extensions useful, please support the project
addi701
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Apr 2009, 13:48

Re: Errors when trying to upload new file

Post by addi701 »

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 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48739
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Errors when trying to upload new file

Post by Jan »

I have tested it now, got any problem while uploading ??? :(
If you find Phoca extensions useful, please support the project
Post Reply