2012-12-04, 00:43:36
(This post was last modified: 2012-12-04, 10:49:07 by jason.dixon.email.)
(2012-12-03, 20:40:55)islander Wrote: Found a conflict with this plugin and "p01-contact".
It took a while to narrow it down what was going on here, but finally discovered that it doesnt like "<?php echo $p01contact->parse('(% contact %)'); ?>" that is being used to call the form.
When I try to edit this page, it brings me directly to a broken front-end view with this message: ||#search-items#||{"insert_page_content":[]}||#search-items#||
Hmm... I'll have a look.
Ok quick edit. Still looking into what is causing this, but I have found something that appears wrong with the p01-contact plugin. Seems it's looking for email data that has been moved to a new location for version 3.1 of GS. A temporary bandaid fix for this is the following:
In the file "p01-contact_gs.php" right down at the bottom is this code:
Code:
function admin_email()
{
$data = getXML(GSDATAOTHERPATH . 'user.xml');
return $data->EMAIL;
}
if you delete the line beginning with $data and replace $data->EMAIL with your email in quotes it should fix this. Example:
Code:
function admin_email()
{
return "my_email_address@provider.com";
}
I'll keep checking to see if I can find the problem you're having, but just thought I should point this out.
I might need some more of your code to find the problem. So far the only times I've had an issue like what you describe, is when a function tries to call something that doesn't exist. It may be that the plugin hasn't automatically included a required file.