Jump to content
WebFlake
  • 0

Problem with my Website on Android Smarthphone


nomorekillz

Question

Hey dear community, I hope you can help me with this little problem.

Im using IPContent which I think is bugging my website on smarthphones.

People can't acces to it via Phone, but on the PC work fine.

Message that they get on the Phone

 

 
Fatal error: Call to a member function primary_navigation() on a non-object in /home/website/public_html/forum/admin/applications_addon/ips/ccs/sources/hooks.php on line 93
 
What I have on this Line ?
 
Line 83 start:
public function menuBar( $applications )
{
if( isset($applications['ccs']) )
{
$applications['ccs']['app_link'] = $this->registry->ccsFunctions->returnPageUrl( array( 'page_seo_name' => $this->settings['ccs_default_page'], 'page_id' => 0 ) );
$applications['ccs']['app_seotitle'] = ''; // Has to be empty, or IP.Board tries to run its FURL routines causing index.php?//page/...
$applications['ccs']['app_template'] = 'app=ccs';
$applications['ccs']['app_base'] = 'none';
}
 
return $this->registry->output->getTemplate('ccs_global')->primary_navigation( $this->caches['ccs_menu'], $applications );
}

 

 

I hope you can help me, thanks <3
Regards.
Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0

It doesn't have a closing "else" in the event of the "if" statement not being met - if my tiredness serves me right, this should work:

public function menuBar( $applications )
{
if( isset($applications['ccs']) )
{
$applications['ccs']['app_link'] = $this->registry->ccsFunctions->returnPageUrl( array( 'page_seo_name' => $this->settings['ccs_default_page'], 'page_id' => 0 ) );
$applications['ccs']['app_seotitle'] = ''; // Has to be empty, or IP.Board tries to run its FURL routines causing index.php?//page/...
$applications['ccs']['app_template'] = 'app=ccs';
$applications['ccs']['app_base'] = 'none';
}
else
{
return $this->registry->output->getTemplate('ccs_global')->primary_navigation( $this->caches['ccs_menu'], $applications );
}

Might be worth seeing if somebody can confirm this.

 

Hope this helps! :)

  • Upvote 1
Link to comment
Share on other sites

  • 0

It doesn't have a closing "else" in the event of the "if" statement not being met - if my tiredness serves me right, this should work:

public function menuBar( $applications )
{
if( isset($applications['ccs']) )
{
$applications['ccs']['app_link'] = $this->registry->ccsFunctions->returnPageUrl( array( 'page_seo_name' => $this->settings['ccs_default_page'], 'page_id' => 0 ) );
$applications['ccs']['app_seotitle'] = ''; // Has to be empty, or IP.Board tries to run its FURL routines causing index.php?//page/...
$applications['ccs']['app_template'] = 'app=ccs';
$applications['ccs']['app_base'] = 'none';
}
else
{
return $this->registry->output->getTemplate('ccs_global')->primary_navigation( $this->caches['ccs_menu'], $applications );
}

Might be worth seeing if somebody can confirm this.

 

Hope this helps! :)

Now I can't see IPContent Pages

Edited by nomorekillz
Link to comment
Share on other sites

  • 0

 

ACP > Look & Feel > Template Tools, then follow the steps below,

  • Rebuild Master Skin Data on HTML and CSS
  • Select IP.Content and rebuild
  • Recache Skin Sets

 

I dit it

- http://puu.sh/bcCiw/3cd514487b.png

- http://puu.sh/bcChT/a62cacbbeb.png

And the problem still in smarthphones.

No One know the answer to this problem ?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...