Author Topic: Undefined variable: commentTip in....Comment_Module\Comment_Module_Admin.php  (Read 1010 times)

sf1318

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Hello I have joomla 1.5.22 and 1.5.23, I tried the latest versions and the fix! not luck
 

Quote
_AddonManager->Bridge->AdminPage; $columnNames = Array(); //change this to match db.php $columnNames[] = "Comment ID"; $columnNames[] = "IP Address"; $columnNames[] = "Rating"; $columnNames[] = "Comment"; $columnNames[] = "Published"; $propertyNames = Array(); $propertyNames[] = "commentID"; $propertyNames[] = "userIP"; $propertyNames[] = "userRating"; $propertyNames[] = Array('comment'); $propertyNames[] = "published"; SRControls::ItemListing($formName, $formAction, $columnNames, $propertyNames, $rows, 'list', $this, $pageNav); } function _PrintFormTable($values=NULL) { $option = $this->_AddonManager->Bridge->Option; //change this to match db.php $tip = $this->GetString('FormCommentsContentTip'); $commentTip = Simple_Review_Common::CreateToolTip($this->GetString('FormCommentsContent'), $tip); ?>

Quote
Notice: Undefined variable: commentTip in D:\Server\www\joomla\administrator\components\com_simple_review\addons\modules\Comment_Module\Comment_Module_Admin.php on line 599
Call Stack
#   Time   Memory   Function   Location
1   0.0016   701440   {main}( )   ..\index.php:0
2   0.1302   5553136   JAdministrator->dispatch( )   ..\index.php:67
3   0.1391   6250936   JComponentHelper->renderComponent( )   ..\application.php:136
4   0.1413   6341936   require_once( 'D:\Server\www\joomla\administrator\components\com_simple_review\admin.simple_review.php' )   ..\helper.php:162
5   0.1914   10652000   Comment_Module_Admin->Display( )   ..\admin.simple_review.php:131
6   0.1921   10652304   Comment_Module_Admin->_List( )   ..\Comment_Module_Admin.php:230

Quote
Notice: Undefined variable: values in D:\Server\www\joomla\administrator\components\com_simple_review\addons\modules\Comment_Module\Comment_Module_Admin.php on line 602
Call Stack
#   Time   Memory   Function   Location
1   0.0016   701440   {main}( )   ..\index.php:0
2   0.1302   5553136   JAdministrator->dispatch( )   ..\index.php:67
3   0.1391   6250936   JComponentHelper->renderComponent( )   ..\application.php:136
4   0.1413   6341936   require_once( 'D:\Server\www\joomla\administrator\components\com_simple_review\admin.simple_review.php' )   ..\helper.php:162
5   0.1914   10652000   Comment_Module_Admin->Display( )   ..\admin.simple_review.php:131
6   0.1921   10652304   Comment_Module_Admin->_List( )   ..\Comment_Module_Admin.php:230

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
Thanks for reporting. I will look into this and provide a fix soon.

To clarify, this is when you are editing a comment?
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

sf1318

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email

Thank you, this happens when I go to administer comments. No comments are shown.

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
So you are running Simple Review 3.0.10? The line numbers in your errors don't seem to match up with the code in 3.0.10.

Did you upgrade to 3.0.10? If so which version did you originally install? Did you apply EACH upgrade individually? The upgrades are incremental and you must upgrade them one-by-one e.g. 3.0.7->3.0.8->3.0.9->3.0.10
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!

sf1318

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email

Yes I upgraded 0.8 to 0.9 to 0.10

To day I'll put the site on another server, meanwhile I'll roll back to the 3.0.8 and do the upgrade again. I'll keep you posted.

thanks

sf1318

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
[SOLVED] Undefined variable: commentTip in....Comment_Module_Admin.php
« Reply #5 on: August 20, 2011, 12:32:45 AM »
It's working now. I guess I did a mistake when updating, SORRY!

Thank you for your support!

row1

  • SR Sole Developer
  • Hero Member
  • *****
  • Posts: 1244
    • View Profile
    • Sockware
No problem, glad you got it sorted.
If you find Simple Review useful please submit a Review (http://extensions.joomla.org/extensions/communities-&-groupware/ratings-&-reviews/4725/details), your positive reviews will help keep me going!
Please also make suggestions and possible improvements in the forum!