download csv not working

More
10 years 5 months ago #20650 by brandon1112
this actually opens a download box for me. so I am unsure. you can log in with the creds I sent you to contact@ yesterday maybe?

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #20651 by nordmograph
Right click, copy link address

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #20652 by brandon1112

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #20653 by nordmograph
Ok, this must be caused by a SEF issue somewhere

open plugins/community/aupporfile/aupprofile.php
online138, replace
Code:
<a href="' .JRoute::_('index.php?option=com_alphauserpoints&view=account&task=downloadactivity&userid=' .$user_info->referreid).'">

with
Code:
<a href="index.php?option=com_alphauserpoints&view=account&task=downloadactivity&userid=' .$user_info->referreid.'">

This should fix your issue.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #20656 by brandon1112
unfortunately that did not work this is a copy of what the code looks like now starting at line 132

}
$_user = CFactory::getRequestUser();
$_my =& CFactory::getUser();
$my_id = $_my->id;
$userid = $_user->id;
if ($showdownload && $userid == $my_id){
$return .='<div style="float:left;width:50%;">


<a href="index.php?option=com_alphauserpoints&view=account&task=downloadactivity&userid='
.$user_info->referreid.'">


<img src="'
.$juri.'components/com_alphauserpoints/assets/images/icon_csv.gif" alt="csv" width="16" height="16" /> '.JText::_('PLG_AUP_DOWNLOAD').'</a></div>';
}
$return .='</div>';//////////////////////////////////////////////////////////////////
//$return .='<div style="clear:both;"></div>';
if($showmedals){
if(count($medalslistuser) >0){
$q="SELECT id FROM #__menu WHERE link='index.php?option=com_alphauserpoints&view=medals'";
$db = JFactory::getDBO();
$db->setQuery( $q);
$medal_itemid = $db->loadResult();
$return .='<div>';
$return .='<div><b>'.JText::_( 'PLG_AUP_MYMEDALS' ).':</b></div>';

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #20657 by brandon1112
/component/alphauserpoints/account/profile/downloadactivity/1*526536472307B

this is the error link

Please Log in or Create an account to join the conversation.

Time to create page: 0.341 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.