Aproblem with new group

Hello :

I have a probelm with group. when i creat a new group,then click the group's name .it could open ,but the top of page has following this

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/17/d110287491/htdocs/hug258/inc/classes/BxDolGroups.php on line 417
Warning: file_get_contents(http://www.hug258.com/groups/orca/?action=group_last_topics&forum=practice-Chinese&trans=1) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/17/d110287491/htdocs/hug258/inc/classes/BxDolGroups.php on line 417
Warning: Cannot modify header information - headers already sent by (output started at /homepages/17/d110287491/htdocs/hug258/inc/classes/BxDolGroups.php:417) in /homepages/17/d110287491/htdocs/hug258/inc/design.inc.php on line 498

I don't know why ,anyone can tell me,please

thanks

Ling

Quote · 25 Jul 2009

Ling,

 

You have an issue with file permissions it looks like, stating the url file-access is disabled in the server config. 

 

1st check line 417 in inc/classes/BxDolGroups.php and see what it's trying to call, then check the permissions on that file and make sure they are set properly.  If all appears to be well, then this may be an issue with your .htaccess or php.ini file, at which point it's a question for your host.

 

 

Quote · 25 Jul 2009

Hello :mydatery

i Checked the inc files.inc/classes/BxDolGroups.php

416 ://Çàìå÷àíèå: Åñëè âû îòêðûâàåòå URI ñîäåðæàùèé ñïåöñèìâîëû, òàêèå êàê ïðîáåë, âàì íóæíî çàêîäèðîâàòü URI ïðè ïîìîùè urlencode().
 417:  $sRet = file_get_contents("{$site['groups']}orca/?action=group_last_topics&forum={$sForumUri}&trans=1");

 

 

I tooke off the groups in homepage.  why wrong  in /homepages/17/d110287491/htdocs/hug258/inc/classes/BxDolGroups.php on line 417

how to change it ?

Ling

Quote · 26 Jul 2009

://Çàìå÷àíèå: Åñëè âû îòêðûâàåòå URI ñîäåðæàùèé ñïåöñèìâîëû, òàêèå êàê ïðîáåë, âàì íóæíî çàêîäèðîâàòü URI ïðè ïîìîùè urlencode().

 

What is that?  Sorry Ling, never seen anything like that before.

Quote · 26 Jul 2009

i think it was wrong,but what code in there ? sad, i never change it

Quote · 26 Jul 2009

Okay, here is the difference between our codes:

 

  //Çàìå÷àíèå: Åñëè âû îòêðûâàåòå URI ñîäåðæàùèé ñïåöñèìâîëû, òàêèå êàê ïðîáåë, âàì íóæíî çàêîäèðîâàòü URI ïðè ïîìîùè urlencode().
  $sRet = file_get_contents("{$site['groups']}orca/?action=group_last_topics&forum={$sForumUri}&trans=1");

 

 

Please note:  I have the same weird code in the base 6.1.6 file, but the difference is I have no : (colon) in front of the // commenting it out.

 

Is there really a colon in front of the //comment out slashes?

 

At 498 of the same file I have:

 


  if ( $aGroupInfo = $this->getGroupInfo( $iGroupID ) ) {
   $aGroupInfo['Name_html'] = htmlspecialchars_adv( $aGroupInfo['Name'] );

 

Check your code, note it says that it's missing a wrapper for it.

 

Have you compiled the language in your Groups forum?

Quote · 26 Jul 2009

mydatery:

Thank you very much . i checked all codes same wih you.but wrong for me.

The forum isnt working,i not need forum. just creat group and add friends . i add chinese in My website

Ling

Quote · 26 Jul 2009

hello ,

anyone have same problem with me ?

ling

Quote · 27 Jul 2009

Hi there.

I had the same problem. The solution for me was in the DNS.

One of my live sites worked great with groups and forum but this development site did not. They are both on my own colocated servers. I checked the code and found all the strange stuff that you also found and thought it must be wrong. But after checking the source files that came in the boonex download i looked at other solutions.

The problem was that the code "file_get_contents("{$site['groups']}orca/?action=group_last_topics&forum={$sForumUri}&trans=1");" is checking the site name and then ads the groups bit.

Since my dolphin site was on my development machine and i have a live site(joomla) with the same name on my production machine the DNS was ofcourse pointing to that machine.

When i made a quich switchover in the DNS one night everything worked fine.

This might not be the solution for you but it was for me. Hope you get it working.

Quote · 3 Aug 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.