How To Solve This Error?


Subject: 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?

Profile PM  
Subject: 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...?

Subject: 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?

Profile PM  
Subject: Re: How To Solve This Error?
I have never seen that error with .27c unless I have changed some code and messed it up... :LOL:

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, ''); 


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.9634s (PHP: 2% SQL: 98%)
SQL queries: 15 - Debug Off - GZIP Enabled