Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

helping a friend, now i need help


pandrews

Recommended Posts

Posted

Hi, I'm trying to help a friend with his website, and someone made him a custom "show calendar" page to inform visitors about upcoming trade shows he will be attending..

 

so anyway, it got screwed up somehow.. im not exactly sure how, or even what the original error was.. but i told him i'd try to help.. i have his show_calendar.php in the root folder for the shop, and a show_calendar.php in the includes/languages/english folder..

 

here is the page i'm getting an error on: http://www.oldvintagepostcards.com/vintage...ow_calendar.php

 

the error says

"Warning: main(includes/languages/english/FILENAME_SHOW_CALENDAR) [function.main]: failed to open stream: No such file or directory in /homepages/9/d171938934/htdocs/oldvintagepostcards/vintage_postcards/show_calendar.php on line 15

 

Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_SHOW_CALENDAR' (include_path='.:/usr/lib/php') in /homepages/9/d171938934/htdocs/oldvintagepostcards/vintage_postcards/show_calendar.php on line 15"

 

line 15 says this:

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHOW_CALENDAR);

 

any help is appreciated!

Posted

hi

 

you need this

 

define('FILENAME_SHOW_CALENDAR', '?????.php');

 

in

includes/filenames.php

 

just before the ?>

Posted

yeah ive got a show_calendar.php file uploaded to the includes/languages/english directory and also in the root directory..

Posted
hi

 

you need this

 

define('FILENAME_SHOW_CALENDAR', '?????.php');

 

in

includes/filenames.php

 

just before the ?>

 

thank you! I tried that and it seems to work.

 

thanks again!

Posted

Hi

 

Good to see its working.

 

p.s why have you got the google adds set up for postcards when you are selling postcards!

this has always got me?

Posted
Hi

 

Good to see its working.

 

p.s why have you got the google adds set up for postcards when you are selling postcards!

this has always got me?

 

 

good question.. i guess its at the bottom of the page as a last-ditch effort to create revenue if the visitor doesn't buy a postcard? i agree it probably shouldnt be there -- will send buyers to competitor sites..

 

the postcard site is new, still have a lot of inventory to load..

Archived

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

×
×
  • Create New...