Jump to content
Sign in to follow this  
241

Pollbooth error

Recommended Posts

Looking for a helping hand. I am having a problem with pollbooth repoting a fatal error:

Fatal error: Call to undefined function: tep_array_merge()

 

The code reads:

 

<?php

$rows = 0;

$configuration_query = tep_db_query("select configuration_id as cfgID, configuration_title as cfgTitle, configuration_value as cfgValue from phesis_poll_config");

while ($configuration = tep_db_fetch_array($configuration_query)) {

$rows++;

if (((!$HTTP_GET_VARS['info']) || (@$HTTP_GET_VARS['info'] == $configuration['cfgID'])) && (!$cfgInfo) && (substr($HTTP_GET_VARS['action'], 0, 3) != 'new')) {

$cfg_extra_query = tep_db_query("select configuration_key as cfgKey, configuration_description as cfgDesc, date_added, last_modified from phesis_poll_config where configuration_id = '" . $configuration['cfgID'] . "'");

$cfg_extra = tep_db_fetch_array($cfg_extra_query);

$cfgInfo_array = tep_array_merge($configuration, $cfg_extra);

$cfgInfo = new objectInfo($cfgInfo_array);

}

 

if ( (is_object($cfgInfo)) && ($configuration['cfgID'] == $cfgInfo->cfgID)) {

echo ' <tr class="dataTableRowSelected" onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . tep_href_link('polls.php', 'info=' . $cfgInfo->cfgID . '&action=edit_config') . '\'">' . "\n";

} else {

echo ' <tr class="dataTableRow" onmouseover="this.className=\'dataTableRowOver\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRow\'" onclick="document.location.href=\'' . tep_href_link('polls.php', 'info=' . $configuration['cfgID']. '&action=config') . '\'">' . "\n";

}

?>

 

Does anyone have a sollution.

 

I have also been reading about problems between link manager and pollbooth.

I am about to be including the link manager.

Does anyone know of problems that may be faced in installing link manager after pollbooth.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

I realise this part needs change but do not know what it needs changing too.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

It is Ok I have worked it out.

I am a newbie to php and osCommerce.

I guess I just need another braincell to rub together with the one I have.


No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×