1.7rc3 contactform on subfolders

Found a bug? Tell us!!
Post Reply
ndee
Regular
Posts: 7
Joined: Thu May 28, 2009 4:48 pm

1.7rc3 contactform on subfolders

Post 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
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: 1.7rc3 contactform on subfolders

Post 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?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: 1.7rc3 contactform on subfolders

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply