Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hello everyone. I am more of a designer than I am a programmer. Can anybody give me a simple explanation of what these warnings are / why I might be getting these errors:

 

Warning: main(/home/carvalho/public_html/ecommerce/catalog/includes/languages/english/modules/payment/new_products.php): failed to open stream: No such file or directory in /home/carvalho/public_html/ecommerce/catalog/admin/modules.php on line 128

Warning: main(/home/carvalho/public_html/ecommerce/catalog/includes/languages/english/modules/payment/new_products.php): failed to open stream: No such file or directory in /home/carvalho/public_html/ecommerce/catalog/admin/modules.php on line 128

Warning: main(): Failed opening '/home/carvalho/public_html/ecommerce/catalog/includes/languages/english/modules/payment/new_products.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/carvalho/public_html/ecommerce/catalog/admin/modules.php on line 128

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/carvalho/public_html/ecommerce/catalog/includes/modules/payment/new_products.php on line 33

 

I am able to see the shipping and order total modules ok, but the shipping page gives me the error above. I can deduce that it is new_products.php on line 33. Is this correct - not sure what it is saying.

 

Thanks in advance

Posted

Here is line 31,32,33,34

 

 $info_box_contents[$row][$col] = array('align' => 'center',
                                          'params' => 'class="smallText" width="33%" valign="top"',
                                          'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br><span class=\'whiteOut\'>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])'</span>'));
   $col ++;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...