×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: location of all files and tables..request failed

location of all files and tables..request failed 15 years 2 months ago #6367

  • John Leake
  • John Leake's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I'm trying to trouble shoot a third part extension and I need to know the names and locations of all !joomlacomment files and tables for 4.0 beta1 and 4.0 beta2.

Thanks for your help

location of all files and tables..request failed 15 years 2 months ago #6383

  • John Leake
  • John Leake's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
Here's my issue I'm trying to troubleshoot. I'm trying to get an AlphaUserPoints rule that was made for joomlacomment to work correctly. The rule actually works and gives a user 10 points for making a comment but I get a Request Failed pop-up message when hitting send, then the following appears in the message text field:
<?xml version="1.0" standalone="yes"?><post><after>-1</after><published>1</published><noerror>1</noerror><debug></debug><id>59</id><body><![CDATA[
<ul id='post59' style='margin-left:0px;'>
    <li class='post'>
        <a name='josc59'></a>
        <div class='posthead'>
            <span class='postinfo'>
 
				<span class='postnotify0' title='do not notify if new post'></span>
            	|<span class='postusertype'><span class='administrator'>SAdministrator</span></span>
            	|<span class='postdate'>2009-08-29 18:03:54</span>
            </span>
            <span class='username'>
                <a href='/component/comprofiler/userprofile/J06Powercat'>J06Powercat</a>
            </span>
 
 
        </div>
        <div class='postcontent'>
            <div class='comment_avatar'><a href='/component/comprofiler/userprofile/J06Powercat'><img class='avatar' src='http://www.gravatar.com/avatar.php?gravatar_id=4b578fb71a920211ac54746991b8799d&default=http%3A%2F%2Fwww.cfbpredictions.com%2Fcomponents%2Fcom_comment%2Fassets%2Fimages%2Fnophoto.jpg&size=60' alt='avatar' /></a></div><div class='comment_content'>ttt</div>
        </div>
 
        <div class='postfooter'>
            <ul class='voting'><li><a id='yes59' class='voting_yes' href='javascript:JOSC_voting(59,&#34;yes&#34;)'>0</a></li><li><a id='no59' class='voting_no' href='javascript:JOSC_voting(59,&#34;no&#34;)'>0</a></li></ul>
                <span>
                    <a href='javascript:JOSC_reply(59)'>Reply</a><a href = 'javascript:JOSC_quote(59)'>Quote</a><a href='javascript:JOSC_editComment(59)'>Edit</a><a href='javascript:JOSC_deleteComment(59)'>Delete</a>
                </span>    
 
        </div>     
 
        <div class=&#34;josc_clear&#34;></div>
    </li>
</ul>
]]></body></post>

The message posts and the points add, the problem is the request failed message and the block of code that shows up in the message box. The weird thing is, everything worked flawlessly on 4.0 beta1 but then I upgraded to 4.0 beta2 and had this problem. So I reinstalled 4.0 beta1 but this time the request failed message came up on that version too. Now I can't figure out why it keeps coming up.

Here is what the AlphaUserPoints rule requires you to add to comment.class.php:

Open
components/com_comment/comment.class.php
on line 1032, just afer

$this->_comment_id = $database->insertid();


add this:


///////////// AUP mod for comment reward
$api_AUP = JPATH_SITE.DS.'components'.DS.'com_alphauserpoints'.DS.'helper.php';
if ( file_exists($api_AUP))
{
require_once ($api_AUP);
AlphaUserPointsHelper::newpoints( 'plgaup_postcomment_joomlacomment','','',$title.': '.$comment );

}
/////////////////// End AUP mod


I've been trying to troubleshoot the request failed message for a couple weeks now and I'm at a loss for why it worked before but now it doesn't. please help..thanks!

location of all files and tables..request failed 15 years 2 months ago #6386

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
If you uncomment this code is it working then?

location of all files and tables..request failed 15 years 2 months ago #6391

  • John Leake
  • John Leake's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
It still shows request failed after taking these tags out..is that what you meant?
///////////// AUP mod for comment reward
 
/////////////////// End AUP mod

location of all files and tables..request failed 15 years 2 months ago #6392

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Can you find anything in the server error log?

location of all files and tables..request failed 15 years 2 months ago #6393

  • John Leake
  • John Leake's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 11
  • Thank you received: 0
I don't see anything other than two unrelated to joomlacomment.

I'm trying to figure out what changed from when it was working(initial install of AUP rule into my first install of joomlacomment(4.0beta1)) about a month ago to now so I was planning on doing a complete uninstall/reinstall. Would that be worth doing or do you have any other ideas? thanks

location of all files and tables..request failed 15 years 2 weeks ago #7741

  • vas
  • vas's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 28
  • Thank you received: 0
Hello folks, is there any alphauserpoints rule plugin for the new version of joomcomment? I really need a help. I've added a link to the forum topic with the rule for the previous version but it don't work with the new one, please help! :(

http://www.alphaplug.com/index.php/forum.html?func=view&catid=17&id=570#570
  • Page:
  • 1
Time to create page: 0.123 seconds