Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

All files with the same error


MatthewMan

Recommended Posts

Posted

People i tried to install oscommerce so i can edit it on my local machine...it's a winxp and this error popped up

 

Warning: Failed opening 'includes/include_once.php' for inclusion (include_path='c:php4pear') in c:testtep_catalog-pr2.1catalogincludesapplication_top.php on line 163

 

Fatal error: Call to undefined function: tep_db_connect() in c:testtep_catalog-pr2.1catalogincludesapplication_top.php on line 166

 

how can i fix it ?

Posted

hi Matthew,

i think that the problem is that the file which contain the include of aplication_top.php was unable to locate it on your machine.This could be because the include path is not correct , if i'm not mistaken i think the include path is defined in the configure.php file found in the includes directory. In the configure.php file you should fine a number of pre-defined variables that you must change so as to configure the shop on your machine

 

you just have to give the correct parameters and that should work.

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

 

vinay

UpToTen Toyshop

Posted

i have version 2.1 and i know there's supposed to be a 'includes/local/configure.php'' file but there isn't ... how do i create this ?

 

Matthew

Posted

I somewhat managed to fix it but now an even worse error appeared in every page... at the top this error message showed up

 

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in c:homecatalogincludesfunctionssessions.php on line 4

 

and at the bootom of each page this error message showed up

 

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

 

Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

 

 

Also i tried to create an account and this is the hole list of errors it displayed when i clicked DONE

 

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in c:homecatalogincludesfunctionssessions.php on line 4

 

Warning: Failed to Connect in c:homecatalogcreate_account_process.php on line 418

 

Warning: Cannot add header information - headers already sent by (output started at c:homecatalogincludesfunctionssessions.php:4) in c:homecatalogcreate_account_process.php on line 429

 

Warning: open(/tmpsess_48dca4d1c3a6cc7e89b29612be32b7c5, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

 

Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

 

Any help please ?

 

Matthew

Posted

Actually i work with the v2.2 so i don't rely know much about the v2.1 but i think that if the config file does not exist then try to look for the variables in application_top.php to input you parameters

 

 

vinay

UpToTen Toyshop

Posted

Actually i work with the v2.2 so i don't rely know much about the v2.1 but i think that if the config file does not exist then try to look for the variables in application_top.php to input you parameters

 

 

vinay

UpToTen Toyshop

  • 1 month later...
Posted

I am getting this same error on all of my pages as well...

 

running on localhost with XP Pro, IIS 5.1, PHP 4.2.3, MySQL 3.23.53...

 

running osCommerce 2.2 latest snapshot

 

I have the includes set up right to point to "C:/Inetpub/wwwroot/admin" for the root directory, but for some reason PHP keeps returning "c:php4pear" as the root directory...

 

this is the error message I always get:

Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;c:php4pear') in c:inetpubwwwrootadminincludesapplication_top.php on line 199

 

Please help Fatal error: Failed opening required 'includes/languages/.php' (include_path='.;c:php4pear') in c:inetpubwwwrootadminincludesapplication_top.php on line 199

 

has anyone found the fix for this?

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Archived

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

×
×
  • Create New...