Page 1 of 1

1.7rc3 contactform on subfolders

Posted: Fri Mar 08, 2013 4:41 pm
by ndee
Hi, I have installed a master s9y install in document root and a second installation on a subfolder called /bewerber/ ... on s9y 1.5 the custom contact form worked on main site and subfolder.

Now with 1.7rc3 it works on main site but not on subfolder anymore. I keep getting this error

Code: Select all

Fatal error: Uncaught exception 'ErrorException' with message 'Serendipity error: array_merge(): Argument #2 is not an array' in /var/customers/webs/devbox/xxx/bewerber/include/compat.inc.php:118 Stack trace: #0 [internal function]: errorToExceptionHandler(2, 'array_merge(): ...', '/var/customers/...', 75, Array) #1 /var/customers/webs/devbox/xxx/bewerber/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(75): array_merge(Array, NULL) #2 /var/customers/webs/devbox/xxx/bewerber/plugins/serendipity_event_contactform/serendipity_event_contactform.php(444): Smarty_Internal_TemplateBase->fetch('file:/var/custo...', NULL, NULL, false) #3 /var/customers/webs/devbox/xxx/bewerber/plugins/serendipity_event_contactform/serendipity_event_contactform.php(520): serendipity_event_contactform->show() #4 /var/customers/webs/devbox/xxx/bewerber/include/plugin_api.inc.php(1073): serendipity_event_contactform->event_hook('entries_header', Object(serendipity_property_bag), Array, '') #5 /var/customers/webs/devbox/x in /var/customers/webs/devbox/xxx/bewerber/include/compat.inc.php on line 118
Any idea? Also tried the standard contactform, same issue.

Thanks

Re: 1.7rc3 contactform on subfolders

Posted: Fri Mar 08, 2013 6:09 pm
by Timbalu
Do you use plugin_dynamicform.tpl or dynamic_fields_tpl with contactform plugin?
It sounds like if $tpl_vars is not an array. Does the necessary tpl file exist? You might go and debug the $serendipity['smarty'] object, to see if there is a template file with assigned vars. (Or use {debug} to see the assigned vars.)
Do you have correct path settings in both installations?
While trying standard contactform, did you erase the templates_c/compile file before?

Re: 1.7rc3 contactform on subfolders

Posted: Tue Mar 12, 2013 5:20 pm
by garvinhicking
Installing s9y inside of another s9y is not a recommended form of installation, you should avoid this. It can lead to all sorts of problems...


Regards,
Garvin