Help > Resolved and Released
Undefined variable: commentTip in....Comment_Module\Comment_Module_Admin.php
sf1318:
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); ?>
--- End quote ---
--- 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
--- End quote ---
--- 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
--- End quote ---
row1:
Thanks for reporting. I will look into this and provide a fix soon.
To clarify, this is when you are editing a comment?
sf1318:
Thank you, this happens when I go to administer comments. No comments are shown.
row1:
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
sf1318:
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
Navigation
[0] Message Index
[#] Next page
Go to full version