Issues with Joomla 1.7

Phoca Download - download manager
cfabiano
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 22 Jul 2011, 20:30

Issues with Joomla 1.7

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

Re: Issues with Joomla 1.7

Post 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
If you find Phoca extensions useful, please support the project
cfabiano
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 22 Jul 2011, 20:30

Re: Issues with Joomla 1.7

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

Re: Issues with Joomla 1.7

Post 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
If you find Phoca extensions useful, please support the project
cfabiano
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 22 Jul 2011, 20:30

Re: Issues with Joomla 1.7

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

Re: Issues with Joomla 1.7

Post 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
If you find Phoca extensions useful, please support the project
Milian
Phoca Member
Phoca Member
Posts: 19
Joined: 25 Jul 2011, 09:47

Re: Issues with Joomla 1.7

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

Re: Issues with Joomla 1.7

Post by Jan »

Hi, where exactly this happens?

In which view, in admin? after which action?
If you find Phoca extensions useful, please support the project
Milian
Phoca Member
Phoca Member
Posts: 19
Joined: 25 Jul 2011, 09:47

Re: Issues with Joomla 1.7

Post 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.
Last edited by Milian on 29 Jul 2011, 14:07, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Issues with Joomla 1.7

Post 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
If you find Phoca extensions useful, please support the project
Post Reply