Jump to content


Photo

IPB- Problem


  • Please log in to reply
3 replies to this topic

#1 Kaito

Kaito

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 02 July 2014 - 02:47 PM

Hey guys i just installed a new Theme on my IPB 3.3.4  its called Dashboard now, the start page looks fine but if i try to click on "My Profile" an error pops up.

 

Error message:

 

Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\xampp\htdocs\board\cache\skin_cache\cacheid_4\skin_profile.php on line 1035

 

 

skin_profile.php on line 1035:

 

<span class='ipsType_smaller desc lighter blend_links'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&amp;module=profile&amp;section=status&amp;type=single&amp;status_id={$status['status_id']}", "public",'' ), "array($status['member_id'], $status['members_seo_name'])", "members_status_single" ) . "'>{$this->lang->words['ps_updated']} " . $this->registry->getClass('class_localization')->getDate($status['status_date'],"manual{%d %b}", 0) . " &middot; " . intval($status['status_replies']) . " {$this->lang->words['ps_comments']}</a></span>

 

 

 



#2 Jacques1

Jacques1

    Advanced Member

  • Members
  • PipPipPip
  • 718 posts

Posted 02 July 2014 - 03:00 PM

What a mess.

 

You can't have single-quoted indexes in double quoted strings. You either need to leave out the single quotes altogether or use the curly brace syntax:

<?php

$some_array = array(
	'foo' => 42,
);

// This is OK
echo "The number is $some_array[foo]";

// This is also fine
echo "The number is {$some_array['foo']}";

// This is wrong
// echo "The number is $some_array['foo']";


#3 Kaito

Kaito

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 02 July 2014 - 03:40 PM

Tried now anything but still not working D: can anyone help pls all things are working fine just the dumb my pofile not because of this ._. im just gettin crazy id pay for this fix if anyone help D:



#4 sford999

sford999

    Advanced Member

  • Members
  • PipPipPip
  • 116 posts

Posted 03 July 2014 - 12:02 PM

Try this:
 
<span class='ipsType_smaller desc lighter blend_links'><a href='" . $this->registry->getClass('output')->formatUrl( $this->registry->getClass('output')->buildUrl( "app=members&amp;module=profile&amp;section=status&amp;type=single&amp;status_id={$status['status_id']}", "public",'' ), array($status['member_id'], $status['members_seo_name']), "members_status_single" ) . "'>{$this->lang->words['ps_updated']} " . $this->registry->getClass('class_localization')->getDate($status['status_date'],"manual{%d %b}", 0) . " &middot; " . intval($status['status_replies']) . " {$this->lang->words['ps_comments']}</a></span>
You could also rebuild the skin caches from the admin CP which will replace the skin_cache files with new ones. (Also 3.3.4 is out of date when 3.4.6 is the newest version :))

Edited by sford999, 03 July 2014 - 12:06 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com