Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Errors keep appearing


vbtrev

Recommended Posts

Can anyone help, when i am in the admin section i keep getting these errors every now and then, if i shut the browser and log back in its ok, that was fine but today a customer said that it has happened to them a few times.

 

Warning: main(includes/languages/srue): failed to open stream: No such file or directory in /home/xxx/xxxx/xxxx/includes/application_top.php on line 130 Warning: main(includes/languages/srue): failed to open stream: No such file or directory in /home/xxx/xxxx/xxxx//includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/srue' (include_path='.:/usr/share/pear') in /home/xxxx/xxxx/xxxx/includes/application_top.php on line 130

 

this is what is in application_top.php lines 127 to 140

 

127

128 // some code to solve compatibility issues

129 require(DIR_WS_FUNCTIONS . 'compatibility.php');

130

131 // check if sessions are supported, otherwise use the php3 compatible session 132 class

133 if (!function_exists('session_start')) {

134 define('PHP_SESSION_NAME', 'osCsid');

135 define('PHP_SESSION_PATH', $cookie_path);

136 define('PHP_SESSION_DOMAIN', $cookie_domain);

136 define('PHP_SESSION_SAVE_PATH', SESSION_WRITE_DIRECTORY);

137

138 include(DIR_WS_CLASSES . 'sessions.php');

139 }

140

 

 

Many thanks for your help.

Link to comment
Share on other sites

Warning: main(includes/languages/srue): failed to open stream: No such file or directory in /home/xxx/xxxx/xxxx/includes/application_top.php on line 130 Warning: main(includes/languages/srue): failed to open stream: No such file or directory in /home/xxx/xxxx/xxxx//includes/application_top.php on line 130 Fatal error: main(): Failed opening required 'includes/languages/srue' (include_path='.:/usr/share/pear') in /home/xxxx/xxxx/xxxx/includes/application_top.php on line 130

 

 

 

What that mean is that you are trying to call a file name "srue" but that file dose not exist.

at the end of the day the code will be good

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...