Quote Originally Posted by enzo-ita View Post
Hi,
Im getting an error that appears when adding or modifying a product.
The message is PHP Warning: constant() [<a href='function.constant'>function.constant</a>]: Couldn't find constant FILENAME_TELL_A_FRIEND in /public_html/admin/includes/classes/class.CeonURIMappingAdminProductPages.php on line 788 (i have changed the admin folder name for this post)
I can not find any reference to FILENAME_TELL_A_FRIEND
If someone could be of hlep, please do it.
ciao from Italy
Around line 677 of the same file, $page_types is defined as an array that includes tell_a_friend. At about line 684, the various page_types are reviewed one by one to create a new array that includes each page_type that is to be considered for auto management. If not mistaken the management options are in one of the confiiguration screens for this plugin. At the line in question a constant is created from each page type to manage that capitalizes the previous page_types array value(s) that areto be managed. The complete absence of a declared FILENAME_TELL_A_FRIEND, further indicates that this page type should be excluded, or that you are missing a filename define. I thought that ZC 1.5.x removed the tell a friend option/capability, so technically again, this option should be disabled.

Modules->Ceon URI Mapping (SEO) Config, then the Auto-managed ProductPage URIs tab.