Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Variables not being replaced with the file names


Guest

Recommended Posts

Ok, so I totally messed up my store today and I was wondeirng what files effect how the variables are displayed in the browser.

 

I am not sure if this explination makes sense, but here is the error I cam getting:

 

Warning: main(includes/modules/FILENAME_UPCOMING_PRODUCTS) [function.main]: failed to open stream: No such file or directory in /home/mysite.com/public_html/catalog/index.php on line 380

 

Warning: main() [function.include]: Failed opening 'includes/modules/FILENAME_UPCOMING_PRODUCTS' for inclusion (include_path='.:/usr/local/lib/php') in /home/mysite.com/public_html/catalog/index.php on line 380

 

So usually, there is an actual web page where it says "[function.include]" and where it says 'includes/modules/FILENAME_UPCOMING_PRODUCTS'. I am also pretty sure that the include_path is wrong.

 

Anywya, i am at a loss of how this happened. I was adding the latest version Seperate Pricing for Seperate People contribution as well as QT Pro and I may have messed up a file. Anyway, thanks for any help you may be able to offer. I am just trying to figure out how this happened. I have a backup of my files, but I wanted to know how I can fix this in case I do it again.

 

Thanks so much for your time!

Link to comment
Share on other sites

look at line 380 at see what program it is reffering to.I have too many changes in my index to tell you.

 

Thanks for getting back to me so quickly! That particular line is:

 

include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS)

 

I am getting that error anywhere that DIR_WS_MODULES is located. So I also get an error on 377 for the following code:

 

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS)

 

It just seems like my site is not replacing those variables with the file names that the go with. I have checked my configure.php files and it is correct, and all my paths appear correct.

 

Anyway, thanks so much for your help and have a great day!

 

Peter

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...