Page 1 of 2

Issues with Joomla 1.7

Posted: 22 Jul 2011, 20:38
by cfabiano
Once upgraded to Joomla 1.7 my phocadownload some files don't show up on the web site. When I log into the admin side none of the files show up there either. All of my categories are still in tact. Here is a link to my downloads page: http://koinoniafellowship.com/downloads.html

Any ideas? Thank you.

Re: Issues with Joomla 1.7

Posted: 22 Jul 2011, 22:13
by Jan
Hi, check to enable debug mode and php error reporting if there is no error:

https://www.phoca.cz/documents/16-joomla ... rs-on-site

For now I have made sure Phoca Gallery is working for 1.7 so I now I am going to look at the Phoca Download.

Jan

Re: Issues with Joomla 1.7

Posted: 22 Jul 2011, 22:26
by cfabiano
I enabled PHP error reporting through the htaccess file and now I am getting a 500 error on mostly every thing I go to both on the site and in Admin.

Can you tell me what this means? What to do to resolve it?

Internal Server Error
...

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Re: Issues with Joomla 1.7

Posted: 23 Jul 2011, 01:10
by Jan
Hi, 500 means, there is an php error and this means, the php error reporting is not enabled. if enabled, instead of 500 you get the php error message.

Jan

Re: Issues with Joomla 1.7

Posted: 23 Jul 2011, 13:10
by cfabiano
Let me know if this helps. This is from the Phoca Download admin screen when I click on the Files icon.

500 - An error has occurred.
JDatabaseMySQL::query: 1054 - Unknown column 'a.userid' ...

Re: Issues with Joomla 1.7

Posted: 23 Jul 2011, 23:20
by Jan
Hi, userid column is not stored in your database, see posts in this forum how to add it manually, in short - Phoca Download 2.0.0 stable should be installed not upgraded (as this is a first version - while upgrading not all columns will be added - because development versions like RC, beta, etc. do not include upgrade possibilities as they are only test files)

See install.bak.sql file and add the last row in phpmyadmin to Phoca Download tables.

Jan

Re: Issues with Joomla 1.7

Posted: 25 Jul 2011, 09:54
by Milian
Warming I got with Joomla 1.7 and com_phocadownload_v2.0.1 (latest)
When I upload a picture or document I got the folowing Warming:
Parameter 2 to plgContentJoomla::onContentAfterSafe() expected to be a reference, value given in:
/var/..../libraries/joomla/event/event.php on line 48
Hpe you can fix this in a next update.
Best regards, Milian

Re: Issues with Joomla 1.7

Posted: 25 Jul 2011, 16:51
by Jan
Hi, where exactly this happens?

In which view, in admin? after which action?

Re: Issues with Joomla 1.7

Posted: 26 Jul 2011, 15:48
by Milian
In the Admin. This happens by saving a new File: So, after clicking: Save in Files / New.
Thanks Jan for the fix. It works.

Re: Issues with Joomla 1.7

Posted: 27 Jul 2011, 00:06
by Jan
Hi, I think I found the problem, will be fixed in the next version.

Thank you for the info.

For now you can fix it the following way, download, unzip this file:

https://www.phoca.cz/forumfiles/phocadownloadfile.zip

and overwrite the file on your server:
administrator\components\com_phocadownload\models\phocadownloadfile.php

Jan