Page 1 of 1

500 error on clicking download link

Posted: 17 Jun 2011, 01:57
by slippycurb
hello, i was wondering if someone could possibly help me,
ive been testing phoca download with the phoca download plugin ( both 1.6) on a local site using xammp. it is a fresh install of joomla 1.63. i dropped a test zip into the phocadownload folder and added it into the phoca controlpanel. ive added a test article to the main page of the website with the {plugincodehere} embedded and it all comes up fine as expected. i created a registered user and logged in to the site and tried downloading but i get the 500. i have enabled php.ini and here are the errors from the 500 page.


Strict Standards: Non-static method JSite::getMenu() should not be called statically in C:\xampp\htdocs\joomla\components\com_phocadownload\router.php on line 128

Strict Standards: Non-static method JApplication::getMenu() should not be called statically in C:\xampp\htdocs\joomla\includes\application.php on line 507

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla\components\com_phocadownload\router.php on line 128

Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\joomla\components\com_phocadownload\router.php on line 129

please please please help me!!! :idea:

Re: 500 error on clicking download link

Posted: 17 Jun 2011, 04:32
by SonRiab
Try to disable warnings for strict-violations!
To disable it, edit your php.ini (I do not know where it is located in xampp!) and search for something similar to this:

error_reporting = E_ALL | E_STRICT

and change it to

error_reporting = E_ALL | ~E_NOTICE

Now restart your server and test it.

Hope this will help.

(see also: http://forum.joomla.org/viewtopic.php?p ... 7#p2508437)

Re: 500 error on clicking download link

Posted: 17 Jun 2011, 13:05
by slippycurb
thanks for the reply, il give this a go in a bit, ive a few things todo first before i go joomlaing again today, (like collect my dole:-)) I will post back my results.

thanks again.

Re: 500 error on clicking download link

Posted: 17 Jun 2011, 17:53
by slippycurb
I made the changes but its still not letting me download the file, just passing me to the Error:500 page???


oh, and upon reading my first post it looks like i was a bit elusive on letting you know that that it wasnt leting me download the file,,,,,,sorry:doh:

also i just noticed that this """"View not found [name, type, prefix]: section, html, phocadownloadView""""" is being displayed????? any ideas?

Re: 500 error on clicking download link

Posted: 17 Jun 2011, 19:49
by SonRiab
Hmm I have no idea. For me it looks like a server configuration problem.
This is only happen when you try to download a file as a logged in user right?

Re: 500 error on clicking download link

Posted: 17 Jun 2011, 19:59
by slippycurb
yes, and i have made sure that the user i created is tagged as "registered" same as the file i dropped into phoca download folder. i think i might reinstall phoca to see if it helps, as its just a fresh install of joomla i might start again from scratch.
could it be that because its a local setup?