EllisLab text mark
Advanced Search
     
To much PHP Errors
Posted: 18 June 2012 06:53 AM   [ Ignore ]
Joined: 2012-05-25
24 posts

Hy there,


My first experience with EE bloked me at the begining.  We set up the MSM and now i cant log in CP, i install the demo version, in order to get familiar with the EE< i try to follow the steps from “building a small business website” book, i wanted after that to add a new page, i obtain a php error.

I also have php errors on adding category pictures. I have also problems when i want to shown up the “weblog page”..to much errors and i dont knpw from where to start. I dont know PHP and i dont understand why those problems appear if i dont made any change in php.
Please help me!

 
Posted: 19 June 2012 12:24 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello DanielaIrina,

I am sorry to hear you are running into these PHP errors.

Did you install with the Agile Records demo? That is great for learning but you may want to install a fresh new copy of ExpressionEngine. It’s cleaner and it’s going to give you a clean slate. What version of ExpressionEngine are you currently running and what version of MSM are you running?

The PHP errors are thrown because ExpressionEngine is written in PHP and so when there is something wrong, PHP is going to call those errors out to help us debug the issue.

Can you show me these PHP errors? If I see the errors I will better be able to help you.

Thank you,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 20 June 2012 03:35 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2012-05-25
24 posts

Hy Shane,

Thank you for your response.

I use the EE ExpressionEngine v2.5.2 - Build Date: 20120606 - © Copyright 2003 - 2012 EllisLab, Inc. version, with the EE_MultiSiteManager_2.1.2_5_sites version for MSM.

It is kind of wired becouse when i add a new page, different from those who are in the book, it is ok, but when i add contact page, with all the requierments i get this error:

Parse error: syntax error, unexpected T_ENDIF in C:\xampp\htdocs\demo\system\expressionengine\libraries\Functions.php(680) : eval()‘d code on line 73


and for the weblog page i have one error to:
Parse error: syntax error, unexpected T_ENDIF in C:\xampp\htdocs\demo\system\expressionengine\libraries\Functions.php(680) : eval()‘d code on line 142.

 
Posted: 20 June 2012 03:24 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hello DanielaIrina,

Can you show me the template code for the page that is throwing these errors?

Thank you,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 21 June 2012 02:23 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2012-05-25
24 posts

Hy Shane,


Here is the code for “weblog” page:

{embed="embeds/html_header" my_page_title="Weblog"}
 {embed
="embeds/page_header" the_url_title="weblog" my_location="weblog"}
 
<div id="maincontent">
  <
div id="right_side">
   
{snp_weblog_categories}
   {snp_latest_products}
{snp_weblog_archives}
  
</div>
  <
div id="left_side">
   
{if segment_2 !="category" AND segment_3 !=""}
    {exp
:channel:entries channel="weblog" limit="1" disable="custom_fields|member_data|pagination|categories"}
     {date_heading display
="monthly"}
      
<h3>Archives from {entry_date format="%F %Y"}</h3>
     
{/date_heading}
    {
/exp:channel:entries}
   {
/if}

   {exp
:channel:category_heading channel="weblog"}
    
<h3>Category:&nbsp;{category_name}</h3>
    
{if category_description !=""}
     
<p>{category_description}</p>
    
{/if}
    
<div class="horizontal_rule"></div>
   
{/exp:channel:category_heading}

   {exp
:channel:entries channel="weblog" orderby="date" sort="desc" limit="4" pagination="bottom"}
    
<div class="entry">
     <
h3><a href="{url_title_path='weblog/comments'}">{title}</a></h3>
     
{summary}
     {if full_entry 
!=""}
      
<p><a href="{url_title_path='weblog/comments'}">Read More...</a></p>
     
{/if}

     
<div class="posted">
      
Posted by {author} on {entry_date format='%m/%d'} at {entry_date format='%h:%i %A'} in
      {categories}
       
<a href="{path='weblog'}">{category_name}</a> &#8226;
      
{/categories}

      {if allow_comments}
       
({comment_total}) <a href="{url_title_path='weblog/comments'}#comments">Comments</a> &#8226;
      
{/if}
      
<a href="{url_title_path='weblog/comments'}">Permalink</a>
     </
div>
    
     
{paginate}
      
<div class="paginate">
       <
span class="pagecount">Page {current_page} of {total_pages} pages</span>  {pagination_links}
      
</div>
     
{/paginate}
    
</div>
   
{/exp:channel:entries}
  
</div>
 </
div>
{snp_footer}

Thank you for helping me!

 
Posted: 21 June 2012 04:54 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey DanielaIrina,

I think it’s time to login and take a look.

Please be on the lookout for an email from EllisLab.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade

 
Posted: 22 June 2012 03:55 AM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Joined: 2012-05-25
24 posts

Hy Shane,


Thank you for your email. As i say in the post, now im working on a local server, with a demo version of Expresion Engine. I hope all the thing would be good when we install the licensed version.

Thank you!

 
Posted: 25 June 2012 10:21 AM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2011-11-25
7174 posts

Hey DanielaIrina,

I understand. Please open a new thread if you need any help once you have a live version installed.

Cheers,

 Signature 

Recent version: EE 2.5.4 | Forum Module 3.1.10 | MSM 2.1.4 | 2.x Bug Tracker | Version Upgrade