Page 1 of 1

Newbie 2 errors after downloading Phoca Download

Posted: 22 Apr 2010, 18:44
by pacalyps
Hello everyone,

I just downloaded Phoca Download.
And when i go the menu, click op Phoca Download and go to the Category Layout i saw this 2 errors in the screen:

Warning: array_unshift() expects parameter 1 to be array, null given in D:\wamp\www\joomla\administrator\components\com_phocadownload\elements\phocafile.php on line 55 and
Warning: Invalid argument supplied for foreach() in D:\wamp\www\joomla\libraries\joomla\html\html\select.php on line 68

I know something must be changed on both files, but i don't know what :cry:
Can someone pleasy help me with this problem?

Greeting,

Pacalyps

Re: Newbie 2 errors after downloading Phoca Download

Posted: 22 Apr 2010, 22:10
by Jan
Hi, try to check if all tables were installed while installation of Phoca Download, see:

https://www.phoca.cz/documents/17-phoca- ... em-solving

Jan

Re: Newbie 2 errors after downloading Phoca Download

Posted: 23 Apr 2010, 02:44
by pacalyps
Hi,

Thnx for your reply.
I followed all the steps ( install.bak and copying to sql) and most of the erros are gone :)
The only erros i see is when i go to Phoca download file:
Warning: array_unshift() expects parameter 1 to be array, null given in D:\wamp\www\joomla\administrator\components\com_phocadownload\views\phocadownload\view.html.php on line 197
Warning: Invalid argument supplied for foreach() in D:\wamp\www\joomla\libraries\joomla\html\html\select.php on line 68


And when i go to licenses:
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\wamp\www\joomla\libraries\joomla\database\database\mysql.php on line 344
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in D:\wamp\www\joomla\libraries\joomla\database\database\mysql.php on line 344

I also get an error if i wanna make one license and now it's not possible to make one :idea:

Can you please help me with this?

Greetings,

Pacalyps

Re: Newbie 2 errors after downloading Phoca Download

Posted: 23 Apr 2010, 13:15
by Jan
Hi, seems there still is missing some column - try to enable debug mode, it should display problem in sql if there will be :idea:

Jan

Re: Newbie 2 errors after downloading Phoca Download

Posted: 23 Apr 2010, 14:37
by pacalyps
YES!!!!
You're damn rigth :twisted:
I forgot the table license in mysql :o
Thanx a lot Jan!!!!
A damn beautiful program is this :D

Greetings,

Pacalyps

Re: Newbie 2 errors after downloading Phoca Download

Posted: 26 Apr 2010, 19:03
by Jan
Ok