Hi
I have a very strange issue... after user enters name and password and logs in the page appears by has this error at the top
Warning: file(/var/www/html/templates/account/menumap_buyer_buyer_buyer_buyer_buyer_buyer_buyer_ buyer_buyer_buyer_buyer_seller_profitshare_profits hare_profitshare_profitshare.html): failed to open stream: No such file or directory in /var/www/html/includes/functions.inc.php on line 33
The correct file name is
menumap_buyer_seller_profitshare.html
and it does have this name and is in the correct folder... so why is it being called with a much longer name ?
<?php
01 // Functions include file
02 // Set variable so PHPBB functions work
03 define('IN_PHPBB', true);
04 // Includes
05 $phpbb_root_path = '/var/www/html/';
06 include_once('/var/www/html/extension.inc');
07 include_once('/var/www/html/common.php');
08 require_once('/var/www/html/includes/classes.inc.php');
09 //
10 // Start session management
11 //
12 $userdata = session_pagestart($user_ip, PAGE_INDEX);
13 init_userprefs($userdata);
14 $script_name = preg_replace('/^\/?(.*?)\/?$/', '\1',
15 trim($board_config['script_path']));
16 $script_name = ( $script_name != '' ) ? $script_name . '/profile.'.$phpEx :
17 'profile.'.$phpEx;
18 $server_name = trim($board_config['server_name']);
19 $server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' :
20 'http://';
21 $server_port = ( $board_config['server_port'] <> 80 ) ? ':' .
22 trim($board_config['server_port']) . '/' : '/';
23 $server_url = $server_protocol . $server_name . $server_port . $script_name;
24 /
25 // End session management
26 //
27 // Set $User variable with the User object for the logged in user.
28 $User = new User($userdata['user_id']);
29 // Generate location drop down used on several pages
30 $output_array['location_dropdown'] = '<SELECT NAME="user_location">';
31 $query = $db->sql_query("SELECT * FROM locations WHERE location_active = 1");
32 while ($result = $db->sql_fetchrow($query))
33 {
34 $output_array['location_dropdown'] .= '<OPTION
35 VALUE="'.$result['location_id'].'">'.$result['location_name'].'</OPTION>';
36 }
37 $output_array['location_dropdown'] .= "</SELECT>";
38 // Do member box login routine used on all pages
39 if ($User->logged_in())
40 {
Can anybody help or suggest a fix... I ahve never seen anything like this before... also the correct file name seems too long too... but I did not make this file... it was a previous developer... I cannot download the file as the name
menumap_buyer_seller_profitshare.html
is too long... hope somebody can offer a suggestion
Thanks in advance.
Jolac