Jump to content

nicestuff

Members
  • Content count

    18
  • Joined

  • Last visited

  1. HI I'm installing PayPal Website Payments Pro (US/UK) by dynamoeffects v0.9.2 contrib on a RC1 store but can any one tell me if a PayPal PRO web payments account be used on three different stores? I know a standard account can have multiple payment email addresses but not sure about PRO web payments. PayPal help is ...well not helpful rolleyes.gif Just wanted to check first before going to far. Any help appreciated Thanks John
  2. nicestuff

    Dynamic SiteMap

    Problem resolved, my host have removed the open_basdir restriction for me & all ok. Onwards & upwards - next contribution installation here we come! John :lol: :lol: :lol:
  3. nicestuff

    Dynamic SiteMap

    Thanks for your reply Jack, As suggested, tried that but no change, from searches it looks like my shared server has safe mode switched on. I'll visit my host & see what they have to say John
  4. nicestuff

    Dynamic SiteMap

    After installing Dynamic Sitemap v2, everything seems to perform as it should do but I have the following error at the top of sitemap page:- "Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(..) is not within the allowed path(s): (/home/rdlsafet/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/rdlsafet/public_html/includes/modules/dynamic_sitemap.php on line 114" Code at line 114 reads: if((! is_dir($file) && substr($file, -4, 4) === ".php") && !in_array($file ,$excluded_array))//only look at php files and skip that are excluded { $engFile = DIR_WS_LANGUAGES . $language . '/' . $file; if (file_exists($engFile) && IsViewable($file)) { From searching the forum this seems to be a problem caused by sitemap trying to access a /tmp directory that I don't have access to. Can I direct it to another directory that I do have access to e.g /home/rdlsafet/public_html/newdir? And how to do? Be gentle with me, php 5/10, server controls 3/10 but on a steep learning curve! :blink: thanks John
  5. Hi, Ive installed dynamic sitemap v2.0 into a new install and have a couple of problems. All seems to work & display as expected except for two error messages. When sitemap is displayed in my store the error message "Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(..) is not within the allowed path(s): (/home/rdlsafet/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/rdlsafet/public_html/includes/modules/dynamic_sitemap.php on line 114" shows. Also in the Admin area for sitemap the right hand side (exclude / include catalog boxes shows this error: Catchable fatal error: Object of class box could not be converted to string in /home/rdlsafet/public_html/admin/includes/functions/html_output.php on line 281 When I comment out line 281 (below) if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); all displays as should be. // Output a form hidden field //// // Output a form pull down menu function tep_draw_pull_down_menu($name, $values, $default = '', $parameters = '', $required = false) { $field = '<select name="' . tep_output_string($name) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if (empty($default) && isset($GLOBALS[$name])) $default = stripslashes($GLOBALS[$name]); for ($i=0, $n=sizeof($values); $i<$n; $i++) { $field .= '<option value="' . tep_output_string($values[$i]['id']) . '"'; if ($default == $values[$i]['id']) { $field .= ' SELECTED'; } $field .= '>' . tep_output_string($values[$i]['text'], array('"' => '"', '\'' => ''', '<' => '<', '>' => '>')) . '</option>'; } $field .= '</select>'; if ($required == true) $field .= TEXT_FIELD_REQUIRED; return $field; } ?> Has anyone any suggestions on ither one?, sorry about long post but PHP virgin here & want to get it right! :'(
×