Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Small Plugin Toolkit.
#7
(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. Smile

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. Smile

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.
Reply


Messages In This Thread
Small Plugin Toolkit. - by jason.dixon.email - 2012-11-05, 12:25:08
RE: Small Plugin Toolkit. - by shawn_a - 2012-11-06, 01:29:28
RE: Small Plugin Toolkit. - by jason.dixon.email - 2012-11-06, 02:39:03
RE: Small Plugin Toolkit. - by shawn_a - 2012-11-26, 04:45:16
RE: Small Plugin Toolkit. - by jason.dixon.email - 2012-11-26, 21:12:42
RE: Small Plugin Toolkit. - by islander - 2012-12-03, 20:40:55
RE: Small Plugin Toolkit. - by jason.dixon.email - 2012-12-04, 00:43:36
RE: Small Plugin Toolkit. - by jason.dixon.email - 2012-12-07, 01:07:53
RE: Small Plugin Toolkit. - by thisnthat - 2013-11-14, 10:06:39
RE: Small Plugin Toolkit. - by jason.dixon.email - 2013-11-14, 15:15:46
RE: Small Plugin Toolkit. - by thisnthat - 2013-11-14, 16:23:07
RE: Small Plugin Toolkit. - by jason.dixon.email - 2013-11-15, 03:07:04
RE: Small Plugin Toolkit. - by thisnthat - 2013-11-15, 09:35:53
RE: Small Plugin Toolkit. - by jason.dixon.email - 2013-11-15, 10:08:35



Users browsing this thread: 1 Guest(s)