Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

WARNING ALERT! HELP!!!


Recommended Posts

I get this warning after i installed this Master Product contribution:

 

Warning: main(includes/modules/FILENAME_MASTER_PRODUCTS): failed to open stream: No such file or directory in /home2/colotcom/public_html/colorama/product_info.php on line 255

 

Warning: main(includes/modules/FILENAME_MASTER_PRODUCTS): failed to open stream: No such file or directory in /home2/colotcom/public_html/colorama/product_info.php on line 255

 

Warning: main(): Failed opening 'includes/modules/FILENAME_MASTER_PRODUCTS' for inclusion (include_path='.:/usr/lib/php/:/usr/local/lib/php/') in /home2/colotcom/public_html/colorama/product_info.php on line 255

 

It appears in the store section under the master product item desription.

 

It would be great if someone can help me with this.

 

sdhiphop

Edited by sdhiphop
Link to comment
Share on other sites

i forgot to put in whut is at the line it's asking for if this helps any

 

at line 255 is:

 

$master_query = tep_db_query("select products_id from " . TABLE_PRODUCTS . " where products_master =  '" . (int)$HTTP_GET_VARS['products_id'] . " '");
$results = tep_db_fetch_array($master_query);
if (($results['products_id'] != null) && ($product_info['products_master_status'] == 1)) { ?>

  <tr>
   <td align="left" class="main"> <?php echo TEXT_SLAVE_PRODUCTS; ?></td>
  </tr>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr> 
  <tr>
   
<td><?php  include(DIR_WS_MODULES . FILENAME_MASTER_PRODUCTS); ?></td>
  </tr>

Link to comment
Share on other sites

this error:

Warning: main(includes/modules/FILENAME_MASTER_PRODUCTS): failed

means you did not update filenames.php with the file definition according to the instructions

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...