×

Notice

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

TOPIC: /joscomment/comment.class.php on line 2836

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4690

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Hello

im using joomla 1.5.10
When I want to post a comment I get this
Warning: Invalid argument supplied for foreach() in /chroot/home/virtuali/virtualize.hu/html/components/com_comment/joscomment/comment.class.php on line 2836

and can't post message.

What's the problem

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4692

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
which version of joomla comment are you using?

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4694

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
!JoomlaComment 3.26

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4698

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
are the ubb icons in the folder:
\components\com_comment\joscomment\images ???

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4702

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
yes

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4703

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You know what. Uninstall and install again. I have the feeling that something went wrong during the installation.

Also perhaps it would be better to use 4.0 alpha3

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4707

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
Im installed 4.0

I can write a comment , but I get "com_comment/joscomment/comment.class.php on line 2804" message.:(

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4709

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I will need access to your installation. ftp as well. Please send this data to me per PM.

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4712

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
hey there! Thanks for the info.

I logged in your website and I don't any error message. Anyway! I've installed the version that is supposed to be beta1 and that will appear within 3 weeks :)

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4713

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
if you click the the VMware thin app article, Or citrix Xenconvert article, or Mokafive article
You will get a new "om_comment/joscomment/comment.class.php on line 2778" error message on the right side in the "Friss" box under the video.

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4714

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
what is this friss box thing? How did you manage to get something from joomlacomment there?

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4715

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
The "Friss" box is a Ja News modul. This box show the latest posts. If the opened post's name in this box, I get this error message.

If not ( Veem monitor and VMware 7 posts ), I m not get this error message.

I think this is a compatible problem Ja news between Joomlacomment

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4716

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I don't know why this happen, but the easiest fix was to add a check if we have an array or not.
    function loadUBBIcons(&$ubbIconList, $absolute_path, $live_site)
    {
        require_once($absolute_path.DS.'ubb_icons.php');
	if(is_array($ubbIcons)) {
	    foreach($ubbIcons as $name => $icon) {
		$ubbIconList[$name] = "$live_site/$icon";
	    }
	}   
    }

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4717

  • gergelyk3
  • gergelyk3's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 7
  • Thank you received: 0
It works fine.

thank you Daniel.

I hope it will workink in the future.

( If you have a virtualization problem, send me an email :) )

/joscomment/comment.class.php on line 2836 10 years 2 months ago #4718

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
gergelyk3, I would be happy if you could write a review here:
extensions.joomla.org/extensions/contact...omments/4389/details

thanks in advance :)

/joscomment/comment.class.php on line 2836 9 years 9 months ago #8116

  • Markus @ TAKPT
  • Markus @ TAKPT's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hello,
I'm using !JoomlaComment 3.26 and Joomla 1.0.15 and I've the same problem only on Seyret (0.2.8.5) intégration comment...
I can post comment but this warning is not great.

Thanks in advance ;)

PS : That's working fine on local...

/joscomment/comment.class.php on line 2836 9 years 9 months ago #8118

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
make the suggested change and it should start to work.

/joscomment/comment.class.php on line 2836 9 years 9 months ago #8119

  • Markus @ TAKPT
  • Markus @ TAKPT's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
No,
It don't works because of this line :
require_once($absolute_path.DS.'ubb_icons.php');

But with this, it works fine ;) :
function loadUBBIcons(&$ubbIconList, $absolute_path, $live_site)
{
require_once("$absolute_path/ubb_icons.php");
if(is_array($ubbIcons)) {
foreach($ubbIcons as $name => $icon) {
$ubbIconList[$name] = "$live_site/$icon";
}
}
}

Thank's a lot for your reply.
@+

/joscomment/comment.class.php on line 2836 9 years 9 months ago #8120

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Markus, well yea. You are right. Joomla 1.0 doesn't have DS - directory separator. I'm happy it is working for you now.

/joscomment/comment.class.php on line 2836 9 years 9 months ago #8121

  • Markus @ TAKPT
  • Markus @ TAKPT's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
No problem. ;)
Thanks Daniel for your excellent component.
It's real a great work !
@+
  • Page:
  • 1
Time to create page: 0.102 seconds