Hi rgavina,

In which table is campaign_page_id, and what is going to happen if no
Campaign is found for a Page?
Probably in this case no Campaign was found matching the/a requested
Page.

Why not
set DEBUG to 2 in /app/config/core.php
 put pr ($output); at the end of your loop

You may see an error (logic or syntax), in the sql which you can
correct (in the table at the bottom of every page), or immediately
after the text "Undefined index: campaign_page_id" on your page will be
the result(s) that was(were) causing a problem. From there it should be
real easy to see what the solution is.

HTH,

AD7six


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to