Icy Phoenix

     
 

How To Solve This Error?

How To Solve This Error?

Article
Reply with quote    Download Post  
Post How To Solve This Error? 
 
Hello,
Most of the time in my site i saw this error...

Parse error: syntax error, unexpected T_STRING in /home/lclubc/public_html/index.php on line 153

after that i replaced my old index.php file..then OK... why this error happened?



 
system - View user's profile Send private message  
system [ Thu 25 Jun, 2009 04:58 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


How To Solve This Error?

Comments
Reply with quote    Download Post  
Post Re: How To Solve This Error? 
 
Have you edited your index.php file...

an unexpected T_STRING error normally means that there is a small code error in the file...

which version of icy are you using...?



 
DWho - View user's profile Send private message  
DWho [ Thu 25 Jun, 2009 10:15 ]
Reply with quote    Download Post  
Post Re: How To Solve This Error? 
 
I use IP 1.2.0.27c version...

No..i'm not changing any code of that file.. but some times when i post some thread & then i saw my sites homepage not working this message shown... and same thing happen on the Admin index page.... /adm/index.php page... is this a bug?

I use 1.2.0.27c version is there anyother newest release?



 
system - View user's profile Send private message  
system [ Thu 25 Jun, 2009 11:54 ]
Reply with quote    Download Post  
Post Re: How To Solve This Error? 
 
I have never seen that error with .27c unless I have changed some code and messed it up...

the latest version of icy can be found here but it is a RC2 version http://www.icyphoenix.com/viewtopic.php?f=1&t=5845

these are mine lines on index.php from 144 to 155 are yours different..

Code: [Download] [Hide]
  1. if ( ($userdata['user_level'] == ADMIN) || ($userdata['user_cms_level'] >= CMS_CONTENT_MANAGER))  
  2. {  
  3.     $cms_acp_url = '<br /><br /><div style="text-align:center;">';  
  4.     $cms_acp_url .= '<a href="' . append_sid('cms.' . $phpEx . '?mode=blocks&amp;l_id=' . $layout) . '">' . $lang['CMS_ACP'] . '</a>';  
  5.     $cms_acp_url .= '</div>';  
  6. }  
  7. else  
  8. {  
  9.     $cms_acp_url = '';  
  10. }  
  11.  
  12. cms_parse_blocks($layout, false, false, ''); 




 
DWho - View user's profile Send private message  
DWho [ Thu 25 Jun, 2009 12:01 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron