 | |  |
 |

del
User
Oct 26, 2006, 4:59 PM
Post #1 of 5
(355 views)
Shortcut
|
|
AM2 Errors after upgrade
|
Can't Post
|
|
I have upgraded AM 1.41 successfully to AM2 however I am getting errors displayed on my Front Page. Warning: main (/home/au12345/www/artman2/publish//include_categoryBreadcrumb.php) [function.main]: failed to open stream: No such file or directory in /home/au12345/public_html/artman2/publish/index.php on line 43 This error appears 3 times where the text "Front Page" should appear to the left of the last updated date. Checking the template the code in question is: <table border=0 cellspacing=0 cellpadding=0 width=100%> <tr> <td><span class="header_breadcrumb"><?php include('$published.categoryBreadcrumb.filepath$'); ?></span></td> <td align="right"><span class="general_text">Last Updated: </span><span class="global_updated">$_lastUpdated$</span></td> </tr> </table> The published code is: <table border=0 cellspacing=0 cellpadding=0 width=100%> <tr> <td><span class="header_breadcrumb"><?php include('/home/au12345/www/artman2/publish//include_categoryBreadcrumb.php'); ?></span></td> <td align="right"><span class="general_text">Last Updated: </span><span class="global_updated">Oct 26, 2006 - 3:05:06 AM</span></td> </tr> </table> The problem appears to be that the file "include_categoryBreadcrumb.php" does not exist under the publish directory. Any ideas what is going on and what, if anything, I should do. Could you also tell me how to only display 1 level of categories in the left hand menu with AM2. With version 1.41 this was straight forward. I have tried change the publishing rules for category menus but that did not seem to do anything. Thanks.
|
|
|  |
 |

Dave
Staff
/ Moderator

Oct 26, 2006, 8:14 PM
Post #2 of 5
(350 views)
Shortcut
|
|
Re: [del] AM2 Errors after upgrade
[In reply to]
|
Can't Post
|
|
Have you hit the "Publish All" button since upgrading or changing your category menu format? If not, try that first, you can find it here: Admin > Publishing > Publish All If that doesn't do the trick let me know and we'll figure it out. Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

del
User
Oct 26, 2006, 9:45 PM
Post #3 of 5
(345 views)
Shortcut
|
|
Re: [Dave] AM2 Errors after upgrade
[In reply to]
|
Can't Post
|
|
Have hit "Publish all" a few times. The file not found error only happens on the Front Page. Article pages do not have a problem. Displaying one level of categories is now working. Just takes a bit of time to work out where the options are in the publish rules. Used "Global Menu" for the front page categories and "Category Menu" for the list on article pages. Just need to work out why the error is appearing on the Front Page.
|
|
|  |
 |

Theo
Project Manager
/ Moderator

Oct 26, 2006, 10:32 PM
Post #4 of 5
(340 views)
Shortcut
|
|
Re: [del] AM2 Errors after upgrade
[In reply to]
|
Can't Post
|
|
In the template articleLists/globalIndex.html, remove this code: <?php include('$published.categoryBreadcrumb.filepath$'); ?> And replace it with: $my.homepageName$ I think that will do it for you, let us know if you need any further assistance. :) Theo Wiersma Project Manager
|
|
|  |
 |

del
User
Oct 28, 2006, 5:34 PM
Post #5 of 5
(310 views)
Shortcut
|
|
Re: [Theo] AM2 Errors after upgrade
[In reply to]
|
Can't Post
|
|
That fixed it. Thanks.
|
|
|  |
|