Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

errors about includes


freebird1963

Recommended Posts

Hello,

I searched but not sure why this is happening. I figure being unix challenged I edited something wrong but not sure what exactly.

I changed the line:

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT . '/home/www/htdocs/admin')

 

and that seems to be the reason but were is it picking up the /usr/local/ from ??

 

Warning: Failed opening '/usr/local/www/htdocs//home/www/htdocs/admin/catalog/includes/data/rates.php' for inclusion (include_path='.:/usr:/include:/home/www/htdocs/phpopenchat/includes') in /home/www/htdocs/admin/includes/include_once.php on line 4

 

Warning: Cannot add header information - headers already sent by (output started at /home/www/htdocs/admin/includes/include_once.php:4) in /home/www/htdocs/admin/configuration.php on line 6

Link to comment
Share on other sites

I think I fixed this.

In the admin application_top.php for document root I had put /home/www/htdocs/ and I changed it to / and no more errors.

 

However I still haev issues with the includes for the catalog part

 

Parse error: parse error in /home/www/htdocs/catalog/includes/application_top.php on line 91

 

Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr:/include:/home/www/htdocs/phpopenchat/includes') in /home/www/htdocs/catalog/default.php on line 21

 

Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr:/include:/home/www/htdocs/phpopenchat/includes') in /home/www/htdocs/catalog/default.php on line 30

 

Warning: Failed opening 'DIR_WS_INCLUDESinclude_once.php' for inclusion (include_path='.:/usr:/include:/home/www/htdocs/phpopenchat/includes') in /home/www/htdocs/catalog/default.php on line 40

 

FONT_STYLE_TOP_BAR TOP_BAR_TITLE

 

FONT_STYLE_HEADING HEADING_TITLE

Fatal error: Call to undefined function: tep_image() in /home/www/htdocs/catalog/default.php on line 328

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...